/* =============================================
   JOGO DO BICHO - ESTILOS PRINCIPAIS
   ============================================= */

/* Importar fontes */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1e3a5f;
    --primary-light: #2c5282;
    --primary-dark: #1a2f4a;
    --secondary: #f5a623;
    --secondary-light: #f7b84b;
    --secondary-dark: #d4891d;
    --success: #38a169;
    --danger: #e53e3e;
    --warning: #dd6b20;
    --info: #3182ce;
    --light: #f7f7f7;
    --dark: #2d3748;
    --gray: #718096;
    --gray-light: #e2e8f0;
    --gray-dark: #4a5568;
    --background: #faf8f5;
    --card-bg: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--background);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-sm {
    max-width: 600px;
}

.container-lg {
    max-width: 1400px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1em;
    color: var(--gray-dark);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover:not(:disabled) {
    background: var(--primary);
    color: white;
}

.btn-outline-secondary {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline-secondary:hover:not(:disabled) {
    background: var(--secondary);
    color: white;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background: #c53030;
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover:not(:disabled) {
    background: #2f855a;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 1rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    background: white;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.form-control.error {
    border-color: var(--danger);
}

.form-text {
    font-size: 0.875rem;
    color: var(--gray);
    margin-top: 4px;
}

.form-error {
    font-size: 0.875rem;
    color: var(--danger);
    margin-top: 4px;
}

/* Cards */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-header {
    padding: 20px;
    background: var(--primary);
    color: white;
}

.card-body {
    padding: 24px;
}

.card-footer {
    padding: 16px 24px;
    background: var(--light);
    border-top: 1px solid var(--gray-light);
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.alert-danger {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #feb2b2;
}

.alert-warning {
    background: #feebc8;
    color: #744210;
    border: 1px solid #fbd38d;
}

.alert-info {
    background: #bee3f8;
    color: #2a4365;
    border: 1px solid #90cdf4;
}

/* Header/Navbar */
.navbar {
    background: var(--primary);
    padding: 16px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand:hover {
    color: var(--secondary);
}

.navbar-brand img {
    height: 40px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.navbar-link:hover,
.navbar-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.navbar-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar-saldo {
    background: var(--secondary);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 600;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Stepper */
.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 30px 0;
    max-width: 800px;
    margin: 0 auto;
}

.stepper-item {
    display: flex;
    align-items: center;
    flex: 1;
}

.stepper-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-light);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: var(--transition);
    flex-shrink: 0;
}

.stepper-item.active .stepper-circle {
    background: var(--primary);
    color: white;
}

.stepper-item.completed .stepper-circle {
    background: var(--primary-light);
    color: white;
}

.stepper-line {
    flex: 1;
    height: 4px;
    background: var(--gray-light);
    margin: 0 8px;
}

.stepper-item.completed .stepper-line {
    background: var(--primary-light);
}

.stepper-item:last-child .stepper-line {
    display: none;
}

/* Modalidades Grid */
.modalidades-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.modalidade-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: white;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.modalidade-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.modalidade-card.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.modalidade-card.selected .modalidade-valor {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.modalidade-nome {
    font-weight: 500;
    font-size: 1rem;
}

.modalidade-valor {
    background: var(--light);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

/* Números/Palpites */
.numeros-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.numero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
}

.numero-tag .remover {
    cursor: pointer;
    opacity: 0.8;
}

.numero-tag .remover:hover {
    opacity: 1;
}

.numero-input-group {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.numero-input-group .form-control {
    flex: 1;
    max-width: 200px;
}

/* Grupos do Bicho Grid */
.grupos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.grupo-card {
    padding: 16px;
    text-align: center;
    background: white;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.grupo-card:hover {
    border-color: var(--primary-light);
    transform: scale(1.05);
}

.grupo-card.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.grupo-numero {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.grupo-animal {
    font-size: 0.75rem;
    opacity: 0.8;
}

.grupo-dezenas {
    font-size: 0.7rem;
    opacity: 0.6;
    margin-top: 4px;
}

/* Position Selector */
.posicao-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.posicao-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.posicao-option input[type="radio"],
.posicao-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

/* Value Selector */
.valor-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.valor-btn {
    padding: 12px 20px;
    background: white;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.valor-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.valor-input {
    width: 150px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Resumo/Confirmação */
.resumo-card {
    background: white;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    padding: 24px;
    margin: 20px 0;
}

.resumo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-light);
}

.resumo-titulo {
    font-weight: 600;
    font-size: 1.1rem;
}

.resumo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.resumo-item {
    text-align: left;
}

.resumo-item-label {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 4px;
}

.resumo-item-value {
    font-weight: 600;
    color: var(--primary);
}

.resumo-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--light);
    border-radius: var(--radius);
    margin-top: 20px;
}

.resumo-total-label {
    font-size: 1.25rem;
    font-weight: 600;
}

.resumo-total-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* Table */
.table-container {
    overflow-x: auto;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

thead {
    background: var(--primary);
    color: white;
}

th, td {
    padding: 16px;
    text-align: left;
}

th {
    font-weight: 600;
}

tbody tr {
    border-bottom: 1px solid var(--gray-light);
    transition: var(--transition);
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background: var(--light);
}

/* Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-success {
    background: #c6f6d5;
    color: #22543d;
}

.badge-danger {
    background: #fed7d7;
    color: #742a2a;
}

.badge-warning {
    background: #feebc8;
    color: #744210;
}

.badge-info {
    background: #bee3f8;
    color: #2a4365;
}

.badge-primary {
    background: var(--primary);
    color: white;
}

.badge-secondary {
    background: var(--gray-light);
    color: var(--gray-dark);
}

/* Dashboard Cards */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.dashboard-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.dashboard-card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.dashboard-card-icon.primary {
    background: rgba(30, 58, 95, 0.1);
    color: var(--primary);
}

.dashboard-card-icon.success {
    background: rgba(56, 161, 105, 0.1);
    color: var(--success);
}

.dashboard-card-icon.warning {
    background: rgba(221, 107, 32, 0.1);
    color: var(--warning);
}

.dashboard-card-icon.danger {
    background: rgba(229, 62, 62, 0.1);
    color: var(--danger);
}

.dashboard-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.dashboard-card-label {
    font-size: 0.875rem;
    color: var(--gray);
}

/* Admin Sidebar */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--primary);
    color: white;
    padding: 24px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar-brand {
    padding: 0 24px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.admin-sidebar-brand h2 {
    color: white;
    font-size: 1.25rem;
}

.admin-sidebar-menu {
    list-style: none;
}

.admin-sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.admin-sidebar-menu a:hover,
.admin-sidebar-menu a.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left: 4px solid var(--secondary);
}

.admin-sidebar-menu i {
    width: 24px;
    text-align: center;
}

.admin-content {
    flex: 1;
    margin-left: 260px;
    padding: 24px;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(-20px);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-light);
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--dark);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--gray-light);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Divisão (Para todos/Para cada palpite) */
.divisao-selector {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.divisao-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Bônus */
.bonus-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--light);
    border-radius: var(--radius);
    margin: 20px 0;
}

.bonus-value {
    background: var(--success);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* Footer Navigation */
.footer-nav {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.footer-nav .btn {
    flex: 1;
}

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-muted { color: var(--gray); }

.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-light { background-color: var(--light); }
.bg-white { background-color: white; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.w-100 { width: 100%; }

/* Auth Pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.auth-card {
    width: 100%;
    max-width: 450px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.auth-header {
    background: var(--primary);
    padding: 30px;
    text-align: center;
    color: white;
}

.auth-header h1 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.auth-header p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.auth-body {
    padding: 30px;
}

.auth-footer {
    padding: 20px 30px;
    background: var(--light);
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .admin-sidebar {
        transform: translateX(-100%);
        z-index: 1000;
    }
    
    .admin-sidebar.open {
        transform: translateX(0);
    }
    
    .admin-content {
        margin-left: 0;
    }
    
    .modalidades-grid {
        grid-template-columns: 1fr;
    }
    
    .grupos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }
    
    .navbar-menu.open {
        display: flex;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .grupos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .resumo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stepper {
        flex-wrap: wrap;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .grupos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .resumo-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-nav {
        flex-direction: column;
    }
    
    .valor-selector {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.3s ease forwards;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Special Button - Cotações Especiais */
.btn-special {
    background: linear-gradient(135deg, var(--info), var(--primary));
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-special:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Sorte Button */
.btn-sorte {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-sorte:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hot Badge */
.hot-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hot-badge::before {
    content: '🔥';
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-light);
    transition: var(--transition);
    border-radius: 26px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

.switch input:checked + .switch-slider {
    background-color: var(--success);
}

.switch input:checked + .switch-slider:before {
    transform: translateX(24px);
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 2px solid var(--gray-light);
    margin-bottom: 24px;
}

.tab {
    padding: 12px 24px;
    cursor: pointer;
    font-weight: 500;
    color: var(--gray);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}

.tab:hover {
    color: var(--primary);
}

.tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* =============================================
   ÁREA DO CAMBISTA - ESTILOS ESPECÍFICOS
   ============================================= */

/* Grid de grupos */
.grupos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
}

.grupo-card {
    background: white;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.grupo-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.grupo-card.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.grupo-card .grupo-numero {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.grupo-card.selected .grupo-numero {
    color: white;
}

.grupo-card .grupo-animal {
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grupo-card .grupo-dezenas {
    font-size: 0.6rem;
    color: var(--gray);
}

.grupo-card.selected .grupo-dezenas {
    color: rgba(255,255,255,0.7);
}

/* Seletor de posição e valor */
.posicao-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.posicao-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.posicao-option:hover {
    background: var(--gray-light);
}

.posicao-option input:checked + * {
    font-weight: 600;
}

.valor-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.valor-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.valor-btn:hover {
    background: var(--primary-dark);
}

.valor-input {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
}

.divisao-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Números container */
.numeros-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 40px;
    padding: 10px;
    background: var(--light);
    border-radius: var(--radius-sm);
}

.numero-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.numero-tag .remover {
    opacity: 0.7;
    transition: var(--transition);
}

.numero-tag .remover:hover {
    opacity: 1;
}

.numero-input-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.numero-input-group .form-control {
    flex: 1;
    max-width: 150px;
}

