/* ============================================
   DESIGN SYSTEM - MOBILE BANKING
   ============================================ */

:root {
    /* Cores principais - modern banking */
    --primary: #3757ff;
    --primary-dark: #2b47e6;
    --primary-light: #5a7aff;
    --secondary: #7c3aed;
    --success: #14b8a6;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    /* Neutros - limpos e modernos */
    --white: #ffffff;
    --bg: #f0f2f5;
    --surface: #ffffff;
    --text: #1a1a2e;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border: #e5e7eb;
    
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Sombras - suaves e elegantes */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.10);
    
    /* Espaçamento */
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    
    /* Tipografia */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    
    /* Bordas */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* Transições */
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: var(--text-base);
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    padding: var(--space-4);
}

/* ============================================
   APP WRAPPER
   ============================================ */

.app-wrapper {
    max-width: 480px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

/* ============================================
   LOGIN SCREEN - COM FUNDO DECORATIVO
   ============================================ */

.login-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    background: linear-gradient(145deg, #f0f4ff 0%, #e8edf5 100%);
    position: relative;
    overflow: hidden;
}

/* Elementos decorativos de fundo */
.bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(55, 87, 255, 0.06);
    animation: pulseCircle 6s ease-in-out infinite;
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: -120px;
    right: -80px;
    background: rgba(55, 87, 255, 0.04);
    animation-delay: 0s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: -60px;
    left: -100px;
    background: rgba(124, 58, 237, 0.05);
    animation-delay: 1s;
}

.circle-3 {
    width: 200px;
    height: 200px;
    top: 30%;
    right: -40px;
    background: rgba(20, 184, 166, 0.04);
    animation-delay: 2s;
}

.circle-4 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20px;
    background: rgba(245, 158, 11, 0.04);
    animation-delay: 0.5s;
}

.circle-5 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
    background: rgba(239, 68, 68, 0.03);
    animation-delay: 1.5s;
}

@keyframes pulseCircle {
    0%, 100% {
        transform: scale(1);
        opacity: 0.15;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.25;
    }
}

/* ============================================
   ILUSTRAÇÃO VETORIAL
   ============================================ */

.illustration-wrapper {
    width: 100%;
    max-width: 320px;
    margin: 0 auto var(--space-4);
    position: relative;
    z-index: 1;
}

.illustration-wrapper svg {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-16px);
    }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* ============================================
   CONTEÚDO DE LOGIN (GLASSMORPHISM)
   ============================================ */

.login-content {
    max-width: 400px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: var(--space-4);
}

.logo-icon {
    font-size: 32px;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #3757ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-message {
    margin-bottom: var(--space-6);
}

.welcome-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--space-2);
}

.welcome-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.highlight {
    color: var(--primary);
    font-weight: 500;
}

.login-button-wrapper {
    margin: var(--space-4) 0;
    display: flex;
    justify-content: center;
}

.login-footer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: var(--space-3);
}

/* Animações de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.6s ease-out 0.3s forwards;
    opacity: 0;
}

/* ============================================
   APP HEADER
   ============================================ */

.app-header {
    padding: var(--space-4) var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.user-area {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex: 1;
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.user-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.user-name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-email {
    font-size: var(--text-xs);
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-logout:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

.btn-logout svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-area {
    padding: var(--space-4) var(--space-6) var(--space-6);
}

.dashboard-header {
    margin-bottom: var(--space-4);
}

.dashboard-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
    letter-spacing: -0.02em;
}

.dashboard-subtitle {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ============================================
   FILTERS
   ============================================ */

.filter-toolbar {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.filter-toolbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    padding-bottom: var(--space-2);
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    min-width: 0;
    scrollbar-width: none;
}

.filter-group::-webkit-scrollbar {
    display: none;
}

.filter-selects {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
}

.year-filter {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--surface);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    white-space: nowrap;
    transition: var(--transition);
}

.year-filter:hover {
    border-color: var(--gray-300);
}

.year-filter:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(55, 87, 255, 0.14);
}

.year-filter-label {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.year-filter select {
    border: none;
    background-color: transparent;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239ca3af' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    color: var(--text);
    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: 500;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    max-width: 44vw;
    padding-right: 18px;
    text-overflow: ellipsis;
}

.year-filter select:disabled {
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.7;
}

.filter-clear-btn {
    align-self: center;
    padding: var(--space-2) var(--space-4);
    border: 1px dashed var(--border);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: var(--text-xs);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.filter-clear-btn:hover {
    border-color: var(--danger);
    color: var(--danger);
}

.filter-summary {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.filter-summary:empty {
    display: none;
}

.empty-state .filter-clear-btn {
    margin-top: var(--space-4);
}

.filter-btn {
    padding: var(--space-2) var(--space-5);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.boleto-origem {
    font-size: var(--text-xs, 12px);
    color: var(--text-muted, #64748b);
    padding: 0 var(--space-4, 16px);
    margin-top: calc(var(--space-2, 8px) * -1);
}

/* ============================================
   MESSAGES
   ============================================ */

.alert-container {
    margin-bottom: var(--space-4);
}

.message {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    animation: slideDown 0.3s ease-out;
}

.boleto-confirm-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.boleto-confirm-modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.boleto-confirm-modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.boleto-confirm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.boleto-confirm-card {
    position: relative;
    z-index: 1;
    width: min(92vw, 420px);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    padding: 28px 24px 22px;
    text-align: center;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.boleto-confirm-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    background: #fff7ed;
    font-size: 2rem;
}

.boleto-confirm-title {
    margin: 0 0 10px;
    color: #242020;
    font-size: 1.25rem;
}

.boleto-confirm-text {
    margin: 0 0 20px;
    font-size: 0.96rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.boleto-confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.boleto-confirm-actions .btn {
    min-width: 120px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.success {
    background: #ecfdf5;
    color: #065f46;
}

.message.error {
    background: #fef2f2;
    color: #991b1b;
}

.message.info {
    background: #eff6ff;
    color: #1e40af;
}

/* ============================================
   BOLETOS GRID
   ============================================ */

.boletos-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.boleto-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    transition: var(--transition);
    cursor: default;
}

.boleto-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--gray-300);
}

.boleto-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    flex-shrink: 0;
}

.boleto-info {
    flex: 1;
    min-width: 0;
}

.boleto-month {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text);
}

.boleto-date {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.boleto-status {
    display: inline-block;
    padding: 2px var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.boleto-status.pending {
    background: #fef3c7;
    color: #92400e;
}

.boleto-status.paid {
    background: #d1fae5;
    color: #065f46;
}

.boleto-actions {
    display: flex;
    gap: var(--space-2);
    flex-shrink: 0;
}

.btn {
    padding: var(--space-2) var(--space-4);
    border: none;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-height: 36px;
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover {
    filter: brightness(0.92);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================
   LOADING / EMPTY STATE
   ============================================ */

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    text-align: center;
    padding: var(--space-8) var(--space-4);
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.loading-state.compact {
    padding: var(--space-5) var(--space-4);
}

.loading-spinner {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid rgba(55, 87, 255, 0.16);
    border-top-color: var(--primary);
    animation: spin 0.9s linear infinite;
}

.loading-skeleton {
    width: min(100%, 220px);
    height: 12px;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, var(--gray-100), var(--gray-200), var(--gray-100));
    background-size: 200% 100%;
    animation: shimmer 1.2s ease-in-out infinite;
}

.loading-skeleton.short {
    width: min(100%, 140px);
    height: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.empty-state {
    text-align: center;
    padding: var(--space-12) var(--space-4);
    color: var(--text-muted);
}

.empty-state.compact {
    padding: var(--space-6) var(--space-4);
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: var(--space-4);
    opacity: 0.5;
}

.empty-state-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.empty-state-text {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ============================================
   UTILITY
   ============================================ */

.hidden {
    display: none !important;
}

.update-notice {
    position: fixed;
    left: 50%;
    top: 16px;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.92);
    color: var(--white);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
    font-size: 0.82rem;
    backdrop-filter: blur(8px);
}

.update-notice strong {
    color: #dbeafe;
}

.app-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.app-version-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(55, 87, 255, 0.08);
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.update-app-button {
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.7rem 0.9rem;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(55, 87, 255, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.update-app-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(55, 87, 255, 0.28);
}

.text-center {
    text-align: center;
}

.install-pwa-button {
    position: fixed;
    right: 16px;
    bottom: 24px;
    z-index: 1500;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.9rem 1.2rem;
    box-shadow: 0 12px 30px rgba(55, 87, 255, 0.28);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.install-pwa-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(55, 87, 255, 0.32);
}

.install-pwa-button:active {
    transform: translateY(0);
}

.mt-4 {
    margin-top: var(--space-4);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 480px) {
    body {
        padding: var(--space-2);
    }
    
    .app-wrapper {
        border-radius: var(--radius-lg);
    }
    
    .app-header {
        padding: var(--space-3) var(--space-4);
    }
    
    .main-area {
        padding: var(--space-3) var(--space-4) var(--space-4);
    }
    
    .login-screen {
        padding: var(--space-4);
    }
    
    .login-content {
        padding: var(--space-4);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    
    .illustration-wrapper {
        max-width: 220px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .welcome-title {
        font-size: 1.1rem;
    }
    
    .welcome-subtitle {
        font-size: 0.85rem;
    }
    
    .boleto-card {
        flex-wrap: wrap;
    }
    
    .boleto-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .filter-toolbar-row {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-clear-btn {
        align-self: flex-start;
    }

    .filter-selects {
        gap: var(--space-2);
    }

    .year-filter {
        flex: 1 1 calc(50% - var(--space-2));
        justify-content: space-between;
    }

    .year-filter select {
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
    }
}

/* ============================================
   DARK THEME
   ============================================ */

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0f0f1a;
        --surface: #1a1a2e;
        --text: #f0f0f5;
        --text-secondary: #a0a0b8;
        --text-muted: #6b6b85;
        --border: #2a2a40;
        --gray-50: #1a1a2e;
        --gray-100: #2a2a40;
        --gray-200: #3a3a55;
        --gray-300: #4a4a6a;
    }
    
    .login-screen {
        background: linear-gradient(145deg, #0f0f1a 0%, #1a1a2e 100%);
    }
    
    .login-content {
        background: rgba(26, 26, 46, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-color: rgba(255, 255, 255, 0.06);
    }
    
    .logo-text {
        background: linear-gradient(135deg, #5a7aff, #a78bfa);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .welcome-title {
        color: var(--text);
    }
    
    .welcome-subtitle {
        color: var(--text-secondary);
    }
    
    .highlight {
        color: #5a7aff;
    }
    
    .login-footer {
        color: var(--text-muted);
    }
    
    .circle {
        background: rgba(90, 122, 255, 0.04);
    }
    
    .circle-1 { background: rgba(55, 87, 255, 0.06); }
    .circle-2 { background: rgba(124, 58, 237, 0.06); }
    .circle-3 { background: rgba(20, 184, 166, 0.04); }
    .circle-4 { background: rgba(245, 158, 11, 0.04); }
    .circle-5 { background: rgba(239, 68, 68, 0.03); }
    
    .app-wrapper {
        background: var(--surface);
    }
    
    .app-header {
        background: var(--surface);
        border-color: var(--border);
    }
    
    .boleto-card {
        background: var(--surface);
        border-color: var(--border);
    }
    
    .boleto-card:hover {
        border-color: var(--gray-300);
    }
    
    .filter-btn {
        border-color: var(--border);
        color: var(--text-secondary);
    }
    
    .filter-btn:hover {
        border-color: var(--primary);
        color: var(--primary-light);
    }
    
    .btn-logout {
        border-color: var(--border);
        color: var(--text-secondary);
    }
    
    .btn-logout:hover {
        background: var(--gray-50);
        border-color: var(--gray-300);
    }
    
    .boleto-status.pending {
        background: rgba(245, 158, 11, 0.15);
        color: #fbbf24;
    }
    
    .boleto-status.paid {
        background: rgba(20, 184, 166, 0.15);
        color: #34d399;
    }
    
    .message.success {
        background: rgba(20, 184, 166, 0.12);
        color: #34d399;
    }
    
    .message.error {
        background: rgba(239, 68, 68, 0.12);
        color: #f87171;
    }
    
    .message.info {
        background: rgba(55, 87, 255, 0.12);
        color: #818cf8;
    }
}