:root {
    --primary: #0891B2;
    --primary-dark: #0E7490;
    --primary-light: #06B6D4;
    --secondary: #10B981;
    --accent: #F59E0B;
    --danger: #EF4444;
    --bg-light: #F0FDFA;
    --bg-white: #FFFFFF;
    --text-dark: #1E293B;
    --text-medium: #475569;
    --text-light: #64748B;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #F8FAFC;
    color: var(--text-dark);
    height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── App Container ── */
.app-container {
    max-width: 430px;
    margin: 0 auto;
    height: 100vh;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 431px) {
    body {
        background: linear-gradient(135deg, #0891B2 0%, #0E7490 50%, #06B6D4 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    .app-container {
        border-radius: 28px;
        height: 92vh;
        max-height: 900px;
    }
}

/* ── Header ── */
.app-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 16px 20px;
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.header-logo i {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.header-actions { display: flex; gap: 12px; }

.header-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(10px);
}

.header-btn:hover { background: rgba(255,255,255,0.3); transform: scale(1.05); }

.notification-badge {
    position: absolute;
    top: 6px; right: 6px;
    width: 10px; height: 10px;
    background: var(--accent);
    border-radius: 50%;
    border: 2px solid var(--primary);
}

/* ── Main Content ── */
.main-content {
    height: calc(100vh - 130px);
    overflow-y: auto;
    scroll-behavior: smooth;
}

@media (min-width: 431px) {
    .main-content {
        height: calc(92vh - 190px);
        max-height: 710px;
    }
}

.main-content::-webkit-scrollbar { width: 4px; }
.main-content::-webkit-scrollbar-track { background: transparent; }
.main-content::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 10px; }

/* ── Active Service Banner ── */
.active-service-banner {
    background: linear-gradient(135deg, #065F46 0%, #047857 100%);
    color: white;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.active-service-banner:hover { filter: brightness(1.1); }

.active-pulse-dot {
    width: 12px; height: 12px;
    background: #34D399;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(52,211,153,0); }
}

.active-service-info { flex: 1; }
.active-service-title { font-size: 0.85rem; font-weight: 600; margin: 0; }
.active-service-sub { font-size: 0.75rem; opacity: 0.85; margin: 0; }
.active-service-arrow { font-size: 0.9rem; opacity: 0.7; }

/* ── Location Bar ── */
.location-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.location-bar:hover { background: #F8FAFC; }

.location-icon-wrap {
    width: 36px; height: 36px;
    background: rgba(8,145,178,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.location-text { flex: 1; }
.location-label { font-size: 0.7rem; color: var(--text-light); display: block; }
.location-address { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.location-chevron { color: var(--text-light); font-size: 0.9rem; }

/* ── Map Area ── */
.map-area {
    height: 195px;
    background: #D8EDF5;
    position: relative;
    overflow: hidden;
}

/* Street grid via pseudo-element */
.map-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.35) 1px, transparent 1px);
    background-size: 48px 48px;
    z-index: 0;
}

.map-road {
    position: absolute;
    background: rgba(255,255,255,0.9);
    z-index: 1;
}

.map-road-h {
    left: 0; right: 0;
    height: 8px;
    transform: translateY(-4px);
}

.map-road-v {
    top: 0; bottom: 0;
    width: 8px;
    transform: translateX(-4px);
}

.map-road-minor { background: rgba(255,255,255,0.6); height: 4px; }
.map-road-v.map-road-minor { width: 4px; height: auto; }

.map-park {
    position: absolute;
    background: rgba(167,219,167,0.45);
    border-radius: 8px;
    z-index: 1;
}

/* Professional markers on map */
.prof-marker {
    position: absolute;
    z-index: 3;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.prof-marker span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    transition: var(--transition);
}

.prof-marker:hover span { transform: scale(1.15); }

.marker-blue span { background: linear-gradient(135deg, #0891B2, #06B6D4); }
.marker-green span { background: linear-gradient(135deg, #10B981, #34D399); }
.marker-purple span { background: linear-gradient(135deg, #8B5CF6, #A78BFA); }

.marker-ping {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: markerPing 2s ease-out infinite;
    z-index: -1;
}

@keyframes markerPing {
    0% { transform: translate(-50%,-50%) scale(1); opacity: 0.6; }
    100% { transform: translate(-50%,-50%) scale(2.2); opacity: 0; }
}

/* User location pin */
.user-pin {
    position: absolute;
    z-index: 4;
    transform: translate(-50%,-50%);
}

.user-pin-dot {
    width: 14px; height: 14px;
    background: var(--primary);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(8,145,178,0.5);
    position: relative;
    z-index: 1;
}

.user-pin-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(8,145,178,0.2);
    animation: userRing 2s ease-out infinite;
}

@keyframes userRing {
    0% { transform: translate(-50%,-50%) scale(0.8); opacity: 0.6; }
    100% { transform: translate(-50%,-50%) scale(1.8); opacity: 0; }
}

.map-gps-btn {
    position: absolute;
    bottom: 10px; right: 10px;
    z-index: 5;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.map-gps-btn:hover { background: var(--bg-light); }

.map-badge {
    position: absolute;
    top: 10px; left: 10px;
    z-index: 5;
    background: white;
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ── Home Service Panel ── */
.home-service-panel {
    padding: 16px 16px 0;
    background: white;
}

.service-panel-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

/* Service chips — grid de 4 colunas iguais, sem scroll */
.service-chips-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.service-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 6px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    min-width: 0;          /* permite que o grid comprima sem overflow */
}

.service-chip:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.service-chip.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(8,145,178,0.06) 0%, rgba(6,182,212,0.1) 100%);
    box-shadow: 0 0 0 3px rgba(8,145,178,0.15);
}

.chip-emoji { font-size: 1.6rem; line-height: 1; margin-bottom: 4px; }
.chip-name { font-size: 0.72rem; font-weight: 600; color: var(--text-dark); line-height: 1.2; margin-bottom: 2px; -webkit-hyphens: auto; hyphens: auto; }
.chip-price { font-size: 0.68rem; color: var(--primary); font-weight: 600; }

/* ── Nearby Professionals ── */
.nearby-section {
    padding: 16px 0 20px;
}

.nearby-section .section-title {
    padding: 0 16px;
}

.section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.see-all-link {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
}

.nearby-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 0 8px 16px;
    scrollbar-width: none;
}

/* espaçador após o último card — mais confiável que padding-right em flex scroll */
.nearby-scroll::after {
    content: '';
    display: block;
    min-width: 16px;
    flex-shrink: 0;
}

.nearby-scroll::-webkit-scrollbar { display: none; }

.nearby-card {
    flex-shrink: 0;
    /* 16px left + 3 × 126px + 2 × 10px gap + 16px right = 430px exatos */
    width: 126px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 14px 10px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.nearby-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.nearby-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 auto 8px;
}

.nearby-name { font-size: 0.78rem; font-weight: 700; color: var(--text-dark); margin: 0 0 2px; line-height: 1.2; }
.nearby-type { font-size: 0.7rem; color: var(--text-light); margin: 0 0 6px; }

.nearby-meta {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.7rem;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.nearby-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
}

.nearby-badge.available {
    background: #D1FAE5;
    color: #065F46;
}

/* ── Screen Header ── */
.screen-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px 8px;
}

.back-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    font-size: 1rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.back-btn:hover { background: var(--bg-light); border-color: var(--primary); }
.screen-title { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); }

/* ── Step Indicator ── */
.step-indicator {
    display: flex;
    align-items: center;
    padding: 12px 20px 20px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.step-circle {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
}

.step-label {
    font-size: 0.68rem;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
}

.step-item.active .step-circle {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 0 4px rgba(8,145,178,0.2);
}

.step-item.active .step-label { color: var(--primary); font-weight: 600; }

.step-item.completed .step-circle {
    background: var(--secondary);
    color: white;
}

.step-item.completed .step-label { color: var(--secondary); }

.step-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin: 0 6px;
    margin-bottom: 14px;
    transition: var(--transition);
}

.step-line.done { background: var(--secondary); }

/* ── Form Section ── */
.form-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    margin: 0 16px 16px;
    border: 1px solid var(--border);
}

.form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-label i { color: var(--primary); }

.form-select, .form-control {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-size: 0.88rem;
    transition: var(--transition);
}

.form-select:focus, .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(8,145,178,0.15);
}

/* ── Period Selector ── */
.period-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.period-option {
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.period-option:hover { border-color: var(--primary); }

.period-option.selected {
    border-color: var(--primary);
    background: rgba(8,145,178,0.08);
}

.period-icon { font-size: 1.5rem; margin-bottom: 4px; }
.period-name { font-size: 0.82rem; font-weight: 600; }

/* ── Atendimento Selector ── */
.form-sublabel {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.atendimento-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.atend-chip {
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 6px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.atend-chip:hover { border-color: var(--primary); }

.atend-chip.selected {
    border-color: var(--primary);
    background: rgba(8,145,178,0.08);
    box-shadow: 0 0 0 3px rgba(8,145,178,0.12);
}

.atend-icon { font-size: 1.3rem; color: var(--primary); margin-bottom: 4px; display: block; }
.atend-name { font-size: 0.74rem; font-weight: 700; color: var(--text-dark); }

/* ── Price Summary ── */
.price-summary-card {
    background: linear-gradient(135deg, rgba(8,145,178,0.06) 0%, rgba(6,182,212,0.1) 100%);
    border: 2px solid rgba(8,145,178,0.2);
    border-radius: var(--radius-md);
    padding: 16px;
    margin: 0 16px 16px;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.price-label { font-weight: 700; font-size: 0.9rem; margin: 0 0 4px; }
.price-note { font-size: 0.72rem; color: var(--text-light); margin: 0; }
.price-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Button ── */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: var(--radius-xl);
    padding: 16px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    width: calc(100% - 32px);
    margin: 0 16px 16px;
    display: block;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(8,145,178,0.3);
    letter-spacing: 0.3px;
    text-align: center;
}

/* Button inside panels with no horizontal margin */
.home-service-panel .btn-primary-custom,
.rating-container .btn-primary-custom {
    width: 100%;
    margin: 0 0 4px;
}

.btn-primary-custom:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(8,145,178,0.4); }
.btn-primary-custom:active { transform: translateY(0); }
.btn-primary-custom:disabled { background: #CBD5E1; box-shadow: none; cursor: not-allowed; transform: none; }

/* ── Searching Screen ── */
.searching-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px 20px;
}

.pulse-circle {
    width: 90px; height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseCircle 2s infinite;
    margin-bottom: 20px;
    box-shadow: 0 0 0 0 rgba(8,145,178,0.5);
}

@keyframes pulseCircle {
    0% { box-shadow: 0 0 0 0 rgba(8,145,178,0.5); transform: scale(1); }
    50% { box-shadow: 0 0 0 20px rgba(8,145,178,0); transform: scale(1.05); }
    100% { box-shadow: 0 0 0 0 rgba(8,145,178,0); transform: scale(1); }
}

.pulse-circle i { font-size: 2.4rem; color: white; }

.searching-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.searching-sub {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-bottom: 20px;
}

.searching-dots::after {
    content: '';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* Notified list */
.notified-list {
    width: 100%;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 20px;
}

.notified-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    animation: fadeSlideIn 0.4s ease-out both;
}

.notified-item:last-child { border-bottom: none; }

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.notified-item:nth-child(2) { animation-delay: 0.15s; }
.notified-item:nth-child(3) { animation-delay: 0.3s; }

.notified-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.notified-info { flex: 1; }
.notified-info p { font-size: 0.85rem; font-weight: 600; margin: 0; }
.notified-info span { font-size: 0.75rem; color: var(--text-light); }

.notified-status {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
}

.notified-status.waiting { background: #FEF3C7; color: #92400E; }
.notified-status.accepted { background: #D1FAE5; color: #065F46; }

.btn-cancel-request {
    background: none;
    border: 2px solid var(--danger);
    color: var(--danger);
    border-radius: 24px;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cancel-request:hover { background: #FEF2F2; }

/* ── Tracking Map (found screen) ── */
.tracking-map {
    height: 150px;
    background: #D8EDF5;
    position: relative;
    overflow: hidden;
}

.tracking-map::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.3) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Route dashed line */
.route-line {
    position: absolute;
    top: 50%; left: 20%;
    width: 50%;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--primary) 0px,
        var(--primary) 8px,
        transparent 8px,
        transparent 14px
    );
    z-index: 2;
    transform: translateY(-1px);
}

.tracking-prof-pin {
    position: absolute;
    top: 50%; left: 20%;
    transform: translate(-50%, -50%);
    z-index: 4;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(8,145,178,0.4);
    animation: moveProfessional 3s ease-in-out infinite alternate;
}

@keyframes moveProfessional {
    from { left: 18%; }
    to { left: 28%; }
}

.eta-chip {
    position: absolute;
    top: 10px; right: 10px;
    z-index: 5;
    background: white;
    border-radius: 12px;
    padding: 6px 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.eta-value { font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.eta-unit { font-size: 0.72rem; font-weight: 600; color: var(--text-medium); }

/* ── Tracking Steps ── */
.tracking-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 12px 20px;
    background: white;
    border-bottom: 1px solid var(--border);
}

.t-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    position: relative;
}

.t-step-dot {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-light);
    transition: var(--transition);
}

.t-step span {
    font-size: 0.65rem;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
}

.t-step-connector {
    position: absolute;
    top: 14px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border);
    z-index: 0;
    transition: var(--transition);
}

.t-step:last-child .t-step-connector { display: none; }

.t-step.done .t-step-dot {
    background: var(--secondary);
    color: white;
}

.t-step.done .t-step-connector { background: var(--secondary); }
.t-step.done span { color: var(--secondary); font-weight: 600; }

.t-step.active .t-step-dot {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 0 4px rgba(8,145,178,0.2);
}

.t-step.active span { color: var(--primary); font-weight: 700; }

/* ── Professional Card ── */
.professional-card {
    background: white;
    border-radius: 0;
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.professional-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.professional-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.professional-info { flex: 1; }
.professional-name { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; }
.professional-category { font-size: 0.78rem; color: var(--primary); font-weight: 500; margin-bottom: 2px; }

.professional-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
}

.professional-details {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.detail-chip {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 0.73rem;
    color: var(--text-medium);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.detail-chip i { color: var(--primary); font-size: 0.85rem; }

/* ── Found Action Buttons ── */
.found-actions {
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}

.found-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 8px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-dark);
}

.found-action-btn i { font-size: 1.3rem; color: var(--primary); }
.found-action-btn:hover { background: #E0F2FE; border-color: var(--primary); }

.found-action-btn.danger { }
.found-action-btn.danger i { color: var(--danger); }
.found-action-btn.danger:hover { background: #FEF2F2; border-color: var(--danger); }

/* ── Rating Screen ── */
.rating-container {
    padding: 24px 20px;
    text-align: center;
}

.rating-success-icon {
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 16px;
}

.rating-title { font-size: 1.4rem; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.rating-subtitle { font-size: 0.9rem; color: var(--text-medium); margin-bottom: 4px; }
.rating-prof-name { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 20px; }

.rating-avatar-wrap {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(8,145,178,0.3);
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.star {
    font-size: 2.8rem;
    color: #D1D5DB;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1;
    user-select: none;
}

.star.active { color: var(--accent); transform: scale(1.15); }
.star:hover { transform: scale(1.2); }

.rating-hint {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 12px;
    min-height: 20px;
}

/* Rating quick tags */
.rating-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 4px;
}

.rating-tag {
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.rating-tag.selected {
    background: rgba(8,145,178,0.1);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

/* ── History Screen ── */
.history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.history-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.history-info { flex: 1; }
.history-service { font-size: 0.85rem; font-weight: 600; margin: 0 0 2px; }
.history-meta { font-size: 0.75rem; color: var(--text-light); margin: 0 0 2px; }
.history-stars { font-size: 0.7rem; color: var(--accent); }
.history-price { font-size: 0.88rem; font-weight: 700; color: var(--secondary); white-space: nowrap; }

/* ── Bottom Navigation ── */
.bottom-nav {
    position: sticky;
    bottom: 0;
    background: white;
    border-top: 1px solid var(--border);
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    border: none;
    background: none;
    font-size: 0.65rem;
    font-weight: 500;
    flex: 1;
    padding: 4px 0;
    border-radius: 12px;
    position: relative;
}

.nav-item i { font-size: 1.35rem; }

.nav-item.active {
    color: var(--primary);
    font-weight: 700;
}

.nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    width: 28px; height: 3px;
    background: var(--primary);
    border-radius: 0 0 4px 4px;
}

/* ── Modal ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1100;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

.modal-overlay.active { display: flex; }

.modal-content {
    background: white;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 24px;
    width: 100%;
    max-width: 430px;
    animation: slideUp 0.3s ease-out;
    max-height: 80vh;
    overflow-y: auto;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Toast ── */
.toast-container {
    position: fixed;
    top: 20px; right: 20px;
    z-index: 9999;
}

/* ── Responsive ── */
@media (max-width: 360px) {
    .service-chips-scroll { gap: 6px; }
    .chip-name { font-size: 0.65rem; }
    /* 360px − 16 − 16 − 20 = 308px ÷ 3 ≈ 102px em telas ≤ 360px */
    .nearby-card { width: 102px; }
}

/* ── Login Screen ── */
#loginScreen {
    position: absolute;
    inset: 0;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: white;
}

.login-hero {
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
    padding: 56px 32px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
}

.login-logo {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,0.2);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.login-logo i {
    font-size: 2.2rem;
    color: white;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}

.login-brand {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
    margin: 0 0 8px;
}

.login-tagline {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.85);
    font-weight: 400;
    margin: 0;
}

.login-card {
    background: white;
    border-radius: 28px 28px 0 0;
    margin-top: -24px;
    padding: 28px 24px 32px;
    flex: 1;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.login-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 4px;
}

.login-subtitle {
    font-size: 0.88rem;
    color: var(--text-medium);
    margin: 0 0 24px;
}

.login-form { display: flex; flex-direction: column; gap: 16px; }

.login-field { display: flex; flex-direction: column; gap: 6px; }

.login-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
}

.login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.login-input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-light);
    font-size: 1rem;
    pointer-events: none;
}

.login-input {
    width: 100%;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 13px 44px 13px 40px;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
    background: var(--bg-white);
}

.login-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(8,145,178,0.15);
}

.login-eye-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.login-eye-btn:hover { color: var(--primary); }

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -4px;
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    color: var(--text-medium);
    cursor: pointer;
    user-select: none;
}

.login-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.login-forgot {
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
}

.login-forgot:hover { text-decoration: underline; }

.login-btn {
    margin: 4px 0 0;
    width: 100%;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 0.8rem;
    margin: 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.login-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px;
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    background: white;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.login-social-btn:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

.login-register {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-medium);
    margin: 20px 0 0;
}

.login-register span {
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
}

.login-register span:hover { text-decoration: underline; }

/* ── Register Screen ── */
#registerScreen {
    position: absolute;
    inset: 0;
    z-index: 1051;
    display: flex;
    flex-direction: column;
    background: white;
    overflow: hidden;
}

.register-header {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.register-header-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    flex: 1;
}

.register-step-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 3px 10px;
    border-radius: 20px;
}

.register-progress {
    height: 3px;
    background: var(--border);
    flex-shrink: 0;
}

.register-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 0 2px 2px 0;
    transition: width 0.4s ease;
}

.register-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 20px 0;
    scrollbar-width: none;
}

.register-body::-webkit-scrollbar { display: none; }

.register-step-hero {
    text-align: center;
    margin-bottom: 24px;
}

.register-step-icon {
    font-size: 2.8rem;
    line-height: 1;
    margin-bottom: 12px;
}

.register-step-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 4px;
}

.register-step-sub {
    font-size: 0.88rem;
    color: var(--text-medium);
    margin: 0;
}

/* Password strength */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 4px;
}

.strength-fill {
    height: 100%;
    border-radius: 4px;
    transition: var(--transition);
}

.strength-label {
    font-size: 0.75rem;
    font-weight: 600;
}

/* Password requirements */
.password-reqs {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.req-item {
    font-size: 0.78rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition);
}

.req-item i { font-size: 0.85rem; }

.req-item.ok {
    color: var(--secondary);
}

.req-item.ok i::before { content: "\F26A"; } /* bi-check-circle-fill */

/* Register type selector */
.register-type-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.register-type-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.register-type-option:hover {
    border-color: var(--primary-light);
    background: var(--bg-light);
}

.register-type-option.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(8,145,178,0.06), rgba(6,182,212,0.1));
}

.type-icon { font-size: 1.6rem; flex-shrink: 0; }

.type-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
}

.type-desc {
    font-size: 0.75rem;
    color: var(--text-medium);
    display: block;
}

/* Terms */
.register-terms {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 14px;
}

.register-terms-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-medium);
    cursor: pointer;
    line-height: 1.5;
}

.register-terms-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    flex-shrink: 0;
    margin-top: 1px;
    cursor: pointer;
}

.register-terms-label a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.register-terms-label a:hover { text-decoration: underline; }

/* Footer fixo */
.register-footer {
    padding: 16px 20px 20px;
    background: white;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

/* ── Dependents Screen ── */
#dependentsScreen {
    position: absolute;
    inset: 0;
    z-index: 1052;
    display: flex;
    flex-direction: column;
    background: var(--bg-light);
    overflow: hidden;
}

.dep-add-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    flex-shrink: 0;
}

.dep-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 32px 80px;
    text-align: center;
}

.dep-empty-icon { font-size: 3.5rem; margin-bottom: 16px; }

.dep-empty-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px;
}

.dep-empty-sub {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin: 0 0 24px;
    line-height: 1.5;
}

.dep-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px 16px 90px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: none;
}

.dep-list::-webkit-scrollbar { display: none; }

.dep-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.dep-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dep-info { flex: 1; min-width: 0; }

.dep-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dep-meta {
    font-size: 0.78rem;
    color: var(--text-medium);
    margin-top: 2px;
}

.dep-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.dep-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--text-medium);
    transition: var(--transition);
}

.dep-action-btn:hover { background: var(--bg-light); }
.dep-action-btn.delete:hover { background: #FEE2E2; color: var(--danger); border-color: var(--danger); }

.dep-fab {
    position: absolute;
    bottom: 24px;
    right: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(8,145,178,0.4);
    cursor: pointer;
    z-index: 10;
}

/* Dependent Form overlay */
#depFormOverlay {
    position: absolute;
    inset: 0;
    z-index: 1053;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: flex-end;
}

.dep-form-sheet {
    width: 100%;
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 12px 20px 28px;
    max-height: 90%;
    overflow-y: auto;
    scrollbar-width: none;
}

.dep-form-sheet::-webkit-scrollbar { display: none; }

.dep-form-handle {
    width: 40px;
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    margin: 0 auto 16px;
}

.dep-form-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 20px;
}

/* Relation chips grid */
.dep-rel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.dep-rel-chip {
    padding: 9px 6px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-medium);
    cursor: pointer;
    transition: var(--transition);
    background: white;
}

.dep-rel-chip:hover { border-color: var(--primary-light); background: var(--bg-light); }

.dep-rel-chip.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(8,145,178,0.08), rgba(6,182,212,0.12));
    color: var(--primary-dark);
}

/* ── Period description ── */
.period-desc {
    font-size: 0.68rem;
    color: var(--text-light);
    margin-top: 2px;
    line-height: 1.2;
}

/* ── Scheduled Screen ── */
.scheduled-container {
    padding: 8px 16px 32px;
}

.scheduled-success-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px auto 14px;
    box-shadow: 0 8px 24px rgba(16,185,129,0.35);
}

.scheduled-success-icon i { font-size: 2rem; color: white; }

.scheduled-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 4px;
}

.scheduled-subtitle {
    font-size: 0.87rem;
    color: var(--text-medium);
    text-align: center;
    margin-bottom: 18px;
}

.scheduled-datetime-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: stretch;
    color: white;
}

.scheduled-datetime-row {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.scheduled-datetime-row i { font-size: 1.3rem; opacity: 0.8; flex-shrink: 0; }

.scheduled-dt-label {
    font-size: 0.68rem;
    opacity: 0.75;
    margin: 0 0 2px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scheduled-dt-value {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

.scheduled-datetime-divider {
    width: 1px;
    background: rgba(255,255,255,0.25);
    margin: 0 16px;
}

.scheduled-prof-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}

.scheduled-section-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.scheduled-prof-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.scheduled-prof-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.scheduled-prof-info { flex: 1; min-width: 0; }
.scheduled-prof-name { font-size: 0.88rem; font-weight: 700; color: var(--text-dark); margin: 0 0 2px; }
.scheduled-prof-category { font-size: 0.73rem; color: var(--text-light); margin: 0; }

.scheduled-prof-badge {
    background: #D1FAE5;
    color: #065F46;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    flex-shrink: 0;
}

.scheduled-details-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 4px 14px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}

.scheduled-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.84rem;
}

.scheduled-detail-row:last-child { border-bottom: none; }

.scheduled-detail-label {
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 6px;
}

.scheduled-detail-label i { color: var(--primary); }
.scheduled-detail-value { font-weight: 600; color: var(--text-dark); }

.scheduled-info-note {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: var(--radius-sm);
    padding: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 0.78rem;
    color: #1D4ED8;
    line-height: 1.5;
}

.scheduled-info-note i { font-size: 0.95rem; flex-shrink: 0; margin-top: 1px; }

/* ══════════════════════════════════════════
   SPLASH SCREEN
══════════════════════════════════════════ */

#splashScreen {
    position: absolute;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #0a7ea4 0%, #0891B2 35%, #0E7490 70%, #065f7a 100%);
    overflow: hidden;
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1),
                transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

#splashScreen.splash-exit {
    opacity: 0;
    transform: scale(1.06);
    pointer-events: none;
}

/* ── Decorative background circles ── */
.splash-bg { position: absolute; inset: 0; pointer-events: none; }

.splash-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}

.splash-c1 {
    width: 320px; height: 320px;
    top: -80px; right: -60px;
    animation: splash-float 6s ease-in-out infinite;
}
.splash-c2 {
    width: 200px; height: 200px;
    bottom: 60px; left: -50px;
    animation: splash-float 8s ease-in-out infinite reverse;
}
.splash-c3 {
    width: 120px; height: 120px;
    top: 45%; left: 10%;
    background: rgba(255,255,255,0.04);
    animation: splash-float 5s ease-in-out infinite 1s;
}
.splash-c4 {
    width: 80px; height: 80px;
    top: 20%; right: 15%;
    background: rgba(255,255,255,0.08);
    animation: splash-float 7s ease-in-out infinite 2s;
}

@keyframes splash-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-18px) scale(1.04); }
}

/* ── Center content ── */
.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 1;
}

/* ── Logo wrap with pulse rings ── */
.splash-logo-wrap {
    position: relative;
    width: 120px; height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    animation: splash-logo-in 0.7s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes splash-logo-in {
    from { opacity: 0; transform: scale(0.3); }
    to   { opacity: 1; transform: scale(1); }
}

.splash-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.35);
    animation: splash-ring-pulse 2.4s ease-out infinite;
}

.splash-ring-2 {
    animation-delay: 1.2s;
    border-color: rgba(255,255,255,0.2);
}

@keyframes splash-ring-pulse {
    0%   { transform: scale(1);    opacity: 0.8; }
    100% { transform: scale(2.2);  opacity: 0; }
}

.splash-logo {
    width: 88px; height: 88px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2),
                inset 0 1px 0 rgba(255,255,255,0.3);
}

.splash-logo i {
    font-size: 2.6rem;
    color: white;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

/* ── Brand name ── */
.splash-brand {
    font-size: 2.6rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1.5px;
    line-height: 1;
    margin-bottom: 10px;
    animation: splash-text-in 0.6s cubic-bezier(0.4,0,0.2,1) 0.35s both;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.splash-tagline {
    font-size: 0.92rem;
    font-weight: 400;
    color: rgba(255,255,255,0.78);
    letter-spacing: 0.2px;
    animation: splash-text-in 0.6s cubic-bezier(0.4,0,0.2,1) 0.5s both;
}

@keyframes splash-text-in {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Footer loader ── */
.splash-footer {
    position: absolute;
    bottom: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: splash-text-in 0.6s cubic-bezier(0.4,0,0.2,1) 0.7s both;
}

.splash-dots {
    display: flex;
    gap: 7px;
}

.splash-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    animation: splash-dot-bounce 1.2s ease-in-out infinite;
}
.splash-dot:nth-child(2) { animation-delay: 0.2s; }
.splash-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes splash-dot-bounce {
    0%, 80%, 100% { transform: scale(1);   background: rgba(255,255,255,0.4); }
    40%            { transform: scale(1.5); background: rgba(255,255,255,0.9); }
}

.splash-version {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.5px;
}
