:root {
    --primary-color: #1a365d;
    --primary-hover: #102a43;
    --accent-color: #2b6cb0;
    --success-color: #22543d;
    --success-bg: #c6f6d5;
    --bg-light: #f7fafc;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

body {
    background-color: var(--bg-light);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #2d3748;
    min-height: 100vh;
}

.main-container {
    max-width: 760px;
    margin: 40px auto;
    padding: 0 16px;
}

.form-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.header-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: #ffffff;
    padding: 35px 24px;
    text-align: center;
}

.header-banner h1 {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.schedule-badge-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    margin-top: 20px;
    text-align: left;
}

.schedule-badge {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
}

.schedule-badge strong {
    display: block;
    color: #feebc8;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    border-left: 4px solid var(--accent-color);
    padding-left: 10px;
    margin-bottom: 20px;
    margin-top: 28px;
}

.form-label {
    font-weight: 600;
    font-size: 0.92rem;
    color: #4a5568;
}

.form-control, .form-select {
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 1rem;
    border: 1.5px solid #cbd5e0;
    transition: all 0.2s ease-in-out;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.25);
}

.form-check-custom {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px 12px 42px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.form-check-custom:hover {
    border-color: #cbd5e0;
    background-color: #f8fafc;
}

.form-check-input:checked ~ .form-check-label {
    font-weight: 600;
    color: var(--primary-color);
}

/* Conditional Containers */
.conditional-box {
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
}

.conditional-box.d-none {
    display: none !important;
}

.acomp-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 16px;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-primary-custom {
    background-color: var(--accent-color);
    color: #ffffff;
    font-weight: 700;
    border-radius: 10px;
    padding: 14px 28px;
    border: none;
    transition: background 0.2s;
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
}

.review-item {
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    justify-content: space-between;
}

.review-item span:first-child {
    font-weight: 600;
    color: #718096;
}

.review-item span:last-child {
    font-weight: 600;
    color: #2d3748;
    text-align: right;
}

/* Telas de Celular */
@media (max-width: 576px) {
    .main-container {
        margin: 15px auto;
        padding: 0 10px;
    }
    .header-banner {
        padding: 24px 16px;
    }
    .header-banner h1 {
        font-size: 1.35rem;
    }
    .schedule-badge-container {
        grid-template-columns: 1fr;
    }
    .btn-primary-custom {
        width: 100%;
    }
}