:root {
    /* Cores Premium AutoMecânica */
    --bg-color: #f5f5f5; /* Off-white muito quente e leve */
    --bg-secondary: #eeeeee;
    
    --text-primary: #3d4a3e; /* Sálvia muito escuro, quase grafite */
    --text-secondary: #8b998c; /* Sálvia acinzentado */
    
    --primary-color: #d32f2f; /* Verde Sálvia AutoMecânica */
    --primary-hover: #b71c1c;
    --accent-color: #ff9800; /* Areia/Dourado suave */
    --accent-hover: #f57c00;
    
    --gold-color: #ff9800; /* Dourado da flor/logo */
    
    --success-color: #8ba888;
    --danger-color: #d98282;
    --whatsapp-color: #25D366;
    
    --card-bg: #ffffff;
    --border-color: rgba(139, 168, 136, 0.15); /* Sálvia transparente */
    
    --bottom-nav-height: 76px;
    --shadow-premium: 0 12px 32px rgba(61, 74, 62, 0.06);
    --shadow-hover: 0 16px 40px rgba(61, 74, 62, 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    overflow-y: auto; /* Allow native scrolling */
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    background-color: var(--bg-color);
    box-shadow: 0 0 50px rgba(0,0,0,0.05); /* Sombra suave para desktop */
}

/* Utilitários Premium */
.premium-shadow {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.shadow-hover:active {
    transform: translateY(2px) scale(0.98);
}

/* Header */
.banner-header {
    padding: 0;
    position: relative;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}
.header-banner-bg {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* Adicionando um degradê inferior para integrar melhor com o fundo */
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}
.banner-header .header-actions {
    position: absolute;
    top: 16px;
    left: 16px; 
}
.glass-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
    cursor: pointer;
}
.glass-btn:active {
    background: rgba(255, 255, 255, 0.85);
    transform: scale(0.95);
}
.icon-btn.flat-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: none;
    color: var(--text-primary);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.2s;
}
.icon-btn.flat-btn:active { background: var(--border-color); transform: scale(0.95); }

/* Main Content Area */
.app-content {
    flex: 1;
    padding: 20px 24px 120px 24px;
}

/* Views Animation */
.view {
    display: none;
    animation: slideFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.view.active {
    display: block;
}
@keyframes slideFade {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Dashboard */
.financial-card {
    padding: 28px 24px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff, #fdfbf7);
}
/* Dourado AutoMecânica Glow */
.financial-card::after {
    content: ''; position: absolute;
    top: -30px; right: -30px;
    width: 140px; height: 140px;
    background: var(--gold-color);
    border-radius: 50%; filter: blur(70px);
    opacity: 0.15; z-index: 0; pointer-events: none;
}
.balance-label {
    font-size: 0.95rem; font-weight: 500;
    color: var(--text-secondary); margin-bottom: 4px;
    position: relative; z-index: 1;
}
.balance-value {
    font-family: var(--font-heading);
    font-size: 2.5rem; font-weight: 600;
    color: var(--text-primary); margin-bottom: 16px;
    letter-spacing: -1px;
    position: relative; z-index: 1;
}
.financial-progress-bar {
    height: 6px; background: var(--bg-secondary);
    border-radius: 3px; margin-bottom: 16px;
    overflow: hidden; position: relative; z-index: 1;
}
.progress-fill {
    height: 100%; background: var(--gold-color);
    border-radius: 3px; transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.financial-stats {
    display: flex; gap: 12px; position: relative; z-index: 1;
}
.stat {
    font-size: 0.85rem; font-weight: 500;
    color: var(--primary-color);
    display: flex; align-items: center; gap: 6px;
    background: rgba(139, 168, 136, 0.1);
    padding: 6px 12px; border-radius: 20px;
}

.section-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 1.3rem; font-weight: 600;
    color: var(--text-primary);
}
.badge {
    background: var(--accent-color); color: white;
    font-size: 0.8rem; font-weight: 600;
    padding: 4px 10px; border-radius: 12px;
}

/* Lists & Cards */
.appointments-list, .clients-list {
    display: flex; flex-direction: column; gap: 16px;
}
.appointment-item, .client-card {
    padding: 20px; display: flex; align-items: center;
    background: var(--card-bg); border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(61, 74, 62, 0.03);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative; overflow: hidden;
}
.appointment-item:active, .client-card:active {
    transform: scale(0.98); background: var(--bg-secondary);
}

.avatar {
    width: 48px; height: 48px; border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem;
    margin-right: 16px; flex-shrink: 0;
}
.info-block { flex: 1; }
.info-block h4 {
    font-size: 1.05rem; font-weight: 600; margin-bottom: 4px;
    color: var(--text-primary);
}
.info-block p {
    font-size: 0.85rem; color: var(--text-secondary);
}
.time-badge {
    background: rgba(139, 168, 136, 0.15);
    color: var(--primary-color);
    padding: 8px 14px; border-radius: 12px;
    font-size: 0.9rem; font-weight: 600;
}

.empty-state {
    text-align: center; padding: 40px 20px;
    color: var(--text-secondary);
}
.empty-state i {
    font-size: 3rem; color: var(--accent-color);
    margin-bottom: 16px; opacity: 0.5;
}
.empty-state p { font-size: 0.95rem; }

/* Schedule */
.date-selector {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px; margin-bottom: 24px;
}
.current-date { text-align: center; }
.current-date span {
    display: block; font-family: var(--font-heading);
    font-size: 1.1rem; font-weight: 600; color: var(--text-primary);
}
.current-date small {
    display: block; font-size: 0.8rem; color: var(--text-secondary);
}
.sticky-action {
    position: sticky; top: 0; z-index: 5;
    background: var(--bg-color); padding-bottom: 16px;
    margin-bottom: 8px;
}

.time-slots { display: flex; flex-direction: column; gap: 16px; position: relative; }
.time-slots::before {
    content: ''; position: absolute; left: 56px; top: 0; bottom: 0; width: 2px;
    background: rgba(139, 168, 136, 0.15); z-index: 0;
}
.time-slot { display: flex; align-items: flex-start; gap: 16px; position: relative; z-index: 1; }
.slot-time {
    width: 40px; font-size: 0.9rem; font-weight: 600;
    color: var(--text-secondary); text-align: right; padding-top: 14px;
}
.slot-content {
    flex: 1; padding: 16px 20px; border-radius: 20px;
    background: #ffffff; border: 1px solid var(--border-color);
    color: var(--text-secondary); font-size: 0.95rem; font-weight: 500;
    display: flex; align-items: center; cursor: pointer; transition: 0.2s;
    box-shadow: 0 4px 12px rgba(61, 74, 62, 0.03);
    position: relative;
}
.slot-content::before {
    content: ''; position: absolute; left: -21px; top: 22px; width: 10px; height: 10px;
    border-radius: 50%; background: var(--bg-color); border: 2px solid var(--border-color);
}
.slot-content:hover { border-color: var(--primary-color); color: var(--primary-color); }
.slot-content.booked {
    background: linear-gradient(145deg, #ffffff, #fdfbf7);
    border-left: 4px solid var(--primary-color);
    color: var(--text-primary); justify-content: space-between;
    box-shadow: 0 8px 24px rgba(61, 74, 62, 0.06);
}
.slot-content.booked::before {
    background: var(--primary-color); border-color: var(--primary-color);
}
.slot-content.booked:hover { border-color: var(--border-color); color: var(--text-primary); }

/* Whatsapp Button */
.btn-whatsapp-icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: #ffffff; color: var(--whatsapp-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; border: 1px solid rgba(37, 211, 102, 0.2);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15); transition: 0.2s;
}
.btn-whatsapp-icon:active { transform: scale(0.9); background: var(--whatsapp-color); color: white; }

/* Buttons & Inputs */
.btn-primary {
    background: var(--primary-color); color: white;
    border: none; padding: 16px 24px; border-radius: 16px;
    font-family: var(--font-heading); font-size: 1.05rem; font-weight: 500;
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    gap: 10px; transition: all 0.2s; box-shadow: 0 8px 20px rgba(139, 168, 136, 0.3);
}
.btn-primary:active { background: var(--primary-hover); }
.btn-secondary {
    background: var(--bg-secondary); color: var(--text-primary);
    border: none; padding: 16px 24px; border-radius: 16px;
    font-family: var(--font-heading); font-size: 1.05rem; font-weight: 500;
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    gap: 10px; transition: all 0.2s;
}
.btn-secondary:active { background: var(--border-color); }
.full-width { width: 100%; }

.search-bar {
    display: flex; align-items: center; padding: 16px 20px;
    gap: 12px; margin-bottom: 24px;
}
.search-bar i { color: var(--text-secondary); font-size: 1.1rem; }
.search-bar input {
    background: none; border: none; color: var(--text-primary);
    flex: 1; font-size: 1rem; outline: none; font-family: var(--font-body);
}

/* Modals */
.modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(61, 74, 62, 0.5); backdrop-filter: blur(5px);
    z-index: 2000; display: flex; align-items: flex-end;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content {
    width: 100%; max-width: 480px; margin: 0 auto;
    background: var(--bg-color); border-radius: 32px 32px 0 0;
    padding: 32px 24px 40px 24px;
    transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
    max-height: 90vh;
    overflow-y: auto;
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px;
}
.modal-header h3 { font-size: 1.4rem; color: var(--text-primary); }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; margin-bottom: 8px; font-size: 0.95rem; font-weight: 500;
}
.form-group input, .form-group select {
    width: 100%; padding: 16px; border-radius: 16px;
    background: #ffffff; border: 1px solid var(--border-color);
    color: var(--text-primary); font-size: 1rem; font-family: var(--font-body);
    transition: all 0.2s; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.form-group input:focus, .form-group select:focus {
    outline: none; border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 168, 136, 0.2);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-grid .form-group {
    margin-bottom: 0;
}
@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Bottom Nav */
.bottom-nav {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px;
    height: var(--bottom-nav-height); background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); display: flex; justify-content: space-around; align-items: center;
    border-top: 1px solid var(--border-color); padding-bottom: env(safe-area-inset-bottom);
    z-index: 50; box-shadow: 0 -4px 30px rgba(61, 74, 62, 0.05);
}
.nav-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--text-secondary); text-decoration: none; gap: 4px; flex: 1; height: 100%;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-icon {
    width: 32px; height: 32px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; transition: 0.3s;
}
.nav-item span { font-size: 0.75rem; font-weight: 500; }
.nav-item.active { color: var(--primary-color); }
.nav-item.active .nav-icon {
    background: rgba(139, 168, 136, 0.15); transform: translateY(-4px);
}

/* Settings / Profile */
.profile-card {
    display: flex; flex-direction: column; align-items: center;
    padding: 40px 20px; text-align: center;
}
.avatar-large {
    width: 80px; height: 80px; border-radius: 24px;
    background: linear-gradient(135deg, var(--gold-color), var(--primary-color));
    color: white; font-size: 2rem; display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px; box-shadow: 0 8px 24px rgba(205, 163, 79, 0.3);
}
.action-list { overflow: hidden; }
.action-item {
    display: flex; align-items: center; padding: 20px;
    border-bottom: 1px solid var(--border-color); cursor: pointer; transition: 0.2s;
}
.action-item:last-child { border-bottom: none; }
.action-item:active { background: var(--bg-secondary); }
.action-icon {
    width: 40px; height: 40px; border-radius: 12px;
    background: rgba(209, 191, 174, 0.2); color: var(--gold-color);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-right: 16px;
}
.action-text { flex: 1; font-weight: 500; }
.helper-text { text-align: center; font-size: 0.85rem; color: var(--text-secondary); margin-top: 16px; padding: 0 16px; }

/* --- LOGIN STYLES (NEXT-GEN CANVAS) --- */
#view-login {
    background-color: #fcfbf9;
    position: relative;
    overflow: hidden;
    height: 100vh;
}

#login-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

.login-wrapper {
    position: relative; z-index: 10; display: flex; flex-direction: column;
    justify-content: center; height: 100vh; padding: 32px;
}

/* Elegant Logo Treatment */
.login-logo-container {
    text-align: center; margin-bottom: 32px;
    animation: fadeDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.gamaya-logo-img {
    max-width: 340px; width: 100%; height: auto;
    mix-blend-mode: multiply;
    opacity: 0.95;
}

/* Premium Segmented Tabs */
.login-tabs-premium {
    display: flex; position: relative; background: rgba(139, 168, 136, 0.05);
    border-radius: 30px; padding: 4px; max-width: 320px; margin: 0 auto 40px auto;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.tab-indicator {
    position: absolute; top: 4px; left: 4px; height: calc(100% - 8px); width: calc(50% - 4px);
    background: #ffffff; border-radius: 26px; box-shadow: 0 4px 15px rgba(61, 74, 62, 0.08);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: 1;
}
.btn-login-tab {
    flex: 1; background: transparent; border: none; color: var(--text-secondary);
    padding: 14px 16px; font-weight: 500; font-family: var(--font-heading);
    font-size: 1rem; cursor: pointer; transition: color 0.3s; z-index: 2; position: relative;
}
.btn-login-tab.active { color: var(--text-primary); font-weight: 600; }

/* Borderless Fluid Content */
.login-content-fluid {
    width: 100%; max-width: 400px; margin: 0 auto;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.login-header { text-align: center; margin-bottom: 32px; }
.login-header h2 { font-size: 1.6rem; color: var(--text-primary); margin-bottom: 8px; letter-spacing: -0.5px; }
.login-header p { color: var(--text-secondary); font-size: 0.95rem; }

/* Floating Label Inputs */
.premium-form { display: flex; flex-direction: column; gap: 24px; }
.input-group { position: relative; }
.input-group input {
    width: 100%; padding: 12px 0; font-size: 1.05rem; color: var(--text-primary);
    background: transparent; border: none; outline: none; font-family: var(--font-body);
}
.input-group label {
    position: absolute; top: 12px; left: 0; font-size: 1.05rem;
    color: var(--text-secondary); pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Magic floating effect */
.input-group input:focus ~ label, .input-group input:not(:placeholder-shown) ~ label {
    top: -12px; font-size: 0.75rem; color: var(--primary-color); font-weight: 500;
}
.input-line {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: rgba(139, 168, 136, 0.2);
}
.input-line::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px;
    background: var(--primary-color); transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.input-group input:focus ~ .input-line::after { width: 100%; }

/* Dynamic Button */
.btn-primary-premium {
    position: relative; overflow: hidden; background: var(--primary-color);
    color: white; border: none; padding: 18px; border-radius: 20px;
    font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600;
    cursor: pointer; margin-top: 16px; box-shadow: 0 10px 25px rgba(139, 168, 136, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary-premium:active { transform: scale(0.97); box-shadow: 0 5px 15px rgba(139, 168, 136, 0.25); }
.btn-primary-premium span { position: relative; z-index: 2; }
.btn-glow {
    position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg); z-index: 1; animation: shine 6s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.login-footer {
    text-align: center; margin-top: 40px; color: rgba(139, 168, 136, 0.6);
    font-size: 0.8rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

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

/* --- CLIENT PORTAL STYLES --- */
.client-portal-wrapper {
    height: 100%; display: flex; flex-direction: column;
    background-color: transparent; overflow-y: auto;
    position: relative;
    z-index: 10;
}
.portal-glass-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
}
.portal-content {
    flex: 1; padding: 24px 20px 40px 20px; position: relative; z-index: 2;
}
.welcome-card {
    text-align: center;
}
.portal-avatar {
    width: 80px; height: 80px; border-radius: 24px;
    background: linear-gradient(135deg, var(--gold-color), #f9e5c4);
    color: var(--text-primary); font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px auto; box-shadow: 0 12px 30px rgba(205, 163, 79, 0.3);
    border: 4px solid rgba(255,255,255,0.8);
}
.welcome-card h2 { font-size: 1.8rem; color: var(--text-primary); margin-bottom: 8px; font-family: var(--font-heading); }
.welcome-card p { color: var(--text-secondary); font-size: 1rem; font-weight: 500; }

.portal-section-title { font-size: 1.2rem; color: var(--text-primary); margin-bottom: 16px; font-weight: 700; font-family: var(--font-heading); display: flex; align-items: center; gap: 8px; }
.portal-appointments-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }

.ticket-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}
.ticket-card::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
    background: linear-gradient(to bottom, var(--gold-color), var(--primary-color));
}
.ticket-date-box {
    background: rgba(205, 163, 79, 0.1);
    color: var(--gold-color);
    padding: 12px;
    border-radius: 16px;
    text-align: center;
    min-width: 70px;
}
.ticket-date-box .day { font-size: 1.5rem; font-weight: 800; font-family: var(--font-heading); line-height: 1; }
.ticket-date-box .month { font-size: 0.8rem; text-transform: uppercase; font-weight: 600; margin-top: 4px; }
.ticket-info { flex: 1; }
.ticket-time { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.ticket-service { font-size: 0.9rem; color: var(--text-secondary); }

.portal-package-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
    margin-bottom: 12px;
}
.package-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.package-header h4 { margin: 0; font-size: 1.1rem; color: var(--text-primary); }
.package-badge { background: rgba(139, 168, 136, 0.15); color: var(--primary-color); padding: 4px 10px; border-radius: 12px; font-size: 0.8rem; font-weight: 600; }
.package-progress-bg { width: 100%; height: 8px; background: rgba(0,0,0,0.05); border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.package-progress-fill { height: 100%; background: linear-gradient(to right, var(--gold-color), var(--primary-color)); border-radius: 4px; transition: width 1s ease-out; }
.package-stats { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; }

.portal-bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    z-index: 100;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.03);
}
.portal-nav-item {
    background: transparent; border: none; outline: none;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    color: var(--text-secondary); font-size: 0.75rem; font-weight: 600;
    cursor: pointer; transition: 0.3s;
}
.portal-nav-item i { font-size: 1.3rem; }
.portal-nav-item.active { color: var(--gold-color); }
.portal-nav-item:hover { color: var(--primary-color); }

.therapist-card-portal {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}
.therapist-card-portal .avatar {
    width: 60px; height: 60px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.5rem; font-weight: bold;
    background-size: cover; background-position: center;
}
.therapist-card-portal .info { flex: 1; }
.therapist-card-portal .info h4 { margin: 0; font-size: 1.1rem; color: var(--text-primary); }
.therapist-card-portal .info p { margin: 0; font-size: 0.85rem; color: var(--text-secondary); }

/* Toasts */
#toast-container {
    position: fixed; top: 20px; left: 0; right: 0;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    z-index: 1000; pointer-events: none; padding: 0 20px;
}
.toast {
    background: var(--text-primary); color: white;
    padding: 12px 24px; border-radius: 100px; font-weight: 500; font-size: 0.9rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards, toastOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards 2.7s;
    display: flex; align-items: center; gap: 8px;
}
.toast.success { background: var(--success-color); }
.toast.error { background: var(--danger-color); }

@keyframes toastIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-20px); } }

/* =========================================
   SAAS ADMIN PORTAL STYLES (PREMIUM)
   ========================================= */

.saas-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    background-color: var(--bg-secondary);
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

/* SIDEBAR */
.saas-sidebar {
    width: 260px;
    background-color: #ffffff;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    z-index: 1000;
}

.sidebar-header {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-logo {
    height: 32px;
    object-fit: contain;
}

.mobile-close-sidebar {
    display: none;
}

.sidebar-user {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-user .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.user-role {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.sidebar-nav {
    padding: 24px 16px;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.sidebar-link:hover {
    background-color: rgba(139, 168, 136, 0.05);
    color: var(--primary-color);
}

.sidebar-link.active {
    background-color: rgba(139, 168, 136, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.sidebar-link i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.sidebar-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
}

.btn-logout-sidebar {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-logout-sidebar:hover {
    background: rgba(217, 130, 130, 0.1);
}

/* MAIN WORKSPACE */
.saas-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.saas-header {
    height: 70px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    z-index: 10;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-open-sidebar {
    display: none;
}

.saas-page-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.search-box {
    position: relative;
    width: 250px;
}

.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.search-box input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s;
}

.search-box input:focus {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(139, 168, 136, 0.1);
}

.saas-content {
    flex: 1;
    min-height: 0; /* Ensures flex child can be scrollable */
    overflow-y: auto;
    padding: 32px;
    position: relative;
}

.saas-view {
    display: none;
    animation: fadeIn 0.3s ease;
}

.saas-view.active {
    display: block;
}

/* METRICS GRID */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.metric-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.metric-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.metric-info {
    display: flex;
    flex-direction: column;
}

.metric-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin: 4px 0 0 0;
}

/* PANELS */
.dashboard-panels {
    display: flex;
    gap: 24px;
}

.panel {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
}

.panel h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 0 0 20px 0;
}

.view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.view-header p {
    color: var(--text-secondary);
    margin: 0;
}

/* SAAS DATA TABLE */
.data-table-container {
    background: #ffffff;
    border-radius: 16px;
    overflow-x: auto;
}

.saas-table {
    width: 100%;
    border-collapse: collapse;
}

.saas-table th {
    text-align: left;
    padding: 16px 24px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    background: rgba(244, 241, 235, 0.5);
}

.saas-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.95rem;
    vertical-align: middle;
}

.saas-table tbody tr:hover {
    background-color: rgba(139, 168, 136, 0.02);
}

.table-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-user .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.status-ativa {
    background: rgba(139, 168, 136, 0.15);
    color: var(--primary-color);
}

.status-inativa {
    background: rgba(217, 130, 130, 0.15);
    color: var(--danger-color);
}

.table-actions {
    display: flex;
    gap: 8px;
}

.table-actions button {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.table-actions button:hover {
    background: var(--primary-color);
    color: white;
}

/* FINANCEIRO RANKING LIST */
.ranking-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-secondary);
}
.ranking-list li:last-child {
    border-bottom: none;
}
.ranking-list .rank-pos {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(139,168,136,0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}
.ranking-list .rank-name {
    flex: 1;
    margin: 0 12px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}
.ranking-list .rank-val {
    font-weight: 600;
    color: var(--gold-color);
}

/* RESPONSIVE SAAS - FLOATING BOTTOM DOCK */
@media (max-width: 900px) {
    .saas-sidebar {
        position: fixed;
        bottom: 24px;
        left: 24px;
        right: 24px;
        top: auto;
        width: auto;
        height: 70px;
        flex-direction: row;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 16px 40px rgba(0,0,0,0.12);
        border-radius: 35px;
        transform: none;
        z-index: 1000;
        padding: 0 8px;
        align-items: center;
    }

    /* Ocultar elementos desnecessários no Dock */
    .sidebar-header, 
    .sidebar-user, 
    .sidebar-footer {
        display: none !important;
    }

    .sidebar-nav {
        display: flex;
        flex-direction: row;
        width: 100%;
        padding: 0;
        margin: 0;
        gap: 4px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none; /* Firefox */
        align-items: center;
    }

    .sidebar-nav::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .sidebar-link {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 8px 12px;
        min-width: 68px;
        border-radius: 16px;
        gap: 4px;
        font-size: 0.65rem;
        white-space: nowrap;
    }

    .sidebar-link i {
        font-size: 1.3rem;
        margin-bottom: 2px;
    }

    .sidebar-link.active {
        background-color: var(--primary-color);
        color: white;
    }

    .mobile-open-sidebar, .mobile-close-sidebar {
        display: none; /* Não precisamos mais de toggle */
    }

    .saas-header {
        padding: 0 24px;
    }

    .search-box {
        display: none;
    }
    
    .saas-page-title {
        font-size: 1.2rem;
    }

    .saas-main {
        padding-bottom: 0;
    }

    .saas-content {
        padding: 24px;
        padding-bottom: 110px; /* Espaço para o dock não cobrir o conteúdo final */
    }

    .dashboard-panels {
        flex-direction: column;
    }
    
    /* Mostrar botão de logout no header mobile já que o do sidebar foi oculto */
    .mobile-logout-btn {
        display: flex !important;
    }

    /* Transformar Tabelas SaaS em Cards no Celular (Para Serviços e outras) */
    .saas-table thead {
        display: none;
    }
    .saas-table tbody tr {
        display: block;
        margin-bottom: 16px;
        background: #ffffff;
        border-radius: 16px;
        border: 1px solid var(--border-color);
        padding: 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    }
    .saas-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid var(--bg-secondary);
        font-size: 0.95rem;
    }
    .saas-table tbody td:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .saas-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-secondary);
        font-size: 0.75rem;
        text-transform: uppercase;
        margin-right: 16px;
    }
}

/* =========================================
   SAAS PREMIUM PROFILE CARDS (GRID)
   ========================================= */
.saas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.profile-card-premium {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.profile-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.profile-banner {
    height: 80px;
    background: linear-gradient(135deg, rgba(139,168,136,0.3), rgba(139,168,136,0.8));
    position: relative;
}

.profile-badge {
    position: absolute;
    top: 12px;
    right: 12px;
}

.profile-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #ffffff;
    margin: -35px auto 12px auto;
    position: relative;
    z-index: 2;
}

.profile-info {
    text-align: center;
    padding: 0 20px 20px 20px;
}

.profile-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.profile-role {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.profile-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--bg-secondary);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 16px;
    text-align: left;
}

.profile-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-contact-item i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

.profile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.profile-actions button {
    padding: 10px;
    border-radius: 10px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-edit-profile {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.btn-edit-profile:hover {
    background: var(--border-color);
}

.btn-view-agenda {
    background: rgba(139,168,136,0.1);
    color: var(--primary-color);
}

.btn-view-agenda:hover {
    background: var(--primary-color);
    color: white;
}


/* Portal Profile Icons */
.portal-input-icon {
    position: relative;
}
.portal-input-icon .icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-color);
    font-size: 1.1rem;
    pointer-events: none;
    transition: 0.3s ease;
}
.portal-input-icon input {
    padding-left: 35px !important;
}
.portal-input-icon label {
    left: 35px !important;
}
.portal-input-icon input:focus ~ .icon,
.portal-input-icon input:not(:placeholder-shown) ~ .icon {
    color: var(--primary-color);
}

/* History Detail Card */
.history-detail-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-left: 5px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s ease;
}
.history-detail-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(205, 163, 79, 0.15);
}
.history-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.history-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}
.history-status {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
}
.history-status.concluido { background: rgba(139,168,136,0.15); color: var(--primary-color); }
.history-status.pendente { background: rgba(205,163,79,0.15); color: var(--gold-color); }
.history-status.agendado { background: rgba(23,162,184,0.1); color: #17a2b8; }
.history-service {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 4px 0;
}
.history-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px dashed rgba(0,0,0,0.05);
}
.history-therapist {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.history-value-badge {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-color);
    background: rgba(205,163,79,0.1);
    padding: 4px 10px;
    border-radius: 8px;
}


.portal-input-icon input:focus ~ label,
.portal-input-icon input:not(:placeholder-shown) ~ label {
    left: 0 !important;
}



.therapist-card-portal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(205, 163, 79, 0.15);
}



.client-card {
    flex-wrap: wrap;
}
.client-card .client-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}
@media (max-width: 450px) {
    .client-card .client-actions {
        width: 100%;
        margin-top: 16px;
        justify-content: flex-start;
    }
}


.client-actions {
    margin-left: auto;
}
@media (max-width: 480px) {
    .client-actions {
        margin-left: 0;
    }
}



/* ================= TICKET CARDS (Financeiro) ================= */
.tickets-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.ticket-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ticket-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.06);
    border-color: rgba(205, 163, 79, 0.3);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 12px;
}

.ticket-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticket-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
}

.ticket-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.ticket-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.ticket-value-main {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold-color);
}

.ticket-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    display: flex;
    justify-content: center;
}

/* ================= RECIBO MODAL ================= */
.recibo-container {
    background: #ffffff;
    border: 1px solid #efece7;
    border-radius: 8px;
    padding: 24px;
    margin: 16px 0;
    font-family: 'Courier New', Courier, monospace;
    color: #2b2621;
    text-align: left;
}

.recibo-header {
    text-align: center;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.recibo-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.recibo-total {
    border-top: 1px dashed #ccc;
    padding-top: 16px;
    margin-top: 16px;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

@media print {
    body * {
        visibility: hidden;
    }
    #modal-recibo .modal-content, #modal-recibo .recibo-container, #modal-recibo .recibo-container * {
        visibility: visible;
    }
    #modal-recibo .recibo-container {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        border: none;
        box-shadow: none;
    }
    .modal-header, .recibo-actions {
        display: none !important;
    }
}


@media print {
    body * {
        visibility: hidden;
    }
    #modal-recibo {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
        padding: 0;
        min-height: 550px;
        visibility: visible;
        background: transparent !important;
    }
    #modal-recibo.active {
        display: block !important;
    }
    #recibo-print-area, #recibo-print-area * {
        visibility: visible;
    }
    #recibo-print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        max-width: 800px;
        padding: 20px;
        box-shadow: none !important;
        border: none !important;
    }
    .no-print, .os-actions, .modal-header, .close-modal {
        display: none !important;
    }
}


/* =========================================
   PACCOTES ADMIN CARDS (SAAS VIEW)
========================================= */
.admin-pacote-card {
    background: linear-gradient(145deg, #ffffff, #fcfcfc);
    border: 1px solid rgba(205, 163, 79, 0.15);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.admin-pacote-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold-color));
}

.admin-pacote-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.admin-pacote-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.admin-pacote-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.5px;
}

.admin-pacote-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.admin-pacote-info {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.admin-pacote-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-pacote-price {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* =========================================
   CARTEIRA DIGITAL (CLIENTE PACOTES)
========================================= */
.wallet-card {
    background: linear-gradient(135deg, #2b2621 0%, #1a1714 100%);
    border-radius: 16px;
    padding: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.05);
}

.wallet-card::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(205,163,79,0.1) 0%, rgba(0,0,0,0) 60%);
    pointer-events: none;
}

.wallet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.wallet-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wallet-badge {
    background: rgba(205, 163, 79, 0.2);
    color: var(--gold-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(205, 163, 79, 0.3);
}

.wallet-body {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.wallet-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 8px;
    font-weight: 500;
}

.wallet-progress-bg {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

.wallet-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #cda34f, #f2d184);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(205,163,79,0.5);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.wallet-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.8rem;
    color: #888;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 12px;
}

.wallet-id {
    font-family: monospace;
    color: #555;
    letter-spacing: 1px;
}



/* =========================================
   WIZARD DE ONBOARDING
========================================= */
.wizard-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
    animation: fadeInSlide 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wizard-slide.active {
    display: flex;
}

@keyframes fadeInSlide {
    0% { opacity: 0; transform: scale(0.95) translateY(10px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.wizard-icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(205,163,79,0.1), rgba(205,163,79,0.25));
    color: var(--gold-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 24px;
    box-shadow: 0 8px 16px rgba(205,163,79,0.15);
    border: 2px solid rgba(205,163,79,0.3);
}

.wizard-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.wizard-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 90%;
}

.wizard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.wizard-dots {
    display: flex;
    gap: 8px;
}

.wizard-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    transition: all 0.3s ease;
}

.wizard-dot.active {
    background: var(--gold-color);
    width: 24px;
    border-radius: 4px;
}

/* =========================================
   PREMIUM SESSIONS MODAL (REDESIGN)
   ========================================= */

/* Modal Container Override */
.os-modal-premium {
    max-width: 540px !important;
    padding: 0 !important;
    border-radius: 32px 32px 0 0 !important;
    max-height: 92vh !important;
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
    background: var(--bg-secondary) !important;
}

/* ---- HEADER ---- */
.os-modal-header {
    background: linear-gradient(160deg, #ffffff 0%, #fcfbf9 60%, #f4f0e6 100%);
    padding: 28px 24px 24px;
    border-radius: 32px 32px 0 0;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(205, 163, 79, 0.15);
}

/* Subtle gold glow */
.os-modal-header::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(139, 168, 136, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Organic blob */
.os-modal-header::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(205, 163, 79, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.os-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 5;
    backdrop-filter: blur(4px);
}

.os-close-btn:hover,
.os-close-btn:active {
    background: white;
    color: var(--danger-color);
    transform: scale(0.95);
}

.os-header-info {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.os-avatar {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--gold-color), #f2d184);
    color: #2a352b;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(205, 163, 79, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.15);
}

.os-header-text h3 {
    margin: 0;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.os-subtitle {
    margin: 4px 0 0 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 400;
}

/* ---- METRICS ROW ---- */
.os-metrics-row {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.os-metric {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.os-metric:hover {
    background: #fdfdfd;
    transform: translateY(-1px);
}

.os-metric-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(139, 168, 136, 0.2);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.os-metric-icon.done {
    background: rgba(40, 167, 69, 0.2);
    color: #5dd87a;
}

.os-metric-icon.revenue {
    background: rgba(205, 163, 79, 0.2);
    color: var(--gold-color);
}

.os-metric-data {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.os-metric-value {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.os-metric-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---- TOOLBAR (FILTER + ADD) ---- */
.os-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px 12px;
    background: var(--bg-secondary);
    flex-shrink: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.os-filter-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    flex: 1;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
}

.os-filter-chips::-webkit-scrollbar {
    display: none;
}

.os-chip {
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #ffffff;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.os-chip i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

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

.os-chip.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(139, 168, 136, 0.35);
}

.os-chip.active i {
    transform: scale(1.1);
}

.os-add-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, var(--gold-color), #dbb560);
    color: white;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(205, 163, 79, 0.35);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.os-add-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(205, 163, 79, 0.45);
}

.os-add-btn:active {
    transform: scale(0.95);
}

/* ---- SCROLLABLE BODY ---- */
.os-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px 32px;
    background: var(--bg-secondary);
    scroll-behavior: smooth;
}

.os-body::-webkit-scrollbar {
    width: 4px;
}

.os-body::-webkit-scrollbar-track {
    background: transparent;
}

.os-body::-webkit-scrollbar-thumb {
    background: rgba(139, 168, 136, 0.3);
    border-radius: 4px;
}

/* ---- TIMELINE ---- */
.os-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    padding-left: 20px;
}

/* Timeline vertical line */
.os-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 16px;
    bottom: 16px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--gold-color), rgba(205, 163, 79, 0.15));
    border-radius: 2px;
}

/* ---- SESSION CARD ---- */
.sessao-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 16px rgba(61, 74, 62, 0.04);
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateX(20px);
    animation: sessaoSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sessao-card:hover {
    box-shadow: 0 8px 28px rgba(61, 74, 62, 0.08);
    transform: translateY(-2px);
}

/* Timeline dot */
.sessao-card::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 24px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid var(--bg-secondary);
    z-index: 2;
    box-shadow: 0 2px 6px rgba(139, 168, 136, 0.3);
    transition: all 0.3s ease;
}

.sessao-card:hover::before {
    transform: scale(1.3);
    box-shadow: 0 3px 10px rgba(139, 168, 136, 0.5);
}

/* Status-specific timeline dots */
.sessao-card.status-concluido::before {
    background: #28a745;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
}

.sessao-card.status-pendente::before {
    background: var(--gold-color);
    box-shadow: 0 2px 6px rgba(205, 163, 79, 0.3);
    animation: pulseDot 2s infinite;
}

.sessao-card.status-agendado::before {
    background: #17a2b8;
    box-shadow: 0 2px 6px rgba(23, 162, 184, 0.3);
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 2px 6px rgba(205, 163, 79, 0.3); }
    50% { box-shadow: 0 2px 14px rgba(205, 163, 79, 0.6); }
}

/* Status accent bar (left border) */
.sessao-card.status-concluido {
    border-left: 4px solid #28a745;
}

.sessao-card.status-pendente {
    border-left: 4px solid var(--gold-color);
    background: linear-gradient(135deg, #ffffff, #fffdf7);
}

.sessao-card.status-agendado {
    border-left: 4px solid #17a2b8;
}

/* ---- Card top row ---- */
.sessao-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.sessao-date-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sessao-date-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    flex-shrink: 0;
}

.sessao-date-badge.bg-sage {
    background: rgba(139, 168, 136, 0.12);
    color: var(--primary-color);
}

.sessao-date-badge.bg-gold {
    background: rgba(205, 163, 79, 0.12);
    color: var(--gold-color);
}

.sessao-date-badge.bg-teal {
    background: rgba(23, 162, 184, 0.12);
    color: #17a2b8;
}

.sessao-date-badge .day {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
}

.sessao-date-badge .month {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sessao-date-text h5 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.sessao-date-text p {
    margin: 3px 0 0 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Status badge */
.sessao-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.sessao-status.st-concluido {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.sessao-status.st-agendado {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
    border: 1px solid rgba(23, 162, 184, 0.2);
}

.sessao-status.st-pendente {
    background: rgba(205, 163, 79, 0.1);
    color: var(--gold-color);
    border: 1px solid rgba(205, 163, 79, 0.25);
}

/* ---- Card details row ---- */
.sessao-details {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    margin-bottom: 10px;
}

.sessao-detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.sessao-detail-item i {
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

.sessao-detail-item.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.sessao-pacote-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    background: linear-gradient(135deg, rgba(205, 163, 79, 0.12), rgba(205, 163, 79, 0.05));
    color: #b58d3c;
    border: 1px solid rgba(205, 163, 79, 0.3);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* ---- Card actions row ---- */
.sessao-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sessao-action-btn {
    padding: 7px 14px;
    border-radius: 12px;
    border: none;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.sessao-action-btn:active {
    transform: scale(0.95);
}

.sessao-action-btn.btn-concluir {
    background: linear-gradient(135deg, var(--primary-color), #7a9a76);
    color: white;
    box-shadow: 0 4px 14px rgba(139, 168, 136, 0.35);
}

.sessao-action-btn.btn-concluir:hover {
    box-shadow: 0 6px 18px rgba(139, 168, 136, 0.45);
    transform: translateY(-1px);
}

.sessao-action-btn.btn-reabrir OS {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
    border: 1px solid rgba(23, 162, 184, 0.2);
}

.sessao-action-btn.btn-reabrir OS:hover {
    background: rgba(23, 162, 184, 0.15);
}

.sessao-action-btn.btn-whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.sessao-action-btn.btn-whatsapp:hover {
    background: rgba(37, 211, 102, 0.15);
}

.sessao-action-btn.btn-recibo {
    background: rgba(205, 163, 79, 0.1);
    color: var(--gold-color);
    border: 1px solid rgba(205, 163, 79, 0.25);
}

.sessao-action-btn.btn-recibo:hover {
    background: rgba(205, 163, 79, 0.15);
}

/* ---- STAGGERED ENTRY ANIMATION ---- */
@keyframes sessaoSlideIn {
    0% {
        opacity: 0;
        transform: translateX(24px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* ---- EMPTY STATE ---- */
.os-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-secondary);
}

.os-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(205, 163, 79, 0.08);
    color: var(--gold-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 20px;
    animation: emptyPulse 3s ease-in-out infinite;
    border: 2px dashed rgba(205, 163, 79, 0.2);
}

@keyframes emptyPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

.os-empty h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.os-empty p {
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto;
}

/* ---- LOADING STATE ---- */
.os-loading {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-secondary);
}

.os-loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(139, 168, 136, 0.15);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: sessaoSpin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes sessaoSpin {
    to { transform: rotate(360deg); }
}

.os-loading p {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ---- DATE GROUP HEADER ---- */
.sessao-date-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 4px;
    padding-left: 0;
    position: relative;
}

.sessao-date-group span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.sessao-date-group::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 400px) {
    .os-metrics-row {
        gap: 6px;
    }

    .os-metric {
        padding: 10px;
        gap: 8px;
    }

    .os-metric-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .os-metric-value {
        font-size: 1rem;
    }

    .os-chip {
        padding: 6px 12px;
        font-size: 0.78rem;
    }

    .sessao-card {
        padding: 14px;
    }

    .sessao-actions {
        flex-direction: column;
    }

    .sessao-action-btn {
        justify-content: center;
        width: 100%;
    }
}
