
.contact-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.contact-header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 40px;
    text-align: center;
}

    .contact-header h1 {
        font-size: 1.75rem;
        font-weight: 700;
        margin: 0 0 8px 0;
    }

    .contact-header p {
        font-size: 1rem;
        margin: 0;
        opacity: 0.95;
    }

.contact-body {
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

    .form-label i {
        color: #0066ff;
        font-size: 0.85rem;
    }

.form-control, .form-select {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: all 0.2s;
    background: #fafafa;
}

    .form-control:focus, .form-select:focus {
        border-color: #0066ff;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        background: white;
        outline: none;
    }

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    cursor: pointer;
}

    .btn-submit:hover:not(:disabled) {
        color: lightskyblue;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }

    .btn-submit:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

.alert-custom {
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 24px;
    display: none;
    animation: slideDown 0.3s ease;
    border: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: #10b981;
    color: white;
}

.alert-danger {
    background: #ef4444;
    color: white;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.character-count {
    font-size: 0.8rem;
    color: #9ca3af;
    text-align: right;
    margin-top: 4px;
}

.required-indicator {
    color: #ef4444;
    margin-left: 2px;
}


.consulta-card-header {
    padding: 22px 24px;
    background: linear-gradient(135deg, #f1f1f1, #e6e6e6);
    color: #000;
}

    .consulta-card-header h4 {
        margin: 0;
        font-size: 1.2rem;
        font-weight: 700;
    }

    .consulta-card-header p {
        margin: 6px 0 0;
        opacity: .92;
        font-size: 14px;
    }
.consulta-card-header {
    padding: 18px 20px;
}