/* CSS Simples para App Dezin da Sorte */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #2d3748 100%);
    color: #e2e8f0;
    min-height: 100vh;
}

/* Loading Screen */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #2d3748 100%);
    color: #e2e8f0;
}

.loading-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.loading-content p {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Screen Management */
.screen {
    display: none;
    position: relative;
    min-height: 100vh;
    width: 100%;
}

.screen.active {
    display: block;
}

#login-screen.active {
    display: flex !important;
}

#login-screen[style*="display: none"] {
    display: none !important;
}

/* Força esconder a tela de login quando não está ativa */
#login-screen:not(.active) {
    display: none !important;
}

/* Login Screen específico */
#login-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #2d3748 100%);
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Background animado */
.login-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 30%;
    animation-delay: 1s;
}

.shape-5 {
    width: 40px;
    height: 40px;
    top: 40%;
    left: 5%;
    animation-delay: 3s;
}

.shape-6 {
    width: 90px;
    height: 90px;
    top: 70%;
    right: 5%;
    animation-delay: 5s;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.8) 0%, rgba(26, 31, 46, 0.8) 50%, rgba(45, 55, 72, 0.8) 100%);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Login Screen */
.login-container {
    max-width: 420px;
    width: 100%;
    padding: 40px 35px;
    background: rgba(30, 41, 59, 0.95);
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    color: #e2e8f0;
    margin: 0;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.logo {
    text-align: center;
    margin-bottom: 40px;
}

.logo-icon {
    margin-bottom: 20px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 50%, #1e3a8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    animation: pulse 2s infinite;
}

.icon-text {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.logo h1 {
    color: #e2e8f0;
    font-size: 2.2rem;
    margin-bottom: 8px;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo .subtitle {
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 500;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 18px;
    color: #64748b;
    font-size: 1.1rem;
    z-index: 2;
    transition: color 0.3s ease;
}

.input-container input {
    width: 100%;
    padding: 18px 20px 18px 50px;
    border: 2px solid #475569;
    border-radius: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(51, 65, 85, 0.8);
    color: #e2e8f0;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.input-container input:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.input-container input:focus + .input-icon,
.input-container:focus-within .input-icon {
    color: #3b82f6;
}

.toggle-password {
    position: absolute;
    right: 18px;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 2;
}

.toggle-password:hover {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.btn-login {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 50%, #1e3a8a 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e3a8a 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.5);
}

.btn-login:active {
    transform: translateY(-1px);
}

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #475569;
}

.login-footer p {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

/* ===== BOTÃO BAIXAR APP NA TELA DE LOGIN ===== */
.login-install-section {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #475569;
}

.btn-login-install {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 50%, #1e3a8a 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: bounceInstall 2s infinite;
    position: relative;
    overflow: hidden;
}

.btn-login-install::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-login-install:hover::before {
    left: 100%;
}

.btn-login-install:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e3a8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    animation: none; /* Para a animação no hover */
}

.btn-login-install:active {
    transform: translateY(0);
}

.btn-login-install i {
    font-size: 16px;
}

@keyframes bounceInstall {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    10% {
        transform: translateY(-8px);
    }
    30% {
        transform: translateY(-4px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Main App */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #2d3748 100%);
    color: #e2e8f0;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
    border-bottom: 2px solid #3b82f6;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-info {
    font-size: 0.9rem;
    opacity: 0.9;
}

.user-name {
    font-weight: bold;
}

.user-type {
    font-size: 0.8rem;
    opacity: 0.8;
}

.user-comissao {
    font-size: 0.75rem;
    color: #3b82f6;
    font-weight: 600;
    margin-top: 2px;
}

.app-header h1 {
    font-size: 1.5rem;
}

.btn-install-app {
    padding: 10px 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-install-app:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: rgba(59, 130, 246, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-logout {
    padding: 10px 20px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.btn-logout:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-color: rgba(239, 68, 68, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.btn-restart {
    padding: 10px 20px;
    background: rgba(34, 197, 94, 0.8);
    color: white;
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    margin-left: 8px;
}

.btn-restart:hover {
    background: rgba(34, 197, 94, 1);
    border-color: rgba(34, 197, 94, 0.5);
    transform: translateY(-1px);
}

/* Navigation */
.app-nav {
    display: flex;
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 100%);
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
    max-width: 1200px;
    border: 1px solid #3b82f6;
}

.nav-btn {
    flex: 1;
    padding: 15px;
    background: transparent;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.nav-btn.active {
    background: rgba(59, 130, 246, 0.3);
    color: white;
    border-bottom: 2px solid #3b82f6;
}

.nav-btn:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* Content */
.app-content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.page h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* Concurso Info */
.concurso-info {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 32px;
    border-radius: 24px;
    margin-bottom: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 8px 16px rgba(0,0,0,0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.concurso-info:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 12px 24px rgba(0,0,0,0.3);
}

.concurso-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 50%, #1e3a8a 100%);
    border-radius: 0 3px 3px 0;
}

.concurso-info::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.concurso-info h3 {
    margin-bottom: 20px;
    color: #e2e8f0;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.concurso-info p {
    margin-bottom: 12px;
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.concurso-info .info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(71, 85, 105, 0.6);
    transition: all 0.2s ease;
}

.concurso-info .info-item:hover {
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    padding-left: 8px;
    padding-right: 8px;
}

.concurso-info .info-item:last-child {
    border-bottom: none;
}

.concurso-info .info-label {
    font-weight: 600;
    color: #94a3b8;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.concurso-info .info-value {
    color: #e2e8f0;
    font-weight: 700;
    font-size: 1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.concurso-info .tempo-restante {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 16px;
    text-align: center;
    margin-top: 24px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4), 0 4px 12px rgba(16, 185, 129, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.concurso-info .tempo-restante:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5), 0 6px 18px rgba(16, 185, 129, 0.3);
}

.concurso-info .tempo-restante::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.concurso-info .tempo-restante:hover::before {
    left: 100%;
}

/* Aposta Form */
.aposta-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 32px;
    border-radius: 24px;
    margin-bottom: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 8px 16px rgba(0,0,0,0.04);
    border: 1px solid rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.aposta-form:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12), 0 12px 24px rgba(0,0,0,0.06);
}

.aposta-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 50%, #1d4ed8 100%);
    border-radius: 0 3px 3px 0;
}

.aposta-form::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Cabeçalho da Aposta */
.aposta-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(226, 232, 240, 0.6);
}

.aposta-header h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 50%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Tabs de Aposta */
.aposta-tabs {
    display: flex;
    margin-bottom: 24px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    gap: 8px;
    align-items: center;
    padding: 8px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

.aposta-tabs .tab-btn {
    flex: 1;
    padding: 16px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    color: #64748b;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.aposta-tabs .tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.aposta-tabs .tab-btn:hover::before {
    left: 100%;
}

.aposta-tabs .tab-btn.active {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4), 0 4px 12px rgba(14, 165, 233, 0.2);
    transform: translateY(-2px);
}

.aposta-tabs .tab-btn[data-tipo="surpresinha"].active {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4), 0 4px 12px rgba(245, 158, 11, 0.2);
}

.aposta-tabs .tab-btn[data-tipo="colar"].active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4), 0 4px 12px rgba(16, 185, 129, 0.2);
}

.aposta-tabs .tab-btn:hover {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
    transform: translateY(-1px);
}

.aposta-tabs .tab-btn.active:hover {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    transform: translateY(-3px);
}

.aposta-tabs .tab-btn[data-tipo="surpresinha"].active:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.aposta-tabs .tab-btn[data-tipo="colar"].active:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.aposta-tabs .btn-fazer-aposta {
    flex: 0 0 auto;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 16px 28px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4), 0 4px 12px rgba(16, 185, 129, 0.2);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.aposta-tabs .btn-fazer-aposta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.aposta-tabs .btn-fazer-aposta:hover::before {
    left: 100%;
}

.aposta-tabs .btn-fazer-aposta:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5), 0 6px 18px rgba(16, 185, 129, 0.3);
}

/* Botões de ação rápida */
.acao-botoes {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    gap: 12px;
}

.btn-limpar {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4), 0 4px 12px rgba(239, 68, 68, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-limpar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-limpar:hover::before {
    left: 100%;
}

.btn-limpar:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(239, 68, 68, 0.5), 0 6px 18px rgba(239, 68, 68, 0.3);
}

/* Botão Fazer Aposta */
.btn-fazer-aposta {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    min-width: 200px;
}

.btn-fazer-aposta:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.tab-btn {
    flex: 1;
    padding: 14px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #6b7280;
    border-radius: 8px;
    margin: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.tab-btn.active {
    background: linear-gradient(135deg, #51569a 0%, #6366f1 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(81, 86, 154, 0.3);
    transform: translateY(-1px);
}

.tab-btn[data-tipo="surpresinha"].active {
    background: linear-gradient(135deg, #ff8c00 0%, #f59e0b 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    transform: translateY(-1px);
}

.tab-btn[data-tipo="colar"].active {
    background: linear-gradient(135deg, #006400 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 100, 0, 0.3);
    transform: translateY(-1px);
}

.tab-btn:hover {
    background: #e9ecef;
}

.tab-btn.active:hover {
    background: #51569a;
}

.tab-btn[data-tipo="surpresinha"].active:hover {
    background: #ff8c00;
}

.tab-btn[data-tipo="colar"].active:hover {
    background: #006400;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Textarea de Apostas Coladas */
.aposta-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s;
}

.aposta-form textarea:focus {
    outline: none;
    border-color: #51569a;
}

/* Preview de Apostas */
.preview-apostas {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #333;
    min-height: 60px;
    border: 1px solid #e9ecef;
    max-height: 200px;
    overflow-y: auto;
}

.preview-apostas:empty::before {
    content: 'Nenhuma aposta extraída.';
    color: #999;
    font-style: italic;
}

.aposta-form .form-group {
    margin-bottom: 20px;
}

.aposta-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.aposta-form input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: #1f2937;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.aposta-form input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1), 0 4px 12px rgba(14, 165, 233, 0.15);
    transform: translateY(-1px);
}

.aposta-form input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.aposta-form textarea {
    width: 100%;
    padding: 20px;
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    font-weight: 500;
    color: #1f2937;
    background: rgba(255, 255, 255, 0.9);
    resize: vertical;
    min-height: 140px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    line-height: 1.6;
}

.aposta-form textarea:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1), 0 4px 12px rgba(14, 165, 233, 0.15);
    transform: translateY(-1px);
}

.aposta-form textarea::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.aposta-form button {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4), 0 4px 12px rgba(16, 185, 129, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
}

.aposta-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.aposta-form button:hover::before {
    left: 100%;
}

.aposta-form button:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5), 0 6px 18px rgba(16, 185, 129, 0.3);
}

.aposta-form button:active {
    transform: translateY(0);
}

/* Info Text */
.aposta-form .info-text {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.aposta-form .info-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
}

.aposta-form .info-text p {
    margin: 0;
    color: #1e40af;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.aposta-form .info-text p::before {
    content: 'ℹ️';
    font-size: 1.1rem;
}

/* Bilhete Info */
.bilhete-info {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.bilhete-info.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}


.bilhete-info h3 {
    color: #10b981;
    margin-bottom: 10px;
}

.bilhete-link {
    background: rgba(255,255,255,0.9);
    color: #333;
    padding: 10px;
    border-radius: 5px;
    word-break: break-all;
    margin: 10px 0;
}

.copy-btn {
    background: #51569a;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.copy-btn:hover {
    background: #3d4a7a;
}


/* Surpresinha */
.btn-gerar {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    margin-left: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-gerar:hover {
    background: linear-gradient(135deg, #218838 0%, #1aa179 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.jogos-surpresinha {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.jogo-surpresinha {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    padding: 12px 16px;
    border-radius: 8px;
    margin: 8px 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #1f2937;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.jogo-surpresinha:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Desktop Layout */
@media (min-width: 1024px) {
    .app-content {
        padding: 40px 20px;
    }
    
    .concurso-info {
        max-width: 800px;
        margin: 0 auto 20px;
    }
    
    .aposta-form {
        max-width: 800px;
        margin: 0 auto;
    }
    
    
    .jogos-surpresinha {
        max-width: 600px;
        margin: 15px auto;
    }
}

/* Página de Jogos */
.jogos-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.concurso-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.concurso-selector label {
    font-weight: 600;
    color: #374151;
    font-size: 1rem;
}

.concurso-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    color: #1f2937;
    transition: all 0.3s ease;
}

.concurso-select:focus {
    outline: none;
    border-color: #51569a;
    box-shadow: 0 0 0 3px rgba(81, 86, 154, 0.1);
}

.jogos-stats {
    background: #51569a;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.jogos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.jogo-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 8px 16px rgba(0,0,0,0.04);
    border: 1px solid rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

/* FORÇAR CORES NOS CARDS DE JOGO - NADA PODE SOBRESCREVER */
.jogo-card * {
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

.jogo-card .jogo-info * {
    color: #000 !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

.jogo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12), 0 12px 24px rgba(0,0,0,0.06);
}

.jogo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 50%, #1d4ed8 100%);
    border-radius: 0 3px 3px 0;
}

.jogo-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.jogo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(226, 232, 240, 0.6);
}

.jogo-id {
    font-weight: 700;
    color: #0f172a;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jogo-status {
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.jogo-status.pago {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.jogo-status.pendente {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.jogo-info {
    margin-bottom: 20px;
}

.jogo-info > div {
    margin-bottom: 12px;
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
    transition: all 0.2s ease;
    color: #000 !important;
}

.jogo-info > div * {
    color: inherit !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

.jogo-info > div:hover {
    background: rgba(14, 165, 233, 0.02);
    border-radius: 8px;
    padding-left: 8px;
    padding-right: 8px;
}

.jogo-info > div:last-child {
    border-bottom: none;
}

.jogo-info strong {
    color: #374151 !important;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

.jogo-info span:not(strong) {
    color: #0f172a !important;
    font-weight: 500;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

/* Estilos específicos para cada campo */
.jogo-cliente,
.jogo-telefone,
.jogo-data,
.jogo-valor,
.jogo-comissao {
    color: #000 !important;
}

.jogo-cliente strong,
.jogo-telefone strong,
.jogo-data strong,
.jogo-valor strong,
.jogo-comissao strong {
    color: #374151 !important;
    -webkit-text-fill-color: initial !important;
}

.jogo-cliente span:not(strong),
.jogo-telefone span:not(strong),
.jogo-data span:not(strong),
.jogo-valor span:not(strong),
.jogo-comissao span:not(strong) {
    color: #0f172a !important;
    -webkit-text-fill-color: initial !important;
}

.jogo-revendedor {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    padding: 12px 16px;
    border-radius: 12px;
    border-left: 4px solid #0ea5e9;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.jogo-revendedor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    pointer-events: none;
}

.jogo-revendedor strong {
    color: #1e40af;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.jogo-numeros {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 12px 16px;
    border-radius: 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    word-break: break-all;
    border: 1px solid rgba(226, 232, 240, 0.6);
    color: #374151;
    font-weight: 500;
}

.jogo-metodo {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 4px solid #7c3aed;
    color: #7c3aed !important;
    font-weight: 600;
    margin-bottom: 8px;
}

.jogo-metodo strong {
    color: #7c3aed !important;
}

.jogo-metodo span:not(strong) {
    color: #7c3aed !important;
    -webkit-text-fill-color: initial !important;
}

.jogo-actions {
    text-align: center;
    margin-top: 20px;
}

.btn-copiar-link {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4), 0 4px 12px rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-copiar-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-copiar-link:hover::before {
    left: 100%;
}

.btn-copiar-link:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5), 0 6px 18px rgba(16, 185, 129, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    #login-screen {
        padding: 15px;
    }
    
    #login-screen:not(.active) {
        display: none !important;
    }
    
    .login-container {
        width: 100%;
        max-width: 100%;
        padding: 30px 25px;
        margin: 0;
        border-radius: 20px;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .logo .subtitle {
        font-size: 0.9rem;
    }
    
    .icon-circle {
        width: 50px;
        height: 50px;
    }
    
    .icon-text {
        font-size: 1.5rem;
    }
    
    .input-container input {
        padding: 16px 18px 16px 45px;
        font-size: 16px;
    }
    
    .input-icon {
        left: 16px;
        font-size: 1rem;
    }
    
    .toggle-password {
        right: 16px;
        font-size: 1rem;
    }
    
    .btn-login {
        padding: 16px;
        font-size: 15px;
    }
    
    .shape-1, .shape-2, .shape-3, .shape-4, .shape-5, .shape-6 {
        display: none; /* Esconder formas animadas no mobile para melhor performance */
    }
    
    .app-header {
        padding: 15px;
        margin: 0;
    }
    
    .app-content {
        padding: 15px;
    }
    
    .app-nav {
        margin: 15px;
    }
    
    .aposta-tabs {
        flex-direction: column;
        gap: 10px;
    }
    
    .aposta-tabs .tab-btn {
        width: 100%;
    }
    
    .aposta-tabs .btn-fazer-aposta {
        width: 100%;
        order: 3;
    }
    
    .acao-botoes {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-limpar {
        width: 100%;
        max-width: 200px;
    }
    
    .jogos-header {
        padding: 15px;
    }
    
    .concurso-selector {
        gap: 8px;
    }
    
    .concurso-select {
        font-size: 16px;
        padding: 10px 12px;
    }
    
}

/* PWA Install Banner */
.install-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 15px 20px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    animation: slideUp 0.3s ease-out;
}

.install-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 15px;
}

.install-content span {
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-install {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 100px;
}

.btn-install:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-1px);
}

.btn-close {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-close:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    transform: scale(1.1);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile adjustments for install banner */
@media (max-width: 768px) {
    .install-banner {
        padding: 12px 15px;
    }
    
    .install-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .install-content span {
        font-size: 0.9rem;
    }
    
    .btn-install {
        width: 100%;
        max-width: 200px;
    }
    
    .btn-close {
        position: absolute;
        top: 8px;
        right: 8px;
    }
}

/* Revendedor Install Banner */
.revendedor-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 15px 20px;
    z-index: 1001;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
    animation: slideDown 0.3s ease-out;
}

.revendedor-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 15px;
}

.revendedor-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.revendedor-icon {
    font-size: 1.5rem;
    background: rgba(255,255,255,0.2);
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.revendedor-text strong {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 2px;
}

.revendedor-text p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

.revendedor-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-revendedor-install {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
}

.btn-revendedor-install:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-1px);
}

.btn-close-revendedor {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-close-revendedor:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    transform: scale(1.1);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Frase informativa */
.info-text {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    text-align: center;
}

.info-text p {
    margin: 0;
    color: #1976d2;
    font-size: 14px;
    font-weight: 500;
}

.info-text strong {
    color: #0d47a1;
}

/* Mobile adjustments for revendedor banner */
@media (max-width: 768px) {
    .revendedor-banner {
        padding: 12px 15px;
    }
    
    .revendedor-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .revendedor-info {
        flex-direction: column;
        text-align: center;
    }
    
    .revendedor-actions {
        width: 100%;
        justify-content: center;
    }
    
    .btn-revendedor-install {
        width: 100%;
        max-width: 200px;
    }
    
    .btn-close-revendedor {
        position: absolute;
        top: 8px;
        right: 8px;
    }
}

/* ===== TIPO DE APOSTA ===== */
.tipo-aposta-container {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tipo-aposta-container label {
    display: block;
    color: #e2e8f0;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
}

.tipo-aposta-select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tipo-aposta-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.tipo-aposta-select option {
    background: #1e293b;
    color: #e2e8f0;
    padding: 8px;
}

/* ===== APOSTA CONTENT ===== */
.aposta-content {
    margin-bottom: 20px;
}

.aposta-tab {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.aposta-tab.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SURPRESINHA ===== */
.surpresinha-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.surpresinha-card h3 {
    color: #e2e8f0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.surpresinha-card p {
    color: #94a3b8;
    margin-bottom: 20px;
}

.quantidade-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.qty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.qty-input {
    width: 80px;
    height: 40px;
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    color: #e2e8f0;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.qty-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.btn-gerar-surpresinha {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-gerar-surpresinha:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* ===== MANUAL ===== */
.manual-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.manual-card h3 {
    color: #e2e8f0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.manual-card p {
    color: #94a3b8;
    margin-bottom: 20px;
}

.dezenas-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
    margin-bottom: 20px;
    max-height: none;
    overflow-y: visible;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.dezena-btn {
    width: 100%;
    height: 35px;
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    color: #e2e8f0;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.dezena-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

.dezena-btn.selected {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%) !important;
    border-color: #3b82f6 !important;
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.dezena-btn.selected .dezena-numero {
    color: white !important;
}

.dezena-btn.selected .dezena-frequencia {
    color: rgba(255, 255, 255, 0.9) !important;
}

.dezena-btn.selected::after {
    content: attr(data-count);
    position: absolute;
    top: -5px;
    right: -5px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== FREQUÊNCIA DE DEZENAS ===== */
.dezena-numero {
    font-size: 1.2em;
    font-weight: bold;
    color: #e2e8f0;
    line-height: 1;
}

.dezena-frequencia {
    font-size: 0.7em;
    color: #94a3b8;
    margin-top: 2px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.frequencia-bolinha {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.frequencia-alta {
    background-color: #ef4444;
}

.frequencia-media {
    background-color: #f59e0b;
}

.frequencia-baixa {
    background-color: #10b981;
}

.frequencia-zero {
    background-color: #6b7280;
}

/* ===== LEGENDA DE FREQUÊNCIA ===== */
.legenda-frequencia {
    margin: 15px 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.frequencia-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
}

/* ===== INFORMAÇÃO DE REPETIÇÃO ===== */
.info-repeticao {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 5px 0;
    font-style: italic;
}

.dezenas-selecionadas {
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.dezenas-selecionadas p {
    color: #e2e8f0;
    margin-bottom: 15px;
    font-weight: 500;
}

.btn-adicionar-jogo {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-adicionar-jogo:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-adicionar-jogo:disabled {
    background: #6b7280;
    cursor: not-allowed;
    box-shadow: none;
}

/* ===== JOGOS PRONTOS ===== */
.jogos-prontos-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.jogos-prontos-card h3 {
    color: #e2e8f0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.jogos-prontos-card p {
    color: #94a3b8;
    margin-bottom: 20px;
}

.btn-regenerar-jogos {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    margin-bottom: 20px;
    width: 100%;
}

.btn-regenerar-jogos:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.jogos-prontos-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jogo-pronto-item {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jogo-pronto-item:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

.jogo-pronto-item.adicionado {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    cursor: default;
}

.jogo-pronto-item.adicionado:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
}

.jogo-pronto-item h4 {
    color: #e2e8f0;
    margin-bottom: 5px;
    font-size: 1rem;
}

.jogo-pronto-item p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

/* ===== DESMEMBRAMENTO ===== */
.desmembramento-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.desmembramento-card h3 {
    color: #e2e8f0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.desmembramento-card p {
    color: #94a3b8;
    margin-bottom: 20px;
}

.desmembramento-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.dezenas-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 1rem;
}

.dezenas-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.btn-desmembrar {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-desmembrar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.desmembramento-result {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    min-height: 50px;
}

/* ===== CHECKBOXES DESMEMBRAMENTO ===== */
.checkbox-jogo {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
    cursor: pointer;
}

#selecionar-todos {
    width: 20px;
    height: 20px;
    accent-color: #3b82f6;
    cursor: pointer;
}

#btn-adicionar-selecionados:disabled {
    background: #6b7280 !important;
    cursor: not-allowed;
    opacity: 0.6;
}

#btn-adicionar-selecionados:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* ===== JOGOS CLICÁVEIS DESMEMBRAMENTO ===== */
.jogo-desmembramento-item {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.jogo-desmembramento-item:hover {
    background: rgba(59, 130, 246, 0.1) !important;
    border-color: #3b82f6 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.jogo-desmembramento-item.adicionado {
    background: rgba(16, 185, 129, 0.2) !important;
    border-color: #10b981 !important;
    cursor: default;
}

.jogo-desmembramento-item.adicionado:hover {
    transform: none;
    box-shadow: none;
}

/* ===== DEZENAS MAIS/MENOS SAIRAM ===== */
.dezenas-mais-card,
.dezenas-menos-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.dezenas-mais-card h3,
.dezenas-menos-card h3 {
    color: #e2e8f0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.dezenas-mais-card p,
.dezenas-menos-card p {
    color: #94a3b8;
    margin-bottom: 20px;
}

/* ===== CARRINHO DE APOSTAS ===== */
.carrinho-apostas {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carrinho-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

.carrinho-header h3 {
    color: #e2e8f0;
    margin: 0;
    font-size: 1.2rem;
}

.carrinho-count {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.carrinho-items {
    margin-bottom: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.carrinho-vazio {
    color: #94a3b8;
    text-align: center;
    font-style: italic;
    margin: 20px 0;
}

.carrinho-item {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carrinho-item-info {
    flex: 1;
}

.carrinho-item-tipo {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.9rem;
}

.carrinho-item-dezenas {
    color: #94a3b8;
    font-size: 0.8rem;
    margin-top: 2px;
}

.carrinho-item-valor {
    color: #10b981;
    font-weight: 600;
    font-size: 0.9rem;
}

.carrinho-item-remove {
    background: #ef4444;
    border: none;
    border-radius: 4px;
    color: white;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.carrinho-footer {
    padding-top: 15px;
    border-top: 1px solid rgba(59, 130, 246, 0.3);
}

.carrinho-total {
    text-align: center;
    margin-bottom: 15px;
    color: #e2e8f0;
    font-size: 1.1rem;
}

.btn-finalizar-aposta {
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-finalizar-aposta:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-finalizar-aposta:disabled {
    background: #6b7280;
    cursor: not-allowed;
    box-shadow: none;
}

/* ===== BOTÃO LIMPAR CARRINHO ===== */
.btn-limpar-carrinho {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-limpar-carrinho:hover:not(:disabled) {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.btn-limpar-carrinho:disabled {
    background: #6b7280;
    cursor: not-allowed;
    box-shadow: none;
}

/* ===== RESPONSIVIDADE PARA GRID MANUAL ===== */
@media (max-width: 768px) {
    .dezenas-grid {
        grid-template-columns: repeat(10, 1fr);
        gap: 4px;
        padding: 8px;
    }
    
    .dezena-btn {
        height: 30px;
        font-size: 0.7rem;
    }
    
    .dezena-btn.selected::after {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
        top: -4px;
        right: -4px;
    }
}

@media (max-width: 480px) {
    .dezenas-grid {
        grid-template-columns: repeat(10, 1fr);
        gap: 3px;
        padding: 6px;
    }
    
    .dezena-btn {
        height: 28px;
        font-size: 0.65rem;
    }
    
    .dezena-btn.selected::after {
        width: 14px;
        height: 14px;
        font-size: 0.55rem;
        top: -3px;
        right: -3px;
    }
}

/* ===== ESTATÍSTICAS DOS JOGOS ===== */
.jogos-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #0f172a;
    padding: 24px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 8px 16px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 50%, #1d4ed8 100%);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12), 0 12px 24px rgba(0,0,0,0.06);
}

.stat-card h3 {
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

/* Responsivo para estatísticas */
@media (max-width: 768px) {
    .jogos-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-card h3 {
        font-size: 12px;
    }
    
    .stat-number {
        font-size: 20px;
    }
}

/* Responsivo para header */
@media (max-width: 768px) {
    .app-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .header-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .btn-install-app,
    .btn-restart,
    .btn-logout {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header-right {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-install-app,
    .btn-restart,
    .btn-logout {
        width: 100%;
        margin: 2px 0;
    }
}

/* Responsivo para botão de instalação na tela de login */
@media (max-width: 480px) {
    .btn-login-install {
        padding: 10px 20px;
        font-size: 13px;
        gap: 6px;
    }
    
    .btn-login-install i {
        font-size: 14px;
    }
    
    .login-install-section {
        margin-top: 15px;
        padding-top: 15px;
    }
}

/* Modal de Sucesso da Aposta */
.modal-overlay-aposta {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content-aposta {
    background: #ffffff;
    border-radius: 16px;
    max-width: 90%;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header-aposta {
    background: #2d3748;
    color: white;
    padding: 20px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-aposta h2 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header-aposta h2 i {
    color: #10b981;
}

.modal-close-aposta {
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.modal-close-aposta:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body-aposta {
    padding: 25px;
    color: #333;
}

.aposta-info-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.aposta-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.aposta-info-item:last-child {
    border-bottom: none;
}

.aposta-info-item i {
    font-size: 1.5rem;
    color: #2d3748;
    width: 30px;
    text-align: center;
}

.aposta-info-item div {
    flex: 1;
}

.aposta-info-item strong {
    color: #666;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.aposta-info-item span {
    color: #2d3748;
    font-weight: 700;
    font-size: 1.1rem;
}

.modal-actions-aposta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-copiar-link,
.btn-download-pdf {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-copiar-link {
    background: #2d3748;
    color: white;
}

.btn-copiar-link:hover {
    background: #374151;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.3);
}

.btn-download-pdf {
    background: #dc2626;
    color: white;
}

.btn-download-pdf:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

@media (max-width: 768px) {
    .modal-content-aposta {
        max-width: 95%;
    }
    
    .modal-header-aposta h2 {
        font-size: 1.1rem;
    }
}