@charset "utf-8";
/* CSS Document */
/**
 * assets/css/contact.css
 *
 * Styles for alerts and spinner fallback when Bootstrap is not present.
 * Include this file (or its contents) in your page head:
 * <link rel="stylesheet" href="/assets/css/contact.css">
 */

#form-messages {
    margin-bottom: 1rem;
}

/* Simple alert styles (fallback) */
.custom-alert {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    animation: fadeIn .18s ease-in;
}

.custom-alert .alert-text {
    flex: 1;
    margin-right: 0.5rem;
    color: #111827;
}

.custom-alert .close-alert {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    color: inherit;
}

.custom-alert-success {
    background-color: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #064e3b;
}

.custom-alert-danger {
    background-color: #fff1f2;
    border: 1px solid #fecaca;
    color: #7f1d1d;
}

.custom-alert-info {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
}

/* Spinner fallback */
.btn-spinner { display: inline-flex; align-items: center; margin-right: 0.5rem; }
.spinner-border-fallback {
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    border: 2px solid rgba(0,0,0,0.15);
    border-right-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    animation: spin .8s linear infinite;
    margin-right: 0.5rem;
}

/* Button disabled visual */
button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Small animations */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

