/* ===== GOOGLE FONTS & RESET ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 12px 36px 0 rgba(0, 0, 0, 0.15);
    
    --accent-purple: #c77dff;
    --accent-blue: #4facfe;
    --accent-green: #25d366;
    
    --radius-card: 24px;
    --radius-btn: 16px;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.65);
}

body {
    font-family: 'Outfit', sans-serif;
    background: radial-gradient(circle at 80% 20%, rgba(235, 211, 155, 0.08) 0%, transparent 55%),
                radial-gradient(circle at 20% 10%, rgba(126, 135, 197, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 10% 80%, rgba(91, 142, 150, 0.12) 0%, transparent 55%),
                radial-gradient(circle at 90% 90%, rgba(104, 146, 131, 0.12) 0%, transparent 55%),
                #0e0f19;
    background-attachment: fixed;
    background-size: cover;
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    justify-content: center;
}

/* ===== BACKGROUND DECORATIVE GLOWS ===== */
.bg-glow {
    display: none; /* We use CSS gradients on the body to mimic the background perfectly */
}
.bg-glow-1 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, #7b3fe4, #c77dff);
    top: 5%;
    left: -10%;
}
.bg-glow-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #fc6076, #ff9a44);
    bottom: 20%;
    right: -15%;
}
.bg-glow-3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, #4facfe, #00f2fe);
    top: 50%;
    left: 20%;
    opacity: 0.15;
}

/* ===== APP WRAPPER ===== */
.app-wrapper {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 90px; /* Space for fixed bottom navigation */
}

/* ===== GLASS CARD STYLE ===== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-card);
}

.card-margin {
    margin: 0 1.25rem 1.25rem 1.25rem;
    padding: 1.25rem;
}

/* ===== AUTH / LOGIN SCREEN ===== */
.auth-wrapper {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1000;
    background: radial-gradient(circle at center, #7b8b9e 0%, #4f527c 100%);
}
.auth-card {
    width: 100%;
    max-width: 400px;
    padding: 2.2rem 1.8rem;
    animation: scaleUp 0.3s ease;
}
.auth-header {
    text-align: center;
    margin-bottom: 1.75rem;
}
.auth-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}
.auth-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: #ffffff;
}
.auth-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== FORM CONTROLS ===== */
.form-group {
    margin-bottom: 1.1rem;
}
.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-input-glass, .form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid var(--glass-border);
    border-radius: 14px;
    padding: 0.8rem 1rem;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.25s ease;
}
.form-input-glass:focus, .form-input:focus {
    border-color: #ffffff;
    background: rgba(255,255,255,0.14);
    box-shadow: 0 0 10px rgba(255,255,255,0.15);
}

/* ===== BUTTONS ===== */
.btn-primary-full {
    width: 100%;
    background: linear-gradient(135deg, #7b3fe4, #c77dff);
    color: white;
    border: none;
    border-radius: var(--radius-btn);
    padding: 0.9rem;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(123, 63, 228, 0.25);
    margin-bottom: 0.75rem;
    transition: transform 0.15s ease, opacity 0.15s;
}
.btn-primary-full:active { transform: scale(0.98); }

.btn-secondary-full {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-btn);
    padding: 0.9rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-secondary-full:hover { background: rgba(255, 255, 255, 0.14); }

.btn-primary-glass {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-btn);
    padding: 0.75rem 1.25rem;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}
.btn-primary-glass:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}
.btn-primary-glass:active { transform: translateY(0); }

.btn-danger-glass {
    background: rgba(255, 75, 75, 0.06);
    color: #ff4d4d;
    border: 1.5px solid rgba(255, 75, 75, 0.15);
    border-radius: var(--radius-btn);
    padding: 0.75rem 1.25rem;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-danger-glass:hover { background: rgba(255, 75, 75, 0.12); border-color: rgba(255, 75, 75, 0.3); }

/* ===== APP HEADER (GLASS BRAND) ===== */
.app-header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    margin-bottom: 0.5rem;
}
.app-title-brand {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-white);
    text-shadow: 0 4px 16px rgba(0,0,0,0.05);
    letter-spacing: -0.5px;
}
.brand-ver {
    background: linear-gradient(135deg, #3a86c8, #00b4d8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.brand-day {
    background: linear-gradient(135deg, #c77dff, #ff85a1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.app-title-brand-main {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1.2px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.35);
    margin: 0;
}
.user-profile-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(123, 63, 228, 0.08);
    border: 1.5px solid rgba(123, 63, 228, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.user-profile-badge:hover { transform: scale(1.08); }
.avatar-initials {
    font-size: 0.88rem;
    font-weight: 700;
}
.btn-logout-glass {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    transition: color 0.2s;
}
.btn-logout-glass:hover { color: #ff4d4d; }

.btn-admin-glass {
    background: rgba(199, 125, 255, 0.12);
    color: var(--accent-purple);
    border: 1.5px solid rgba(199, 125, 255, 0.3);
    border-radius: 12px;
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-admin-glass:hover { background: rgba(199, 125, 255, 0.22); transform: translateY(-1px); }

/* ===== BIG CALENDAR BADGE ===== */
.center-calendar-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.calendar-glass-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    border: 1.5px solid var(--glass-border);
    border-radius: 20px;
    width: 84px;
    height: 84px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glass-shadow);
}
.cal-icon-emoji {
    font-size: 1.1rem;
    margin-top: 2px;
}
.cal-day-num {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-purple);
}
.cal-month-name {
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
}

/* ===== TAB SYSTEM ===== */
.tab-view {
    display: none;
    animation: tabFadeIn 0.3s ease;
}
.tab-view.active {
    display: block;
}
@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== TODAY BIRTHDAYS SECTION ===== */
.card-title-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.btn-nav-day {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--text-white);
    font-size: 0.8rem;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.btn-nav-day:hover { background: rgba(0,0,0,0.06); transform: scale(1.08); }

.list-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Person Item styling */
.person-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.person-item:last-child { border-bottom: none; }
.person-item .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: white;
    border: 1.5px solid rgba(255,255,255,0.25);
    flex-shrink: 0;
}
.person-item .info {
    flex: 1;
    min-width: 0;
}
.person-item .info h3 {
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.1rem;
}
.person-item .info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.person-item .btn-send {
    background: linear-gradient(135deg, #4facfe, #7b6ef6);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.5rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s;
    white-space: nowrap;
}
.person-item .btn-send:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(79,172,254,0.3); }
.person-item .badge-sent {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.25);
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.4rem 0.6rem;
}

/* ===== MEUS CADASTROS / COLLAPSIBLE ===== */
.month-list-section {
    display: none;
}
.month-list-section.visible {
    display: block;
}
.month-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.month-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid var(--glass-border);
    color: var(--text-white);
    border-radius: 12px;
    padding: 0.4rem 0.75rem;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}
.month-select option {
    background: #121324;
    color: white;
}

/* Compact list details */
.person-item-compact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.person-item-compact:last-child { border-bottom: none; }
.person-item-compact .avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.15);
    flex-shrink: 0;
}
.person-item-compact .info {
    flex: 1;
    min-width: 0;
}
.person-item-compact .info h3 {
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.05rem;
}
.person-item-compact .info p {
    font-size: 0.72rem;
    color: var(--text-muted);
}
.btn-delete {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.25);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.btn-delete:hover { background: rgba(255, 75, 75, 0.12); color: #ff4b4b; }

.btn-whatsapp-discreet {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.25);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.btn-whatsapp-discreet:hover { background: rgba(37, 211, 102, 0.12); color: #25d366; }

.btn-edit-discreet {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.25);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.btn-edit-discreet:hover { background: rgba(123, 63, 228, 0.15); color: #c77dff; }

/* ===== TAB 2: BUSCAR ===== */
.search-input-glass {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.8rem;
    border-radius: 16px;
    border: 2.2px solid var(--glass-border);
    background: rgba(255,255,255,0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 0.95rem center;
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input-glass:focus {
    border-color: #4facfe;
    box-shadow: 0 0 12px rgba(79,172,254,0.25);
}

/* ===== TAB 4: IMPORT AREA ===== */
.import-area-box {
    border: 2px dashed rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    padding: 2.2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
}
.import-area-box:hover {
    background: rgba(255,255,255,0.06);
    border-color: #ffd93d;
}

/* ===== MODAL & SHEETS ===== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    animation: overlayFade 0.2s ease;
}
@media (min-width: 480px) {
    .modal {
        align-items: center;
        justify-content: center;
    }
    .modal-content {
        border-radius: var(--radius-card) !important;
        margin: 1.5rem;
    }
}
.modal.hidden { display: none; }
.modal-content {
    background: linear-gradient(135deg, rgba(30, 32, 58, 0.9) 0%, rgba(18, 19, 36, 0.95) 100%);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1.5px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    padding: 1.5rem;
    border-bottom: none;
    animation: slideUp 0.3s cubic-bezier(0.1, 0.76, 0.55, 0.94);
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.modal-content::-webkit-scrollbar {
    display: none;
}
.modal-handle {
    width: 36px;
    height: 5px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    margin: -0.5rem auto 1rem;
}
.btn-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
    line-height: 1;
    font-size: 1.15rem;
    font-weight: 300;
}
.btn-close:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transform: rotate(90deg) scale(1.05);
}
.modal-title {
    font-size: 1.15rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.25rem;
}

/* Admin Users UI */
.admin-user-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.admin-user-item:last-child { border-bottom: none; }
.admin-user-info p { font-size: 0.85rem; font-weight: 600; }
.admin-user-info span { font-size: 0.7rem; color: var(--text-muted); }
.badge-status {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}
.badge-status.approved { background: rgba(37,211,102,0.12); color: #25d366; }
.badge-status.pending  { background: rgba(255,217,61,0.12);  color: #ffd93d; }
.btn-approve {
    background: #25d366;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
}
.btn-revoke {
    background: rgba(255, 255, 255, 0.06);
    color: #ff4b4b;
    border: 1px solid rgba(255, 75, 75, 0.25);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
}

/* ===== FIXED BOTTOM NAVIGATION BAR ===== */
.bottom-nav-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 72px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-top: 1.5px solid var(--glass-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 0.5rem;
    z-index: 500;
}
.nav-item {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    cursor: pointer;
    width: 20%;
    height: 100%;
    transition: all 0.2s ease;
}
.nav-item.active {
    color: #ffffff;
}
.nav-icon {
    font-size: 1.25rem;
    line-height: 1;
    transition: transform 0.2s;
}
.nav-item.active .nav-icon {
    transform: scale(1.18);
}
.nav-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}
.badge-notif-nav {
    position: absolute;
    top: 4px;
    right: 18px;
    background: #ff4d6d;
    color: white;
    font-size: 0.58rem;
    font-weight: 800;
    border-radius: 10px;
    padding: 0.1rem 0.35rem;
    border: 1.5px solid rgba(255,255,255,0.15);
}

/* ===== STATUS MESSAGES ===== */
.status-message {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    animation: fadeIn 0.2s ease;
}
.status-message.success { background: rgba(37,211,102,0.12); color: #25d366; border: 1.2px solid rgba(37,211,102,0.2); }
.status-message.error   { background: rgba(255,77,109,0.12);  color: #ff4d6d; border: 1.2px solid rgba(255,77,109,0.2); }
.status-message.hidden  { display: none; }

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes overlayFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp     { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes scaleUp     { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes fadeIn      { from { opacity: 0; } to { opacity: 1; } }

/* ===== DONATION FLOW & GOLDEN THEME ===== */
.btn-donate-glass {
    background: rgba(255, 217, 61, 0.08);
    border: 1.5px solid rgba(255, 217, 61, 0.25);
    color: #ffd93d;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.4rem 0.75rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.btn-donate-glass:hover {
    background: rgba(255, 217, 61, 0.16);
    border-color: rgba(255, 217, 61, 0.45);
    transform: scale(1.04);
}

.modal-donate-content {
    background: linear-gradient(135deg, #1b0f3a 0%, #3a1c1c 50%, #4a341a 100%) !important;
    border: 1px solid rgba(255, 217, 61, 0.2) !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6) !important;
}

.modal-donate-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    color: #ffd93d;
    text-shadow: 0 2px 10px rgba(255, 217, 61, 0.2);
    margin-bottom: 1.25rem;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.modal-donate-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    margin-bottom: 1.5rem;
}

.btn-golden-full {
    width: 100%;
    background: linear-gradient(135deg, #ffd93d, #d4af37);
    color: #121324;
    border: none;
    border-radius: 28px;
    padding: 0.95rem;
    font-family: inherit;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 217, 61, 0.25);
    transition: transform 0.15s ease, opacity 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.btn-golden-full:active {
    transform: scale(0.98);
}
.btn-golden-full:hover {
    opacity: 0.95;
    box-shadow: 0 6px 24px rgba(255, 217, 61, 0.35);
}

@keyframes pulseGold {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

.gold-star-anim {
    display: inline-block;
    animation: pulseGold 2s infinite ease-in-out;
}

.hidden {
    display: none !important;
}

/* ===== MEDIA QUERIES FOR RESPONSIVENESS ===== */

/* For Tablet and Desktop Screens */
@media (min-width: 768px) {
    .app-wrapper {
        max-width: 640px; /* Let it stretch slightly wider on tablet/desktop for a more dashboard-like experience */
    }
    .bottom-nav-bar {
        max-width: 640px;
        border-radius: 20px 20px 0 0;
        bottom: 12px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    }
}

/* For Mid-size Phones (e.g., iPhone 11/12/13/14, Galaxy S21) */
@media (max-width: 400px) {
    .card-margin {
        margin: 0 0.85rem 0.85rem 0.85rem;
        padding: 1rem;
    }
    .app-title-brand {
        font-size: 1.6rem;
    }
}

/* For Small/Compact Phones (e.g., iPhone SE, older Androids, narrow screens) */
@media (max-width: 350px) {
    .card-margin {
        margin: 0 0.5rem 0.5rem 0.5rem;
        padding: 0.8rem;
    }
    .app-header-nav {
        padding: 0.85rem;
    }
    .app-title-brand {
        font-size: 1.4rem;
    }
    .calendar-glass-box {
        width: 72px;
        height: 72px;
    }
    .cal-day-num {
        font-size: 1.35rem;
    }
    .person-item .avatar, .person-item-compact .avatar {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
    .person-item .info h3, .person-item-compact .info h3 {
        font-size: 0.8rem;
    }
    .person-item .info p, .person-item-compact .info p {
        font-size: 0.68rem;
    }
    .person-item .btn-send {
        padding: 0.4rem 0.65rem;
        font-size: 0.7rem;
    }
    .nav-icon {
        font-size: 1.1rem;
    }
    .nav-label {
        font-size: 0.58rem;
    }
    .bottom-nav-bar {
        height: 64px;
    }
}


