/* =========================================
   DASHBOARD (Layout Limpo - Saldo no Header)
========================================= */
.dash-header-blue { 
    background-color: var(--primary-dark); 
    color: var(--text-light); 
    padding: 20px 20px 45px 20px; /* Espaço em baixo para arredondar bem */
    border-radius: 0 0 45px 45px; 
    display: flex; 
    flex-direction: column; 
}

/* Linha do topo com menu e sino */
.dash-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.btn-hamburguer { 
    background: none; 
    border: none; 
    color: white; 
    font-size: 24px; 
    cursor: pointer; 
}

/* Container dos Pontos no meio do azul */
.dash-score-container {
    text-align: center;
    margin-top: 15px;
}

.score-title { 
    font-size: 15px; 
    color: var(--text-light); 
    opacity: 0.9;
    letter-spacing: 2px; 
    text-transform: uppercase; 
    margin-bottom: 5px;
}

.score-value { 
    font-size: 4.8rem; 
    font-weight: 900; 
    color: var(--text-light); 
    line-height: 1; 
}

.score-pending {
    font-size: 13px;
    color: #e4b443;
    font-weight: bold;
    margin-top: 8px;
    letter-spacing: 1px;
}

.dash-user-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
}

.dash-user-text span { 
    font-size: 13px; 
    color: #666; 
    font-weight: 600;
}

.dash-user-text h2 { 
    font-size: 18px; 
    margin: 0; 
    font-weight: 900; 
    color: var(--primary-dark); 
    text-transform: uppercase; 
}

.dash-avatar { 
    width: 45px; 
    height: 45px; 
    border-radius: 50%; 
    background: #f0f2f5; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--primary-dark); 
    font-size: 22px; 
}

.dash-pillars-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 15px; 
    padding: 0 20px 20px; 
}

.pillar-card { 
    border-radius: 20px; 
    aspect-ratio: 1 / 1; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-decoration: none; 
    color: white; 
    font-size: 55px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    transition: transform 0.1s;
}

.pillar-card:active { transform: scale(0.96); }

.bg-red { background-color: #cb314c; } 
.bg-blue { background-color: #55acee; } 
.bg-yellow { background-color: #e4b443; } 
.bg-green { background-color: #5ab172; }

.agenda-header-clean {
    background-color: var(--primary-dark); 
    padding: 30px 20px 40px 20px; 
    border-radius: 0 0 35px 35px;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
    position: relative; 
    z-index: 100;
}

.agenda-header-titles {
    text-align: center;
    flex: 1;
}

.agenda-header-titles span {
    font-size: 0.8rem; 
    opacity: 0.8; 
    text-transform: uppercase; 
    letter-spacing: 2px;
}

.agenda-header-titles h2 { 
    margin: 2px 0 0 0; 
    font-size: 1.4rem; 
    font-weight: 800; 
}

.header-icon-btn {
    background: rgba(255,255,255,0.15); 
    border: none; 
    border-radius: 12px; 
    width: 42px; 
    height: 42px;
    color: white; 
    font-size: 1.2rem; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: transform 0.2s, background 0.2s;
}

.header-icon-btn:active { 
    transform: scale(0.9); 
    background: rgba(255,255,255,0.25); 
}

.agenda-container {
    padding: 20px 15px 100px 15px;
    margin-top: -20px;
}

.event-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    position: relative;
    transition: transform 0.2s;
}

.event-cover {
    width: 100%; 
    height: 160px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light)); 
    position: relative;
}

.event-cover img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.event-date-badge {
    position: absolute; 
    top: 15px; 
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 8px 15px; 
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.event-date-badge .day { display: block; font-size: 1.4rem; font-weight: 900; color: var(--primary-dark); line-height: 1; }
.event-date-badge .month { font-size: 0.75rem; font-weight: 700; color: var(--primary-light); text-transform: uppercase; }

.event-body { padding: 20px; }
.event-title { margin: 0 0 10px 0; font-size: 1.3rem; color: #1e293b; font-weight: 800; letter-spacing: -0.5px; }
.event-info { display: flex; align-items: center; gap: 8px; color: #64748b; font-size: 0.9rem; margin-bottom: 6px; }
.event-info i { color: var(--primary-light); width: 15px; text-align: center; }

.event-actions {
    display: flex; gap: 10px; margin-top: 20px; border-top: 1px solid #f1f5f9; padding-top: 15px;
}

.btn-rsvp {
    flex: 1; padding: 12px; border-radius: 12px; border: none; font-weight: 700; font-size: 0.95rem;
    cursor: pointer; transition: all 0.3s; background: var(--primary-dark); color: white;
}

.btn-rsvp.confirmed {
    background: #22c55e; color: white; box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.fomo-container { 
    display: flex; align-items: center; gap: 10px; margin-top: 15px; 
    padding: 10px 12px; border-radius: 12px; background: #f8fafc; border: 1px solid #f1f5f9;
}

.fomo-text { font-size: 0.85rem; color: #64748b; line-height: 1.2; flex: 1; }
.fomo-text strong { color: var(--primary-dark); font-weight: 800; }
.fomo-empty { font-size: 0.85rem; color: #94a3b8; font-style: italic; }

.balance-showcase { 
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0f172a 100%); 
    border-radius: 24px; padding: 22px 25px; margin-bottom: 25px; display: flex; 
    justify-content: space-between; align-items: center; box-shadow: 0 15px 35px rgba(15, 23, 42, 0.2); 
    position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); 
}
.balance-showcase::after { 
    content: ''; position: absolute; right: -20px; top: -40px; width: 120px; height: 120px; 
    background: var(--primary-light); opacity: 0.4; filter: blur(40px); border-radius: 50%; z-index: 0; 
}
.bs-content { position: relative; z-index: 1; }
.bs-label { font-size: 0.8rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; margin-bottom: 5px; display: block; }
.bs-value { font-size: 2.2rem; font-weight: 900; color: white; letter-spacing: -1px; display: flex; align-items: baseline; gap: 6px; }
.bs-value small { font-size: 1rem; color: var(--primary-light); font-weight: 700; }
.bs-icon { width: 55px; height: 55px; background: rgba(255,255,255,0.1); border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white; backdrop-filter: blur(10px); position: relative; z-index: 1; border: 1px solid rgba(255,255,255,0.1); }

.shop-tabs { display: flex; gap: 10px; margin-bottom: 20px; background: white; padding: 6px; border-radius: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); border: 1px solid #f1f5f9;}
.st-tab { flex: 1; padding: 12px; border-radius: 16px; text-align: center; font-weight: 800; color: #64748b; cursor: pointer; transition: 0.3s; font-size: 0.95rem; }
.st-tab.active { background: var(--primary-dark); color: white; box-shadow: 0 4px 15px rgba(2, 35, 59, 0.25); }

.shop-header-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.shop-header-title h3 { margin: 0; color: var(--primary-dark); font-size: 1.2rem; font-weight: 900; }
.shop-filter { padding: 8px 12px; border-radius: 12px; border: 1px solid #e2e8f0; background: white; font-size: 0.85rem; font-weight: 700; color: #1e293b; outline: none; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; padding-bottom: 90px; }
.shop-card { background: white; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.04); border: 1px solid #f1f5f9; display: flex; flex-direction: column; transition: all 0.3s; position: relative; cursor: pointer; }
.shop-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); border-color: #e2e8f0; }
.shop-img-box { width: 100%; aspect-ratio: 1 / 1; background: #f8fafc; position: relative; display: flex; align-items: center; justify-content: center; padding: 15px; box-sizing: border-box; }
.shop-img-box img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.3s; }
.shop-card:hover .shop-img-box img { transform: scale(1.08); }

.shop-badge { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, 0.85); color: #1e293b; padding: 5px 12px; border-radius: 12px; font-size: 0.75rem; font-weight: 800; backdrop-filter: blur(8px); box-shadow: 0 4px 10px rgba(0,0,0,0.08); border: 1px solid rgba(255,255,255,0.5); z-index: 2; }

@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }
.badge-scarcity { background: rgba(239, 68, 68, 0.95) !important; color: white !important; border-color: #ef4444 !important; animation: pulse-red 2s infinite; }

.shop-info { padding: 18px; flex: 1; display: flex; flex-direction: column; background: white; z-index: 2; position: relative; }
.shop-title { font-weight: 800; color: #1e293b; font-size: 1rem; margin: 0 0 6px 0; line-height: 1.3; }
.shop-price { color: var(--primary-light); font-weight: 900; font-size: 1.2rem; display: flex; align-items: center; gap: 6px; }

.my-order-card { background: white; border-radius: 20px; padding: 15px; display: flex; align-items: center; gap: 15px; margin-bottom: 15px; border: 1px solid #f1f5f9; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.my-order-img { width: 60px; height: 60px; border-radius: 12px; background: #f8fafc; object-fit: cover; border: 1px solid #e2e8f0; flex-shrink: 0; }
.my-order-info { flex: 1; }
.my-order-title { font-weight: 800; color: #1e293b; font-size: 1rem; margin: 0 0 4px 0; }
.my-order-date { font-size: 0.75rem; color: #64748b; font-weight: 600; }
.my-order-status { font-size: 0.75rem; font-weight: 800; padding: 6px 12px; border-radius: 10px; text-transform: uppercase; text-align: center; }
.status-pendente { background: #fef9c3; color: #ca8a04; }
.status-entregue { background: #dcfce7; color: #16a34a; }

.zero-balance-banner { background: #fffbeb; border: 1px solid #fde68a; border-radius: 16px; padding: 15px; margin-bottom: 20px; display: flex; align-items: center; gap: 15px; }
.zero-balance-banner i { font-size: 2rem; color: #f59e0b; }

.btn-buy { width: 100%; padding: 15px; background: var(--primary-dark); color: white; border: none; border-radius: 16px; font-weight: 800; font-size: 1.05rem; cursor: pointer; transition: 0.2s; display: flex; justify-content: center; align-items: center; gap: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.btn-buy:active { transform: scale(0.95); }

.bottom-sheet { 
    position: fixed; 
    left: 0; 
    bottom: 0; 
    width: 100%; 
    background: white; 
    border-radius: 30px 30px 0 0; 
    box-shadow: 0 -10px 40px rgba(0,0,0,0.15); 
    z-index: 10000; 
    transform: translateY(100%); 
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); 
    display: flex; 
    flex-direction: column; 
}

.bottom-sheet.open { 
    transform: translateY(0); 
}

.sheet-header { 
    width: 100%; 
    padding: 15px 0; 
    display: flex; 
    justify-content: center; 
    background: white; 
    border-bottom: 1px solid #f1f5f9; 
    cursor: pointer; 
    flex-shrink: 0; 
    z-index: 10;
    border-radius: 30px 30px 0 0;
}

.drag-handle { 
    width: 50px; 
    height: 6px; 
    background: #cbd5e1; 
    border-radius: 10px; 
}

.sheet-body { 
    flex: 1; 
    overflow-y: auto; 
    padding: 0; 
    position: relative; 
}

.btn-buy { 
    width: 100%; 
    padding: 15px; 
    color: white; 
    border: none; 
    border-radius: 16px; 
    font-weight: 800; 
    font-size: 1.05rem; 
    cursor: pointer; 
    transition: 0.2s; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 8px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
}

.btn-buy:active { transform: scale(0.95); }