        html, body {
            margin: 0 !important;
            padding: 0 !important;
            background-color: #0d1b3e !important;
            overflow: hidden;
        }

        /* ===== Bootstrap Modal CSS (ausente do bootstrap.css local) ===== */
        .modal {
            display: none;
            overflow: hidden;
            position: fixed;
            top: 0; right: 0; bottom: 0; left: 0;
            z-index: 1050;
            -webkit-overflow-scrolling: touch;
            outline: 0;
        }
        .modal.fade .modal-dialog {
            -webkit-transition: -webkit-transform .3s ease-out;
            -ms-transition: -ms-transform .3s ease-out;
            transition: transform .3s ease-out;
            -webkit-transform: translate(0, -25%);
            -ms-transform: translate(0, -25%);
            transform: translate(0, -25%);
        }
        .modal.in .modal-dialog {
            -webkit-transform: translate(0, 0);
            -ms-transform: translate(0, 0);
            transform: translate(0, 0);
        }
        .modal-open .modal { overflow-x: hidden; overflow-y: auto; }
        .modal-dialog {
            position: relative;
            width: auto;
            margin: 10px;
        }
        .modal-content {
            position: relative;
            background-color: #fff;
            background-clip: padding-box;
            border: 1px solid #999;
            border: 1px solid rgba(0,0,0,.2);
            border-radius: 6px;
            outline: 0;
            -webkit-box-shadow: 0 3px 9px rgba(0,0,0,.5);
            box-shadow: 0 3px 9px rgba(0,0,0,.5);
        }
        .modal-backdrop {
            position: fixed;
            top: 0; right: 0; bottom: 0; left: 0;
            z-index: 1040;
            background-color: rgba(0, 0, 20, 0.5);
            backdrop-filter: blur(3px);
            -webkit-backdrop-filter: blur(3px);
        }
        .modal-backdrop.fade { opacity: 0; filter: alpha(opacity=0); }
        .modal-backdrop.in { opacity: 1; filter: alpha(opacity=100); }
        .modal-header {
            padding: 15px;
            border-bottom: 1px solid #e5e5e5;
            min-height: 16.43px;
        }
        .modal-header .close { margin-top: -2px; }
        .modal-title { margin: 0; line-height: 1.42857143; }
        .modal-body { position: relative; padding: 15px; }
        .modal-footer {
            padding: 15px;
            text-align: right;
            border-top: 1px solid #e5e5e5;
        }
        .modal-footer:before, .modal-footer:after { display: table; content: " "; }
        .modal-footer:after { clear: both; }
        .modal-footer .btn + .btn { margin-left: 5px; margin-bottom: 0; }
        .modal-footer .btn-group .btn + .btn { margin-left: -1px; }
        .modal-footer .btn-block + .btn-block { margin-left: 0; }
        .modal-scrollbar-measure { position: absolute; top: -9999px; width: 50px; height: 50px; overflow: scroll; }
        @media (min-width:768px) {
            .modal-dialog { width: 600px; margin: 30px auto; }
            .modal-content { -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5); box-shadow: 0 5px 15px rgba(0,0,0,.5); }
            .modal-sm { width: 300px; }
        }
        @media (min-width:992px) { .modal-lg { width: 900px; } }
        .close { float: right; font-size: 21px; font-weight: 700; line-height: 1; color: #000; text-shadow: 0 1px 0 #fff; opacity: .2; filter: alpha(opacity=20); }
        .close:hover, .close:focus { color: #000; text-decoration: none; cursor: pointer; opacity: .5; filter: alpha(opacity=50); }
        button.close { padding: 0; cursor: pointer; background: transparent; border: 0; -webkit-appearance: none; appearance: none; }
        .fade { opacity: 0; -webkit-transition: opacity .15s linear; transition: opacity .15s linear; }
        .fade.in { opacity: 1; }

        /* ===================================================
           LAYOUT PRINCIPAL — duas colunas
        =================================================== */
        .two-column-layout {
            display: flex;
            min-height: 100vh;
            position: relative;
        }

        /* ===================================================
           SIDEBAR (coluna esquerda)
        =================================================== */
        .left-column {
            background: linear-gradient(180deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
            width: 320px;
            min-width: 320px;
            max-width: 320px;
            height: 100vh;
            position: sticky;
            top: 0;
            overflow-y: auto;
            overflow-x: hidden;
            flex-shrink: 0;
            box-shadow: 4px 0 24px rgba(0,0,0,0.25);
            transition: transform 0.32s cubic-bezier(0.4,0,0.2,1),
                        box-shadow 0.32s ease,
                        opacity 0.32s ease;
            z-index: 200;
        }

        /* Padrão geométrico de fundo */
        .left-column::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.03"><path d="M30 30c0-16.569 13.431-30 30-30v60c-16.569 0-30-13.431-30-30z"/></g></g></svg>') repeat;
            opacity: 0.4;
            z-index: 0;
            pointer-events: none;
        }

        .left-column > * { position: relative; z-index: 1; }

        /* -------- Estado FECHADO (desktop com sidebar colapsada) -------- */
        .left-column.sidebar-closed {
            transform: translateX(-100%);
            box-shadow: none;
            opacity: 0;
            min-width: 0;
            max-width: 0;
            width: 0;
            overflow: hidden;
        }

        /* -------- MOBILE / TABLET (<= 800px): sobreposta, fora do fluxo -------- */
        @media (max-width: 800px) {
            .left-column {
                position: fixed;
                top: 0;
                left: 0;
                height: 100vh;
                width: 310px;
                min-width: 310px;
                max-width: 310px;
                transform: translateX(-100%);
                opacity: 1;
                z-index: 1100;
                box-shadow: none;
            }

            .left-column.sidebar-open {
                transform: translateX(0);
                box-shadow: 6px 0 32px rgba(0,0,0,0.45);
            }

            /* No mobile a coluna central sempre ocupa 100% */
            .center-column {
                width: 100% !important;
                max-width: 100vw !important;
            }
        }

        /* -------- DESKTOP (> 800px): sidebar no fluxo, push content -------- */
        @media (min-width: 801px) {
            .left-column {
                transform: translateX(0);
                opacity: 1;
            }
            .left-column.sidebar-closed {
                transform: translateX(-100%);
                opacity: 0;
                min-width: 0;
                max-width: 0;
                width: 0;
            }
        }

        /* -------- TELA GRANDE (>= 1280px): sidebar mais larga -------- */
        @media (min-width: 1280px) {
            .left-column {
                width: 370px;
                min-width: 370px;
                max-width: 370px;
            }
        }
        
        /* Botão de fechar menu — visivel apenas em mobile/tablet */

        /* ===================================================
           BACKDROP (overlay ao abrir sidebar em mobile)
        =================================================== */
        .sidebar-backdrop {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 1050;
            background: rgba(5, 12, 35, 0.62);
            backdrop-filter: blur(3px);
            -webkit-backdrop-filter: blur(3px);
            opacity: 0;
            transition: opacity 0.32s ease;
        }

        .sidebar-backdrop.active {
            display: block;
            opacity: 1;
        }

        /* ===================================================
           ICONE HAMBURGUER \u2192 animação para X
        =================================================== */
        #toggle_menu .ham-line {
            display: block;
            width: 20px;
            height: 2px;
            background: #ffffff;
            border-radius: 2px;
            transition: transform 0.3s ease, opacity 0.3s ease;
            transform-origin: center;
        }

        #toggle_menu .ham-wrap {
            display: flex;
            flex-direction: column;
            gap: 5px;
            width: 20px;
        }

        /* Estado aberto (sidebar visível em mobile) */
        body.sidebar-is-open #toggle_menu .ham-line:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }

        body.sidebar-is-open #toggle_menu .ham-line:nth-child(2) {
            opacity: 0;
            transform: scaleX(0);
        }

        body.sidebar-is-open #toggle_menu .ham-line:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }
        
        /* Logo moderna */
        .logo-container {
            position: relative;
            z-index: 2;
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(20px);
            border: 1.5px solid rgba(255, 255, 255, 0.15);
            border-radius: 18px;
            margin: 20px 15px;
            padding: 18px 16px;
            display: flex;
            align-items: center;
            gap: 14px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
        }
        
        .logo-image {
            width: 45px;
            height: 45px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .empresa-titulo {
            font-size: 20px;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 2px;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            letter-spacing: 0.3px;
        }
        
        .empresa-subtitulo {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 500;
            letter-spacing: 0.2px;
        }
        
        /* Área do usuário moderna */
        .user-info-card {
            position: relative;
            z-index: 2;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(25px);
            border: 1.5px solid rgba(255, 255, 255, 0.2);
            border-radius: 0;
            margin: 0;
            padding: 18px 16px 14px;
            box-shadow: none;
            border-bottom: none;
        }
        
        .welcome-section {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 10px;
        }
        
        .login-inline-btn {
            margin-left: auto;
            display: flex;
            align-items: center;
            gap: 5px;
            background: rgba(102,126,234,0.2);
            border: 1px solid rgba(102,126,234,0.4);
            border-radius: 20px;
            padding: 5px 10px;
            color: #c0c8ff;
            font-size: 12px;
            font-weight: 600;
            text-decoration: none;
            white-space: nowrap;
            transition: background 0.2s, border-color 0.2s;
            cursor: pointer;
        }
        
        .login-inline-btn:hover {
            background: rgba(102,126,234,0.4);
            border-color: rgba(102,126,234,0.7);
            color: #ffffff;
            text-decoration: none;
        }
        
        .user-avatar {
            width: 42px;
            height: 42px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
            font-size: 16px;
            font-weight: 600;
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .user-name {
            font-size: 16px;
            font-weight: 600;
            color: #ffffff;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }
        
        .balance-section {
            background: linear-gradient(135deg, rgba(46, 204, 113, 0.25), rgba(39, 174, 96, 0.25));
            border: 1.5px solid rgba(46, 204, 113, 0.4);
            border-radius: 12px;
            padding: 12px 14px;
            margin-bottom: 0;
            position: relative;
            overflow: hidden;
        }
        
        .balance-amount {
            font-size: 18px;
            font-weight: 700;
            color: #2ecc71;
            display: flex;
            align-items: center;
            gap: 8px;
            text-shadow: 0 2px 6px rgba(46, 204, 113, 0.3);
        }
        
        .balance-label {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 4px;
        }
        
        /* Botão de login/logout integrado ao menu */
        .login-logout-btn.menu-item-modern {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }
        
        .login-logout-btn.menu-item-modern:hover {
            background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
            transform: translateX(5px) scale(1.01);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
        }
        
        /* Estilo para perfil editável */
        #editar_perfil:hover {
            background: rgba(255, 255, 255, 0.25) !important;
            transform: scale(1.05);
            border-color: rgba(255, 255, 255, 0.4) !important;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
        }
        
        #editar_perfil:hover .edit-icon {
            background: #5a67d8 !important;
            transform: scale(1.1) !important;
        }
        
        /* Estilos para a página de apostas */
        .apostas-container {
            padding: 20px;
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
            min-height: 100vh;
            color: white;
        }
        
        .apostas-header {
            text-align: center;
            margin-bottom: 30px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .apostas-title {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 8px;
            color: #ffffff;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }
        
        .apostas-subtitle {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 500;
        }
        
        .apostas-stats {
            display: flex;
            gap: 15px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }
        
        .stat-card {
            flex: 1;
            min-width: 200px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 15px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
        }
        
        .stat-value {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 5px;
        }
        
        .stat-label {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.8);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .apostas-list {
            background: rgba(255, 255, 255, 0.08);
            border-radius: 15px;
            padding: 20px;
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.15);
        }
        
        .apostas-list-header {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid rgba(255, 255, 255, 0.15);
            gap: 12px;
        }

        .apostas-list-header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            gap: 10px;
        }
        
        .apostas-list-title {
            font-size: 20px;
            font-weight: 600;
            margin: 0;
        }
        
        .aposta-item {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .aposta-item:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        }
        
        .aposta-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .aposta-id {
            font-size: 16px;
            font-weight: 600;
            color: #4fd1c7;
        }
        
        .aposta-status {
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .status-pendente {
            background: linear-gradient(135deg, #f39c12, #e67e22);
            color: white;
        }
        
        .status-ganha {
            background: linear-gradient(135deg, #27ae60, #2ecc71);
            color: white;
        }
        
        .status-perdida {
            background: linear-gradient(135deg, #e74c3c, #c0392b);
            color: white;
        }
        
        .aposta-detalhes {
            margin-bottom: 15px;
        }
        
        .aposta-jogo {
            font-size: 16px;
            font-weight: 500;
            margin-bottom: 8px;
            color: #ffffff;
        }
        
        .aposta-mercado {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 5px;
        }
        
        .aposta-odds {
            font-size: 14px;
            color: #4fd1c7;
            font-weight: 600;
        }
        
        .aposta-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 15px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .aposta-valor {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.9);
        }
        
        .aposta-premio {
            font-size: 16px;
            font-weight: 600;
            color: #2ecc71;
        }
        
        .aposta-data {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.6);
        }
        
        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: rgba(255, 255, 255, 0.6);
        }
        
        .empty-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 20px;
            opacity: 0.5;
        }
        
        .btn-voltar {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 12px 30px;
            border-radius: 25px;
            border: none;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-bottom: 20px;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .btn-voltar:hover {
            background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
        }
        
        /* Estilos para a página de regras */
        .regras-container {
            padding: 20px;
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
            min-height: 100vh;
            color: white;
        }
        
        .regras-header {
            text-align: center;
            margin-bottom: 24px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .regras-icon {
            width: 60px;
            height: 60px;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 50%;
            margin: 0 auto 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .regras-title {
            font-size: 26px;
            font-weight: 700;
            margin: 0 0 6px 0;
            color: #ffffff;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }
        
        .regras-subtitle {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 500;
            margin: 0;
        }
        
        .regras-content {
            background: rgba(255, 255, 255, 0.08);
            border-radius: 15px;
            padding: 24px;
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: rgba(255, 255, 255, 0.9);
            font-size: 14px;
            line-height: 1.75;
            -webkit-user-select: none;
            user-select: none;
        }
        
        .regras-content h2,
        .regras-content h3,
        .regras-content strong {
            color: #ffffff;
        }
        
        .regras-loading {
            text-align: center;
            padding: 40px 0;
            color: rgba(255, 255, 255, 0.5);
        }
        
        /* Estilos para a página de editar perfil */
        .perfil-container {
            padding: 20px;
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
            min-height: 100vh;
            color: white;
        }

        .perfil-header {
            text-align: center;
            margin-bottom: 24px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .perfil-foto-wrap {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 0 auto 14px;
            gap: 6px;
        }

        .perfil-foto-preview {
            position: relative;
            width: 88px;
            height: 88px;
            border-radius: 50%;
            background: rgba(255,255,255,0.12);
            border: 3px solid rgba(255,255,255,0.3);
            overflow: hidden;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: border-color 0.2s;
        }

        .perfil-foto-preview:hover { border-color: rgba(255,255,255,0.7); }

        .perfil-foto-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        .perfil-foto-preview svg {
            width: 48px;
            height: 48px;
        }

        .perfil-foto-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,0.45);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.2s;
        }

        .perfil-foto-overlay svg { width: 26px; height: 26px; }

        .perfil-foto-preview:hover .perfil-foto-overlay { opacity: 1; }

        .perfil-foto-hint {
            font-size: 11px;
            color: rgba(255,255,255,0.55);
            letter-spacing: 0.3px;
        }

        .perfil-select {
            appearance: auto;
            color-scheme: dark;
            cursor: pointer;
            background: #243b73 !important;
            color: #ffffff !important;
            -webkit-text-fill-color: #ffffff !important;
        }

        .perfil-select option {
            background: #1a2d5a;
            color: #ffffff;
        }

        .perfil-title {
            font-size: 26px;
            font-weight: 700;
            margin: 0 0 6px 0;
            color: #ffffff;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }

        .perfil-subtitle {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 500;
            margin: 0;
        }

        .perfil-msg {
            padding: 12px 16px;
            border-radius: 10px;
            margin-bottom: 16px;
            font-size: 14px;
            font-weight: 500;
            border-left: 4px solid;
            display: none;
        }

        .perfil-msg-erro {
            background: rgba(198,40,40,0.18);
            color: #ef9a9a;
            border-color: #c62828;
        }

        .perfil-msg-sucesso {
            background: rgba(46,125,50,0.18);
            color: #a5d6a7;
            border-color: #4caf50;
        }

        .perfil-section {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 16px;
        }

        .perfil-section-title {
            font-size: 15px;
            font-weight: 700;
            color: #ffffff;
            margin: 0 0 16px 0;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.15);
            letter-spacing: 0.2px;
        }

        .perfil-section-hint {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.55);
            margin: -8px 0 14px 0;
        }

        .perfil-group {
            margin-bottom: 14px;
        }

        .perfil-group:last-child {
            margin-bottom: 0;
        }

        .perfil-label {
            display: block;
            color: #ffffff;
            font-size: 12px;
            font-weight: 700;
            margin-bottom: 6px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .perfil-input {
            width: 100%;
            padding: 10px 14px;
            background: #243b73;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 8px;
            color: #ffffff;
            -webkit-text-fill-color: #ffffff;
            font-size: 14px;
            box-sizing: border-box;
            outline: none;
            transition: border-color 0.2s, background 0.2s;
            color-scheme: dark;
        }

        .perfil-input::placeholder {
            color: rgba(255,255,255,0.4);
            -webkit-text-fill-color: rgba(255,255,255,0.4);
        }

        .perfil-input:focus {
            border-color: rgba(102, 126, 234, 0.8);
            background: #2e4d8f;
        }

        .perfil-save-btn {
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, #2a5298, #1e3c72);
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
            letter-spacing: 0.3px;
        }

        .perfil-save-btn:hover {
            background: linear-gradient(135deg, #3a62a8, #2a4c82);
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }

        /* Estilos para a página de saques e depósitos */
        .financeiro-container {
            padding: 20px;
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
            min-height: 100vh;
            color: white;
        }
        
        .financeiro-header {
            text-align: center;
            margin-bottom: 30px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .financeiro-title {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 8px;
            color: #ffffff;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }
        
        .financeiro-subtitle {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 500;
        }
        
        .saldo-card {
            background: linear-gradient(135deg, rgba(46, 204, 113, 0.2), rgba(39, 174, 96, 0.2));
            border: 2px solid rgba(46, 204, 113, 0.4);
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            margin-bottom: 30px;
            backdrop-filter: blur(15px);
            position: relative;
            overflow: hidden;
        }
        
        .saldo-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;

        }
        
        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
        
        .saldo-atual {
            font-size: 32px;
            font-weight: 700;
            color: #2ecc71;
            margin-bottom: 8px;
            text-shadow: 0 2px 10px rgba(46, 204, 113, 0.3);
        }
        
        .saldo-label {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.8);
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .acoes-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .acao-card {
            background: rgba(255, 255, 255, 0.08);
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(20px);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }
        
        .acao-card:hover {
            background: rgba(255, 255, 255, 0.12);
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            border-color: rgba(255, 255, 255, 0.3);
        }
        
        .acao-card.deposito {
            border-color: rgba(46, 204, 113, 0.4);
        }
        
        .acao-card.deposito:hover {
            border-color: rgba(46, 204, 113, 0.8);
            box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
        }
        
        .acao-card.saque {
            border-color: rgba(231, 76, 60, 0.4);
        }
        
        .acao-card.saque:hover {
            border-color: rgba(231, 76, 60, 0.8);
            box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
        }
        
        .acao-icon {
            width: 60px;
            height: 60px;
            margin: 0 auto 15px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            transition: all 0.3s ease;
        }
        
        .acao-card:hover .acao-icon {
            transform: scale(1.1) rotate(10deg);
            background: rgba(255, 255, 255, 0.2);
        }
        
        .acao-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 8px;
            color: #ffffff;
        }
        
        .acao-description {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.4;
        }
        
        .historico-container {
            background: rgba(255, 255, 255, 0.08);
            border-radius: 15px;
            padding: 25px;
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.15);
        }
        
        .historico-header {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid rgba(255, 255, 255, 0.15);
            gap: 12px;
        }

        .historico-header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            gap: 10px;
        }
        
        .historico-title {
            font-size: 20px;
            font-weight: 600;
            margin: 0;
        }

        .filtro-row {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            width: 100%;
        }
        
        .filtro-periodo {
            background: #1a2d5a;
            border: 1.5px solid rgba(255,255,255,0.22);
            border-radius: 8px;
            padding: 7px 14px;
            color: #e0e0e0;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            color-scheme: dark;
            appearance: auto;
            transition: border-color 0.2s, background 0.2s;
        }

        .filtro-periodo:focus {
            outline: none;
            border-color: rgba(102,126,234,0.7);
            background: #1e3570;
        }

        .filtro-periodo option {
            background: #1a2d5a;
            color: #e0e0e0;
        }

        .filtro-periodo option:hover,
        .filtro-periodo option:checked {
            background: #2a5298;
            color: #ffffff;
        }

        .filtro-datas-custom {
            display: none;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            width: 100%;
            padding: 10px 14px;
            background: #1c2e5e;
            border: 1px solid rgba(255,255,255,0.25);
            border-radius: 10px;
        }

        .filtro-datas-custom.visible {
            display: flex;
        }

        .filtro-datas-custom label {
            font-size: 12px;
            color: #ffffff;
            font-weight: 700;
            white-space: nowrap;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .filtro-data-input {
            background: #243b73;
            border: 1.5px solid rgba(255,255,255,0.35);
            border-radius: 8px;
            padding: 7px 12px;
            color: #ffffff;
            -webkit-text-fill-color: #ffffff;
            font-size: 12px;
            color-scheme: dark;
            cursor: pointer;
            outline: none;
            transition: border-color 0.2s, background 0.2s;
        }

        .filtro-data-input:focus {
            border-color: rgba(102,126,234,0.8);
            background: #2e4d8f;
        }

        .filtro-aplicar-btn {
            background: linear-gradient(135deg, #2a5298, #1e3c72);
            border: 1px solid rgba(255,255,255,0.15);
            border-radius: 8px;
            padding: 7px 18px;
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
            letter-spacing: 0.3px;
        }

        .filtro-aplicar-btn:hover {
            background: linear-gradient(135deg, #3a62a8, #2a4c82);
            transform: translateY(-1px);
            box-shadow: 0 4px 14px rgba(0,0,0,0.3);
        }
        
        .transacao-item {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 12px;
            border-left: 4px solid transparent;
            transition: all 0.3s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .transacao-item:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateX(5px);
        }
        
        .transacao-item.deposito {
            border-left-color: #2ecc71;
        }
        
        .transacao-item.saque {
            border-left-color: #e74c3c;
        }
        
        .transacao-item.pendente {
            border-left-color: #f39c12;
        }
        
        .transacao-info {
            flex: 1;
        }
        
        .transacao-tipo {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .transacao-data {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.6);
            margin-bottom: 5px;
        }
        
        .transacao-metodo {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.8);
        }
        
        .transacao-valor {
            text-align: right;
        }
        
        .transacao-quantia {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .transacao-quantia.positiva {
            color: #2ecc71;
        }
        
        .transacao-quantia.negativa {
            color: #e74c3c;
        }
        
        .transacao-status {
            font-size: 12px;
            padding: 4px 8px;
            border-radius: 12px;
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: 0.5px;
        }
        
        .status-concluido {
            background: rgba(46, 204, 113, 0.2);
            color: #2ecc71;
            border: 1px solid rgba(46, 204, 113, 0.4);
        }
        
        .status-pendente {
            background: rgba(243, 156, 18, 0.2);
            color: #f39c12;
            border: 1px solid rgba(243, 156, 18, 0.4);
        }
        
        .status-cancelado {
            background: rgba(231, 76, 60, 0.2);
            color: #e74c3c;
            border: 1px solid rgba(231, 76, 60, 0.4);
        }
        
        .empty-historico {
            text-align: center;
            padding: 40px 20px;
            color: rgba(255, 255, 255, 0.6);
        }
        
        .empty-historico-icon {
            width: 60px;
            height: 60px;
            margin: 0 auto 15px;
            opacity: 0.5;
        }
        
        @media (max-width: 768px) {
            .acoes-container {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            .transacao-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            
            .transacao-valor {
                text-align: left;
                width: 100%;
            }
        }

        /* =========================================
           DEPOSITO - Fluxo em páginas
        ========================================= */
        .deposito-page {
            padding: 20px;
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
            min-height: 100vh;
            color: white;
        }

        .dep-steps {
            display: flex;
            justify-content: center;
            gap: 0;
            margin-bottom: 30px;
        }

        .dep-step {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: rgba(255,255,255,0.4);
            font-weight: 500;
        }

        .dep-step.active { color: #fff; }
        .dep-step.done   { color: #2ecc71; }

        .dep-step-num {
            width: 28px; height: 28px;
            border-radius: 50%;
            background: rgba(255,255,255,0.1);
            border: 2px solid rgba(255,255,255,0.2);
            display: flex; align-items: center; justify-content: center;
            font-size: 13px; font-weight: 700;
            transition: all .3s;
        }

        .dep-step.active .dep-step-num {
            background: #667eea;
            border-color: #667eea;
        }

        .dep-step.done .dep-step-num {
            background: #2ecc71;
            border-color: #2ecc71;
        }

        .dep-step-line {
            width: 40px; height: 2px;
            background: rgba(255,255,255,0.15);
            margin: 0 4px;
        }

        .dep-card {
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.15);
            border-radius: 16px;
            padding: 24px;
            backdrop-filter: blur(20px);
            margin-bottom: 20px;
        }

        .dep-card-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 18px;
            color: #fff;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        /* Métodos de pagamento */
        .dep-metodos {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
        }

        .dep-metodo-btn {
            background: rgba(255,255,255,0.06);
            border: 2px solid rgba(255,255,255,0.15);
            border-radius: 14px;
            padding: 20px 14px;
            text-align: center;
            cursor: pointer;
            transition: all .3s ease;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .dep-metodo-btn:hover {
            background: rgba(255,255,255,0.12);
            border-color: rgba(255,255,255,0.35);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.25);
        }

        .dep-metodo-btn.selected {
            border-color: #2ecc71;
            background: rgba(46,204,113,0.15);
            box-shadow: 0 0 20px rgba(46,204,113,0.25);
        }

        .dep-metodo-check {
            position: absolute; top: 8px; right: 8px;
            width: 20px; height: 20px;
            background: #2ecc71; border-radius: 50%;
            display: none; align-items: center; justify-content: center;
            font-size: 11px;
        }

        .dep-metodo-btn.selected .dep-metodo-check { display: flex; }

        .dep-metodo-icon {
            font-size: 28px;
            margin-bottom: 8px;
        }

        .dep-metodo-nome {
            font-size: 14px;
            font-weight: 700;
            margin-bottom: 4px;
        }

        .dep-metodo-prazo {
            font-size: 11px;
            color: rgba(255,255,255,0.6);
        }

        .dep-metodo-taxa {
            font-size: 11px;
            margin-top: 5px;
            padding: 3px 8px;
            border-radius: 10px;
            display: inline-block;
        }

        .taxa-gratis { background: rgba(46,204,113,0.2); color: #2ecc71; }
        .taxa-paga   { background: rgba(243,156,18,0.2);  color: #f39c12; }

        /* Campo de valor */
        .dep-valor-input {
            width: 100%;
            background: rgba(255,255,255,0.1);
            border: 2px solid rgba(255,255,255,0.2);
            border-radius: 12px;
            padding: 16px 20px;
            color: white;
            font-size: 22px;
            font-weight: 700;
            text-align: center;
            transition: all .3s;
            box-sizing: border-box;
        }

        .dep-valor-input::placeholder { color: rgba(255,255,255,0.4); font-weight: 400; font-size: 16px; }
        .dep-valor-input:focus { outline: none; border-color: #2ecc71; box-shadow: 0 0 20px rgba(46,204,113,.25); }

        .dep-sugestoes {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-top: 14px;
        }

        .dep-sug-btn {
            background: rgba(255,255,255,0.07);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 8px;
            padding: 11px;
            text-align: center;
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
            color: rgba(255,255,255,0.9);
            transition: all .25s;
        }

        .dep-sug-btn:hover {
            background: rgba(46,204,113,0.2);
            border-color: #2ecc71;
            color: #2ecc71;
        }

        /* Resumo */
        .dep-resumo {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 12px;
            overflow: hidden;
        }

        .dep-resumo-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 13px 18px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
            font-size: 14px;
        }

        .dep-resumo-item:last-child {
            border-bottom: none;
            font-weight: 700;
            font-size: 16px;
            color: #2ecc71;
        }

        .dep-resumo-label { color: rgba(255,255,255,0.7); }

        /* Botões */
        .dep-btn-confirmar {
            width: 100%;
            background: linear-gradient(135deg, #27ae60, #2ecc71);
            border: none;
            border-radius: 12px;
            padding: 17px;
            color: white;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all .3s;
            margin-top: 20px;
            letter-spacing: .5px;
        }

        .dep-btn-confirmar:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(46,204,113,.4);
        }

        .dep-btn-confirmar:disabled {
            background: rgba(255,255,255,0.1);
            color: rgba(255,255,255,0.4);
            cursor: not-allowed;
        }

        .dep-error {
            background: rgba(231,76,60,.2);
            border: 1px solid rgba(231,76,60,.4);
            border-radius: 8px;
            padding: 12px 16px;
            color: #e74c3c;
            font-size: 14px;
            margin-top: 12px;
        }

        /* PIX */
        .pix-container { text-align: center; }

        .pix-qr-box {
            background: white;
            border-radius: 16px;
            padding: 20px;
            display: inline-block;
            margin: 20px auto;
            box-shadow: 0 10px 40px rgba(0,0,0,.4);
        }

        .pix-qr-box svg { display: block; }

        .pix-valor {
            font-size: 28px;
            font-weight: 700;
            color: #2ecc71;
            margin-bottom: 6px;
        }

        .pix-instrucao {
            font-size: 14px;
            color: rgba(255,255,255,0.8);
            margin-bottom: 20px;
            line-height: 1.6;
        }

        .pix-timer {
            background: rgba(243,156,18,0.15);
            border: 1px solid rgba(243,156,18,0.3);
            border-radius: 10px;
            padding: 10px 20px;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 16px;
            font-weight: 700;
            color: #f39c12;
            margin-bottom: 20px;
        }

        .pix-chave-box {
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 10px;
            padding: 14px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 14px;
            word-break: break-all;
            text-align: left;
        }

        .pix-chave-text {
            font-size: 13px;
            color: rgba(255,255,255,0.9);
            font-family: monospace;
            flex: 1;
        }

        .pix-copy-btn {
            background: #2ecc71;
            border: none;
            border-radius: 8px;
            padding: 8px 14px;
            color: white;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            white-space: nowrap;
            transition: all .25s;
        }

        .pix-copy-btn:hover { background: #27ae60; transform: scale(1.05); }

        .pix-status {
            display: flex;
            align-items: center;
            gap: 10px;
            justify-content: center;
            padding: 14px;
            background: rgba(255,255,255,0.06);
            border-radius: 10px;
            font-size: 14px;
            color: rgba(255,255,255,0.8);
        }

        .pix-spinner {
            width: 18px; height: 18px;
            border: 2px solid rgba(255,255,255,0.2);
            border-top-color: #2ecc71;
            border-radius: 50%;
            animation: spin .8s linear infinite;
        }

        @keyframes spin { to { transform: rotate(360deg); } }

        /* Cartão */
        .card-flip-wrapper {
            perspective: 1000px;
            margin: 0 auto 24px;
            max-width: 340px;
        }

        .card-flip {
            position: relative;
            width: 100%; height: 200px;
            transform-style: preserve-3d;
            transition: transform .6s ease;
        }

        .card-flip.flipped { transform: rotateY(180deg); }

        .card-front, .card-back {
            position: absolute; inset: 0;
            border-radius: 16px;
            backface-visibility: hidden;
            padding: 24px;
            box-shadow: 0 10px 40px rgba(0,0,0,.4);
        }

        .card-front {
            background: linear-gradient(135deg, #667eea, #764ba2);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .card-back {
            background: linear-gradient(135deg, #764ba2, #667eea);
            transform: rotateY(180deg);
        }

        .card-chip {
            width: 44px; height: 32px;
            background: linear-gradient(135deg, #f6d365, #fda085);
            border-radius: 6px;
        }

        .card-number-display {
            font-family: monospace;
            font-size: 20px;
            letter-spacing: 4px;
            color: rgba(255,255,255,0.9);
            text-align: center;
        }

        .card-bottom {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
        }

        .card-label { font-size: 10px; color: rgba(255,255,255,0.6); text-transform: uppercase; }
        .card-value { font-size: 14px; color: white; font-weight: 600; }

        .card-strip {
            background: #1a1a1a;
            height: 48px;
            margin: 20px -24px;
        }

        .card-cvv-row {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 12px;
        }

        .card-cvv-bg {
            background: white;
            border-radius: 4px;
            padding: 6px 14px;
            font-family: monospace;
            font-size: 16px;
            color: #222;
            min-width: 60px;
            text-align: center;
        }

        .dep-form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
        }

        .dep-form-grid .full { grid-column: 1/-1; }

        .dep-input-group label {
            display: block;
            font-size: 12px;
            font-weight: 600;
            color: rgba(255,255,255,0.7);
            text-transform: uppercase;
            letter-spacing: .5px;
            margin-bottom: 7px;
        }

        .dep-input-group input {
            width: 100%;
            background: rgba(255,255,255,0.08);
            border: 2px solid rgba(255,255,255,0.15);
            border-radius: 10px;
            padding: 13px 15px;
            color: white;
            font-size: 15px;
            transition: all .3s;
            box-sizing: border-box;
        }

        .dep-input-group input::placeholder { color: rgba(255,255,255,0.35); }
        .dep-input-group input:focus {
            outline: none;
            border-color: #667eea;
            background: rgba(255,255,255,0.12);
        }

        /* Boleto */
        .boleto-barcode {
            background: white;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            margin: 16px 0;
        }

        .boleto-barcode svg { max-width: 100%; }

        .boleto-codigo {
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 10px;
            padding: 14px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .boleto-codigo-text {
            font-family: monospace;
            font-size: 12px;
            color: rgba(255,255,255,0.9);
            word-break: break-all;
            flex: 1;
        }

        .boleto-info-item {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid rgba(255,255,255,0.08);
            font-size: 14px;
        }

        .boleto-info-item:last-child { border-bottom: none; }
        .boleto-info-label { color: rgba(255,255,255,0.6); }
        .boleto-info-value { font-weight: 600; }

        /* Transferência */
        .transf-dado {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 13px 0;
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }

        .transf-dado:last-child { border-bottom: none; }
        .transf-label { font-size: 12px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing:.5px; }
        .transf-value { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }

        .transf-copy {
            background: rgba(255,255,255,0.1);
            border: none;
            border-radius: 6px;
            padding: 4px 10px;
            color: rgba(255,255,255,0.8);
            font-size: 11px;
            cursor: pointer;
            transition: all .2s;
        }

        .transf-copy:hover { background: rgba(255,255,255,0.2); }

        /* Sucesso */
        .dep-sucesso {
            text-align: center;
            padding: 40px 20px;
        }

        .dep-sucesso-icon {
            width: 80px; height: 80px;
            background: linear-gradient(135deg, #27ae60, #2ecc71);
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 36px;
            margin: 0 auto 20px;
            box-shadow: 0 10px 30px rgba(46,204,113,.4);
            animation: pop .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        @keyframes pop {
            0% { transform: scale(0); opacity: 0; }
            100% { transform: scale(1); opacity: 1; }
        }

        /* =========================================
           SAQUE - Fluxo em páginas
        ========================================= */
        .saque-page {
            padding: 20px;
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
            min-height: 100vh;
            color: white;
        }

        .saq-saldo-card {
            background: rgba(231,76,60,0.12);
            border: 1px solid rgba(231,76,60,0.3);
            border-radius: 14px;
            padding: 16px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
        }

        .saq-saldo-label {
            font-size: 13px;
            color: rgba(255,255,255,0.65);
        }

        .saq-saldo-valor {
            font-size: 22px;
            font-weight: 700;
            color: #e74c3c;
        }

        .saq-metodos {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
        }

        .saq-metodo-btn {
            background: rgba(255,255,255,0.06);
            border: 2px solid rgba(255,255,255,0.15);
            border-radius: 14px;
            padding: 20px 14px;
            text-align: center;
            cursor: pointer;
            transition: all .3s ease;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .saq-metodo-btn:hover {
            background: rgba(255,255,255,0.12);
            border-color: rgba(255,255,255,0.35);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.25);
        }

        .saq-metodo-btn.selected {
            border-color: #e74c3c;
            background: rgba(231,76,60,0.15);
            box-shadow: 0 0 20px rgba(231,76,60,0.25);
        }

        .saq-metodo-check {
            position: absolute; top: 8px; right: 8px;
            width: 20px; height: 20px;
            background: #e74c3c; border-radius: 50%;
            display: none; align-items: center; justify-content: center;
            font-size: 11px;
        }

        .saq-metodo-btn.selected .saq-metodo-check { display: flex; }

        .saq-metodo-icon { font-size: 28px; margin-bottom: 8px; }
        .saq-metodo-nome { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
        .saq-metodo-prazo { font-size: 11px; color: rgba(255,255,255,0.6); }

        .saq-resumo-item:last-child {
            font-weight: 700;
            font-size: 16px;
            color: #e74c3c;
        }

        .saq-btn-confirmar {
            width: 100%;
            background: linear-gradient(135deg, #c0392b, #e74c3c);
            border: none;
            border-radius: 12px;
            padding: 17px;
            color: white;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all .3s;
            margin-top: 20px;
            letter-spacing: .5px;
        }

        .saq-btn-confirmar:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(231,76,60,.4);
        }

        .saq-btn-confirmar:disabled {
            background: rgba(255,255,255,0.1);
            color: rgba(255,255,255,0.4);
            cursor: not-allowed;
        }

        .saq-form-group { margin-bottom: 16px; }

        .saq-form-group label {
            display: block;
            font-size: 12px;
            font-weight: 600;
            color: rgba(255,255,255,0.7);
            text-transform: uppercase;
            letter-spacing: .5px;
            margin-bottom: 7px;
        }

        .saq-form-group input,
        .saq-form-group select {
            width: 100%;
            background: rgba(255,255,255,0.08);
            border: 2px solid rgba(255,255,255,0.15);
            border-radius: 10px;
            padding: 13px 15px;
            color: white;
            font-size: 15px;
            transition: all .3s;
            box-sizing: border-box;
            -webkit-appearance: none;
            appearance: none;
        }

        .saq-form-group input::placeholder { color: rgba(255,255,255,0.35); }
        .saq-form-group input:focus,
        .saq-form-group select:focus {
            outline: none;
            border-color: #e74c3c;
            background: rgba(255,255,255,0.12);
        }

        .saq-form-group select option { background: #1e3c72; color: white; }

        .saq-form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
        }

        .saq-form-grid .full { grid-column: 1 / -1; }

        .saq-sucesso-icon {
            width: 80px; height: 80px;
            background: linear-gradient(135deg, #c0392b, #e74c3c);
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 36px;
            margin: 0 auto 20px;
            box-shadow: 0 10px 30px rgba(231,76,60,.4);
            animation: pop .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .saq-tipo-pix-info {
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 10px;
            padding: 10px 14px;
            font-size: 12px;
            color: rgba(255,255,255,0.6);
            margin-top: 8px;
            line-height: 1.5;
        }
        
        .version-tag {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 15px;
            padding: 4px 10px;
            font-size: 9px;
            color: rgba(255, 255, 255, 0.8);
            text-align: center;
            font-weight: 600;
            letter-spacing: 0.3px;
            text-transform: uppercase;
            backdrop-filter: blur(8px);
            margin: 6px 8px 2px;
        }
        
        .campeonatos-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        
        .campeonatos-header h3 {
            color: #ffffff;
            font-size: 16px;
            font-weight: 600;
            margin: 0;
        }
        
        .refresh-btn {
            background: rgba(255,255,255,0.1);
            border: none;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            color: #ffffff;
        }
        
        .refresh-btn:hover {
            background: rgba(255,255,255,0.2);
            transform: rotate(180deg);
        }
        
        .campeonatos-lista {
            overflow-y: visible;
        }
        
        .campeonato-item {
            display: flex;
            align-items: center;
            padding: 8px 12px;
            margin-bottom: 5px;
            background: rgba(255,255,255,0.05);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .campeonato-item:hover {
            background: rgba(255,255,255,0.1);
            transform: translateX(5px);
        }
        
        .campeonato-flag {
            width: 20px;
            height: 15px;
            margin-right: 10px;
            border-radius: 2px;
            object-fit: cover;
        }
        
        .campeonato-nome {
            color: #ffffff;
            font-size: 12px;
            font-weight: 500;
            line-height: 1.3;
        }
        
        .loading-campeonatos {
            text-align: center;
            color: rgba(255,255,255,0.7);
            font-size: 14px;
            padding: 20px;
        }
        
        .error-campeonatos {
            text-align: center;
            color: #ff6b6b;
            font-size: 12px;
            padding: 15px;
        }
        
        
        /* Menu principal moderno */
        .main-menu-card {
            position: relative;
            z-index: 2;
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(25px);
            border: 1.5px solid rgba(255, 255, 255, 0.15);
            border-radius: 0;
            margin: 0;
            padding: 4px;
            box-shadow: none;
            border-top: none;
            border-bottom: none;
        }
        
        .menu-item-modern {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 12px;
            margin: 1px 0;
            border-radius: 8px;
            text-decoration: none;
            color: #ffffff;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            border: 1px solid transparent;
        }
        
        .menu-item-modern::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
            transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .menu-item-modern:hover {
            background: rgba(255, 255, 255, 0.12);
            transform: translateX(5px) scale(1.01);
            border-color: rgba(255, 255, 255, 0.15);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        }
        
        .menu-item-modern:hover::before {
            left: 100%;
        }
        
        .menu-icon-modern {
            width: 30px;
            height: 30px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        }
        
        .menu-item-modern:hover .menu-icon-modern {
            background: rgba(255, 255, 255, 0.18);
            transform: scale(1.05) rotate(3deg);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        }
        
        /* Efeitos para conexão suave entre cards */
        .main-menu-card::before {
            content: '';
            position: absolute;
            top: -1.5px;
            left: -1.5px;
            right: -1.5px;
            height: 1.5px;
            background: rgba(255, 255, 255, 0.15);
            z-index: -1;
        }
        
        .balance-section::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(46, 204, 113, 0.8), transparent);
        }
        
        .championships-card::before {
            content: '';
            position: absolute;
            top: -1.5px;
            left: -1.5px;
            right: -1.5px;
            height: 1.5px;
            background: rgba(255, 255, 255, 0.15);
            z-index: -1;
        }
        
        /* Customização da scrollbar */
        .championships-list::-webkit-scrollbar {
            width: 6px;
        }
        
        .championships-list::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 3px;
        }
        
        .championships-list::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 3px;
        }
        
        .championships-list::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, #764ba2, #667eea);
        }
        
        .menu-item-modern:hover .menu-icon-modern {
            background: rgba(255, 255, 255, 0.2);
            transform: scale(1.1);
        }
        
        .menu-text-modern {
            font-size: 13px;
            font-weight: 500;
        }
        
        /* Seção de campeonatos moderna */
        .championships-card {
            position: relative;
            z-index: 2;
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(25px);
            border: 1.5px solid rgba(255, 255, 255, 0.15);
            border-radius: 0;
            margin: 0;
            box-shadow: none;
            height: calc(100vh - 220px);
            display: flex;
            flex-direction: column;
            border-top: none;
        }
        
        .championships-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 16px 10px;
            border-bottom: 1.5px solid rgba(255, 255, 255, 0.15);
            flex-shrink: 0;
        }
        
        .championships-title {
            font-size: 14px;
            font-weight: 700;
            color: #ffffff;
            margin: 0;
            letter-spacing: 0.3px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }
        
        .refresh-btn {
            width: 28px;
            height: 28px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            color: #ffffff;
            backdrop-filter: blur(8px);
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        .refresh-btn:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: rotate(180deg) scale(1.1);
            box-shadow: 0 8px 24px rgba(0,0,0,0.25);
        }
        
        .championships-list {
            padding: 4px 6px;
            overflow-y: auto;
            flex: 1;
            height: 100%;
        }
        
        .championship-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 6px 10px;
            margin-bottom: 2px;
            background: rgba(255, 255, 255, 0.06);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(255, 255, 255, 0.08);
            position: relative;
            overflow: hidden;
        }
        
        .championship-item:hover {
            background: rgba(255, 255, 255, 0.12);
            transform: translateX(5px) scale(1.01);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
            border-color: rgba(255, 255, 255, 0.15);
        }
        
        .championship-flag {
            width: 22px;
            height: 16px;
            border-radius: 3px;
            object-fit: cover;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.1);
            flex-shrink: 0;
        }
        
        .championship-info {
            flex: 1;
            min-width: 0;
        }
        
        .championship-name {
            color: #ffffff;
            font-size: 12px;
            font-weight: 600;
            line-height: 1.1;
            margin-bottom: 1px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .championship-count {
            color: rgba(255, 255, 255, 0.7);
            font-size: 10px;
            font-weight: 500;
        }
        
        .loading-championships, .error-championships {
            text-align: center;
            padding: 20px 15px;
            color: rgba(255, 255, 255, 0.7);
            font-size: 12px;
        }
        
        .error-championships {
            color: #ff6b6b;
        }
        
        /* Estilização melhorada da barra de rolagem */
        .left-column::-webkit-scrollbar, .championships-list::-webkit-scrollbar {
            width: 6px;
        }
        
        .left-column::-webkit-scrollbar-track, .championships-list::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 3px;
        }
        
        .left-column::-webkit-scrollbar-thumb, .championships-list::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.3);
            border-radius: 3px;
            transition: all 0.3s ease;
        }
        
        .left-column::-webkit-scrollbar-thumb:hover, .championships-list::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.5);
        }
        
             
        .center-column {
            flex: 1;
            min-width: 0;
            overflow-y: auto;
            transition: none;
        }

        .center-column.hidden {
            display: none !important;
        }

        /* Modais Bootstrap: tela cheia (substitui os popups do Framework7) */
        .modal-dialog-centered {
            display: flex;
            align-items: center;
            min-height: calc(100% - 32px);
        }
        .modal-fullscreen .modal-dialog {
            width: 100%;
            max-width: 100%;
            height: 100%;
            margin: 0;
        }
        .modal-fullscreen .modal-content {
            height: 100%;
            border-radius: 0;
            display: flex;
            flex-direction: column;
            border: none;
        }
        .modal-fullscreen .modal-body {
            flex: 1;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }
        /* Botão fechar branco nos cabeçalhos escuros */
        .modal-close-btn {
            color: #ffffff !important;
            opacity: 1 !important;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            border: none;
            background: transparent;
        }
        .modal-close-btn svg { display: block; }
        /* Cabeçalho do modal com estilo barra_topo */
        .modal-header.barra_topo {
            display: flex;
            align-items: center;
            min-height: 48px;
            padding: 8px 15px;
            border-bottom: none;
        }
        .modal-header.barra_topo .modal-title {
            flex: 1;
            margin-left: 10px;
        }
        .modal-header.barra_topo .close {
            float: none;
            order: -1;
        }

        /* Popup de editar perfil - scroll interno */
        .editar-perfil-body {
            flex: 1;
            overflow-y: auto !important;
            overflow-x: hidden;
            -webkit-overflow-scrolling: touch;
        }
        .editar-perfil-body::-webkit-scrollbar { width: 6px; }
        .editar-perfil-body::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); border-radius: 3px; }
        .editar-perfil-body::-webkit-scrollbar-thumb { background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 3px; }
        .editar-perfil-body::-webkit-scrollbar-thumb:hover { background: linear-gradient(135deg, #764ba2, #667eea); }

        /* Media Query para responsividade do perfil */
        @media (max-width: 768px) {
            .profile-form-container {
                display: block !important;
            }
            .profile-form-container > div {
                margin-bottom: 30px;
            }
        }

        /* ===== LAYOUT FIX: Navbar principal ===== */
        .navbar.barra_topo {
            position: sticky;
            top: 0;
            z-index: 1000;
            padding: 0;
            min-height: 0;
            border-radius: 0;
            border: none;
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        /* O centro da coluna deve ser flex coluna para que o sticky funcione */
        .center-column.main-content {
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            height: 100vh;
            background-color: #0d1b3e;
        }

        #jogos_.page-content.content-margin {
            flex: 1;
            overflow-y: auto;
        }

        .navbar-inner.barra_topo {
            display: flex !important;
            flex-direction: row;
            align-items: center;
            height: 44px;
            padding: 0 8px;
            width: 100%;
        }

        .navbar-inner.barra_topo .center {
            flex: 0 0 auto;
            display: flex;
            align-items: center;
            float: none;
        }

        .navbar-inner.barra_topo .right {
            flex: 1;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: flex-end;
            gap: 4px;
            float: none;
        }

        .navbar-inner.barra_topo .right a {
            display: flex;
            align-items: center;
            padding: 4px;
            line-height: 1;
        }

        /* ===== LAYOUT FIX: Barra de apostas (#barra_valor) ===== */
        .subnavbar.navbar-height {
            display: flex !important;
            flex-direction: row;
            align-items: center;
            width: 100%;
            overflow: hidden;
        }

        .bet-input-container {
            float: none !important;
            display: flex;
            align-items: center;
        }

        .prize-container {
            float: none !important;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .checkout-container {
            float: none !important;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            position: relative;
        }

        /* Ajuste do margin-top do conteúdo: sem necessidade com sticky+flex */
        .content-margin {
            margin-top: 0 !important;
        }

        @media only screen and (min-width: 600px) {
            .content-margin {
                margin-top: 0 !important;
            }
        }
