/* Page styles for resources/views/pages/contact.blade.php (moved out of the view for CSP: style-src 'self'). */

.is-invalid {
        border-color: #dc3545 !important;
    }
    .error-message {
        font-size: 0.875rem;
        margin-top: 0.25rem;
        display: block;
    }
    .d-none {
        display: none !important;
    }
    .d-block {
        display: block !important;
    }
    #contact-form {
        position: relative;
    }

    .alert-fixed {
        position: fixed;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        width: 90%;
        max-width: 500px;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            transform: translate(-50%, -100%);
            opacity: 0;
        }
        to {
            transform: translate(-50%, 0);
            opacity: 1;
        }
    }

    .is-invalid {
        border-color: #dc3545 !important;
    }
    .error-message {
        font-size: 0.875rem;
        margin-top: 0.25rem;
        display: block;
    }
    .d-none {
        display: none !important;
    }
    .d-block {
        display: block !important;
    }

    /* For the existing alerts at top of form */
    #contact-form > .alert {
        margin-bottom: 20px;
        border-radius: 5px;
    }

/* ---- toast stack (was inline) ---- */

.toast-container--top {
    z-index: 9999;
}
