/* ===== SANT'ANNA TENNIS - SISTEMA COMPLETO ===== */
/* Arquivo CSS único para todo o site */

/* ===== 1. VARIÁVEIS DO SISTEMA - CORES AJUSTADAS ===== */
:root {
    /* Cores principais do sistema - ajustadas para tons mais escuros */
    --rg-orange: #D2691E;       /* Laranja principal mais escuro */
    --rg-orange-dark: #B8590C;  /* Laranja escuro intenso */
    --rg-orange-light: #E17A2A; /* Laranja claro mais presente */
    --rg-green: #005a33;        /* Verde principal mais escuro */
    --rg-green-dark: #014527;   /* Verde escuro profundo */
    --rg-green-light: #135713;  /* Verde claro mais saturado */
    --rg-clay: #CD853F;         /* Cor complementar */
    --rg-white: #FFFFFF;
    --rg-light-gray: #F8F9FA;
    --rg-dark-gray: #2C2C2C;
    --rg-border: #E9ECEF;
    --rg-shadow: rgba(0, 107, 60, 0.25); /* Sombra verde escura */
    
    /* Aliases para compatibilidade com código existente */
    --primary-color: var(--rg-orange);
    --accent-color: var(--rg-orange-light);
    --secondary-color: var(--rg-green);
    --text-dark: var(--rg-dark-gray);
    --text-light: var(--rg-white);
    --text-muted: #6c757d;
    --border-color: var(--rg-border);
    
    /* Gradientes com cores mais escuras */
    --rg-gradient-primary: linear-gradient(135deg, var(--rg-green) 0%, var(--rg-green-light) 100%);
    --rg-gradient-orange: linear-gradient(135deg, var(--rg-orange) 0%, var(--rg-orange-light) 100%);
    --rg-gradient-orange-intense: linear-gradient(135deg, var(--rg-orange) 0%, var(--rg-orange-dark) 100%);
    --rg-gradient-green-intense: linear-gradient(135deg, var(--rg-green-dark) 0%, var(--rg-green) 100%);
    --rg-gradient-clay: linear-gradient(135deg, var(--rg-clay) 0%, #CD853F 100%);
    
    /* Transições */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    
    /* Sombras com menos transparência */
    --shadow-light: 0 3px 10px rgba(0,0,0,0.15);
    --shadow-medium: 0 6px 20px rgba(0,0,0,0.20);
    --shadow-heavy: 0 10px 40px rgba(0,107,60,0.30);
    --rg-shadow-orange: rgba(210,105,30,0.35);
    --rg-shadow-green: rgba(0,107,60,0.35);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* ===== 2. RESET E BASE ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--rg-dark-gray);
    background-color: var(--rg-light-gray);
    overflow-x: hidden;
}

/* ===== 3. NAVBAR PRINCIPAL - SIMPLES ===== */
.navbar {
    background: #ffffff !important;
    backdrop-filter: blur(10px);
    border-bottom: 4px solid var(--rg-orange);
    box-shadow: 0 4px 20px rgba(210, 105, 30, 0.20);
    padding: 1rem 0;
    transition: var(--transition-smooth);
    position: sticky;
    top: 0;
    z-index: 1050;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-heavy);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--rg-orange) !important;
    text-decoration: none;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    text-shadow: none;
}

.navbar-brand:hover {
    transform: translateY(-2px);
    color: var(--rg-orange-dark) !important;
    text-shadow: 0 2px 10px rgba(210, 105, 30, 0.35);
}

.navbar-brand .brand-text {
    display: none;
}

.navbar-toggler {
    border: 2px solid var(--rg-orange);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 4px rgba(210, 105, 30, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23D2691E' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* DROPDOWN MENU - EQUILIBRADO PARA TODAS AS PÁGINAS */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 200px;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 0.8rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 3px solid var(--rg-orange);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(210, 105, 30, 0.25);
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu-end {
    right: 0;
    left: auto;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    clear: both;
    font-weight: 500;
    color: #2C2C2C;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    transition: var(--transition-fast);
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #ffffff;
    background: var(--rg-gradient-orange);
    transform: translateX(5px);
}

.dropdown-item i {
    width: 20px;
    margin-right: 0.5rem;
    color: var(--rg-green);
}

.dropdown-item:hover i,
.dropdown-item:focus i {
    color: #ffffff;
}

.dropdown-divider {
    height: 0;
    margin: 0.5rem 1rem;
    overflow: hidden;
    border-top: 2px solid rgba(210, 105, 30, 0.25);
}

.dropdown-header {
    display: block;
    padding: 0.75rem 1.5rem 0.5rem;
    margin-bottom: 0;
    font-size: 0.8rem;
    color: var(--rg-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* LINKS DE NAVEGAÇÃO - CORRIGIDO */
.navbar-light .navbar-nav .nav-link,
.navbar .navbar-nav .nav-link,
.nav-link {
    font-weight: 600;
    color: #2C2C2C !important;
    padding: 0.75rem 1.25rem !important;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    margin: 0 0.25rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
}

.navbar-light .navbar-nav .nav-link::before,
.navbar .navbar-nav .nav-link::before,
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--rg-orange);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.nav-link:hover,
.nav-link.active {
    background: linear-gradient(135deg, rgba(210, 105, 30, 0.18) 0%, rgba(225, 122, 42, 0.12) 100%) !important;
    color: var(--rg-orange) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.30);
}

.navbar-light .navbar-nav .nav-link:hover::before,
.navbar-light .navbar-nav .nav-link.active::before,
.navbar .navbar-nav .nav-link:hover::before,
.navbar .navbar-nav .nav-link.active::before,
.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

/* Botões da navbar - CORRIGIDOS */
.btn-outline-light {
    color: var(--rg-orange) !important;
    border-color: var(--rg-orange);
    background: transparent;
    font-weight: 600;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background: var(--rg-orange) !important;
    border-color: var(--rg-orange);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-warning {
    background: var(--rg-gradient-orange);
    border: none;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--rg-shadow-orange);
}

.btn-warning:hover,
.btn-warning:focus {
    background: var(--rg-gradient-orange-intense) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--rg-shadow-orange);
}

/* Clock na navbar */
.live-clock {
    color: var(--rg-green) !important;
    font-weight: 600;
    font-family: monospace;
    font-size: 0.7rem;
    background: rgba(0, 107, 60, 0.15);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    border: 2px solid rgba(0, 107, 60, 0.25);
}

/* ===== LOGO COM TAMANHO AUMENTADO ===== */
/* Desktop */
.navbar-brand img.brand-logo,
.navbar-brand img,
.brand-logo {
    height: 85px !important;
   /* width: auto !important;*/
    object-fit: contain !important;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.15)) !important;
}

/* Tablet */
@media (max-width: 992px) {
    .navbar-brand img.brand-logo,
    .navbar-brand img,
    .brand-logo {
        height: 70px !important;
    }
}

/* Mobile - Logo centralizado e hamburger à esquerda */
@media (max-width: 768px) {
    .navbar {
        padding: 0rem;
        min-height: 95px; /* Altura mínima para evitar sobreposição */
    }
    
    .navbar .container {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        width: 100% !important;
        min-height: 75px; /* Altura mínima do container */
    }
    
    .navbar-brand {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
        z-index: 1 !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important; /* Centraliza vertical e horizontalmente */
    }
    
    .navbar-brand img.brand-logo,
    .navbar-brand img,
    .brand-logo {
        height: 75px !important;
    }
    
    .navbar-toggler {
        position: absolute !important;
        left: 1rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important; /* Centraliza verticalmente */
        z-index: 2 !important;
        border: 2px solid var(--rg-orange) !important;
        padding: 0.35rem 0.5rem !important;
    }
    
    /* Garantir que o conteúdo abaixo não sobreponha */
    .hero-welcome {
        margin-top: 0 !important;
        position: relative !important;
        z-index: 0 !important;
    }
    
    /* TABELA DE DISPONIBILIDADE MOBILE - ESTRUTURA CORRIGIDA */
    .schedule-container {
        overflow-x: auto;
        max-width: calc(100vw);
    }
    
    .schedule-grid {
        display: grid !important;
        grid-template-columns: 70px repeat(var(--quadras-count, 3), 1fr) !important;
        min-width: 100%;
        font-size: 0.7rem;
        border: 2px solid var(--rg-border);
        border-radius: var(--radius-md);
        overflow: hidden;
    }
    
    /* CABEÇALHO DA TABELA */
    .time-header {
        background: var(--rg-gradient-orange);
        color: white;
        padding: 0.3em 0.3rem;
        font-size: 0.7rem;
        font-weight: 700;
        text-align: center;
        position: sticky;
        left: 0;
        z-index: 3;
        border-right: 2px solid var(--rg-border);
    }
    
    .court-header {
        background: linear-gradient(135deg, #f8fffe 0%, #e6f7ea 100%);
        border-bottom: 2px solid var(--rg-border);
        padding: 0.2rem 0.25rem;
        text-align: center;
        font-size: 0.7rem;
    }
    
    .court-name {
        font-size: 0.7rem;
        font-weight: 700;
        color: var(--rg-orange);
        margin-bottom: 0.15rem;
        line-height: 1.1;
    }
    
    .court-hours {
        font-size: 0.55rem;
        color: var(--text-muted);
        line-height: 1;
    }
    
    /* CÉLULAS DE HORÁRIO */
    .time-cell {
        background: linear-gradient(135deg, #fff8f5 0%, #fef0e6 100%);
        border-bottom: 1px solid var(--rg-border);
        border-right: 2px solid var(--rg-border);
        padding: 0.75rem 0.5rem;
        text-align: center;
        font-weight: 600;
        color: var(--rg-orange-dark);
        position: sticky;
        left: 0;
        z-index: 2;
        min-height: 60px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .time-cell.past {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        color: var(--text-muted);
        opacity: 0.8;
    }
    
    .time-display {
        font-size: 0.70rem;
        font-weight: 700;
        line-height: 1;
    }
    
    .time-status {
        font-size: 0.55rem;
        margin-top: 0.15rem;
        opacity: 0.8;
        line-height: 1;
    }
    
    /* CÉLULAS DAS QUADRAS */
    .court-cell {
        background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
        border-bottom: 1px solid var(--rg-border);
        border-right: 1px solid #f0f7f4;
        padding: 0.5rem 0.25rem;
        text-align: center;
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .court-cell:last-child {
        border-right: none;
    }
    
    /* SLOTS E STATUS */
    .slot-available,
    .slot-status {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        font-size: 0.65rem;
        font-weight: 600;
        width: 100%;
        min-height: 45px;
        line-height: 1.1;
    }
    
    .slot-available {
        background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
        color: var(--rg-green-dark);
        border: 2px solid var(--rg-green);
        text-decoration: none;
        transition: var(--transition-fast);
    }
    
    .slot-available:hover {
        background: var(--rg-gradient-primary);
        color: white;
        transform: scale(1.02);
    }
    
    .slot-status.closed {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        color: var(--text-muted);
        border: 2px solid #dee2e6;
    }
    
    .slot-status.occupied {
        background: linear-gradient(135deg, #fff5f5 0%, #ffe6e6 100%);
        color: #dc3545;
        border: 2px solid #f5c6cb;
    }
    
    .slot-status.past {
        background: linear-gradient(135deg, #f1f3f4 0%, #e0e0e0 100%);
        color: var(--text-muted);
        border: 2px solid #e0e0e0;
        opacity: 0.7;
    }

    .slot-available.slot-past-admin {
        background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
        color: #856404;
        border: 2px dashed var(--rg-orange);
        opacity: 0.85;
    }

    .slot-available.slot-past-admin:hover {
        background: var(--rg-gradient-orange);
        color: white;
        opacity: 1;
        border-style: solid;
    }
    
    .slot-available i,
    .slot-status i {
        font-size: 0.7rem;
        margin-bottom: 0.1rem;
    }
    
    .slot-available span,
    .slot-status span {
        font-size: 0.7rem;
        line-height: 1;
    }
    
    .reserver-name {
        font-size: 0.55rem;
        line-height: 1.1;
        margin-top: 0.1rem;
        text-align: center;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        word-break: break-word; /* Quebra palavras longas */
        hyphens: auto; /* Adiciona hífens automáticos */
        padding: 0 2px; /* Padding para não colar nas bordas */
    }
    
    /* NOMES LONGOS - QUEBRA RESPONSIVA */
    .slot-status.occupied .reserver-name {
        white-space: normal; /* Permite quebra de linha para nomes longos */
        max-height: 1em; /* Limita a 2 linhas */
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 1.1;
    }
    
    /* SECTION CARDS MOBILE COMPACTAS */
    .section-header {
        gap: 0.75rem;
    }
    
    .section-icon {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 0.75rem;
    }

    .section-content {
        padding: 0.5rem;
    }
    
    /* LEGENDAS COMPACTAS */
    .legend-indicators {
        gap: 1rem;
        margin-top: 0.25rem;
        flex-wrap: wrap;
    }
    
    .legend-item {
        font-size: 0.7rem;
        gap: 0.25rem;
    }
    
    .legend-dot {
        width: 10px;
        height: 10px;
    }
    
    /* Hero Welcome Banner - Mobile */
    .hero-welcome .welcome-content .welcome-title {
        font-size: 0.85rem !important;
    }
    

    /* Menu dropdown mobile */
    .navbar-collapse {
        background: #ffffff !important;
        border-radius: var(--radius-md) !important;
        margin-top: 1rem !important;
        padding: 1rem !important;
        border: 3px solid var(--rg-orange) !important;
        box-shadow: 0 6px 25px rgba(210, 105, 30, 0.25) !important;
        width: 100% !important;
        position: relative !important;
        z-index: 3 !important;
    }

    .navbar-nav .nav-link {
        color: #2C2C2C !important;
        text-align: center !important;
        margin: 0.25rem 0 !important;
        padding: 0.75rem 1rem !important;
        border-radius: var(--radius-md) !important;
        width: 100% !important;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: linear-gradient(135deg, rgba(210, 105, 30, 0.18) 0%, rgba(225, 122, 42, 0.12) 100%) !important;
        color: var(--rg-orange) !important;
    }

    /* FOOTER MOBILE - RESPONSIVO */
    html {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    body {
        overflow-x: hidden !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    main {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .footer-custom {
        padding: 2rem 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    .footer-custom .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    .footer-custom .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* FORÇAR COLUNAS A FICAREM 100% LARGURA EM MOBILE */
    .footer-custom .col-md-4,
    .footer-custom .col-md-8,
    .footer-custom [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        margin-bottom: 1.5rem !important;
        box-sizing: border-box !important;
    }

    /* Colunas internas podem ficar lado a lado */
    .footer-custom .col-6 {
        width: 50% !important;
        flex: 0 0 50% !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .footer-custom h5 {
        font-size: 1rem !important;
    }

    .footer-custom p,
    .footer-custom .footer-text {
        font-size: 0.85rem !important;
    }

    .footer-custom iframe {
        width: 100% !important;
        max-width: 100% !important;
        height: 120px !important;
        box-sizing: border-box !important;
    }

    .footer-custom .d-flex {
        flex-wrap: wrap !important;
    }

    .footer-custom .d-flex.gap-3 {
        gap: 0.5rem !important;
    }

    .footer-social-link {
        width: 35px !important;
        height: 35px !important;
        font-size: 0.9rem !important;
    }

    /* Garantir que todos os elementos filhos do footer respeitem a largura */
    .footer-custom * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Corrigir rows aninhadas */
    .footer-custom .row .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Mobile pequeno */
@media (max-width: 576px) {
    .navbar {
        padding: 0rem 0;
        min-height: 95px;
    }
    
    .navbar-brand img.brand-logo,
    .navbar-brand img,
    .brand-logo {
        height: 85px !important;
    }
    
    .navbar .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        min-height: 75px !important;
    }
    
    .navbar-toggler {
        left: 1rem !important;
        padding: 0.3rem 0.45rem !important;
    }
}

/* ===== RESTO DO CSS ORIGINAL CONTINUA... ===== */

/* ===== 4. CARDS E CONTAINERS ===== */
.card {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    overflow: hidden;
    background: var(--rg-white);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
}

.card-header {
    background: linear-gradient(135deg, #f8fffe 0%, #e6f7ea 100%);
    border-bottom: 3px solid #d4edda;
    padding: 1.25rem 1.5rem;
    font-weight: 700;
}

.card-header h5 {
    color: var(--rg-green);
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.card-header h5 i {
    margin-right: 0.75rem;
    color: var(--rg-orange);
    font-size: 1.2rem;
}

.card-body {
    padding: 1.5rem;
}

/* ===== 5. BOTÕES DO SISTEMA ===== */
.btn {
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    padding: 0.75rem 1.5rem;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.30);
    border-radius: 50%;
    transition: var(--transition-fast);
    transform: translate(-50%, -50%);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--rg-gradient-primary);
    color: var(--rg-white);
    box-shadow: 0 6px 20px var(--rg-shadow-green);
}

.btn-primary:hover {
    background: var(--rg-gradient-green-intense);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--rg-shadow-green);
    color: var(--rg-white) !important;
}

.btn-outline-primary {
    color: var(--rg-green);
    border: 3px solid var(--rg-green);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--rg-gradient-primary);
    color: var(--rg-white);
    border-color: var(--rg-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--rg-shadow-green);
}

.btn-warning {
    background: var(--rg-gradient-orange);
    color: var(--rg-white);
    box-shadow: 0 6px 20px var(--rg-shadow-orange);
}

.btn-warning:hover {
    background: var(--rg-gradient-orange-intense);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--rg-shadow-orange);
}

/* ===== 6. FORMULÁRIOS ===== */
.form-control,
.form-select {
    border: 2px solid var(--rg-border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: var(--transition-fast);
    font-weight: 500;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--rg-green);
    box-shadow: 0 0 0 4px rgba(0, 107, 60, 0.20);
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
}

.form-label {
    font-weight: 600;
    color: var(--rg-dark-gray);
    margin-bottom: 0.5rem;
}

/* ===== DASHBOARD ESTILOS COMPLETOS ===== */

/* Dashboard Harmonioso - BANNER COMPACTO */
.hero-welcome {
    background: linear-gradient(135deg, var(--rg-orange) 0%, var(--rg-orange-light) 50%, var(--rg-orange-dark) 100%);
    color: white;
    padding: 0.2rem 0;
    margin-bottom: 0;
    box-shadow: 0 4px 20px rgba(210, 105, 30, 0.30);
    min-height: auto;
    position: relative;
}

.hero-welcome::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(0, 107, 60, 0.08) 0%, 
        transparent 50%,
        rgba(184, 89, 12, 0.05) 100%);
    z-index: 1;
}

.hero-welcome .container {
    position: relative;
    z-index: 2;
}

.welcome-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
}

.welcome-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.welcome-content .welcome-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

.welcome-content .welcome-subtitle {
    font-size: 0.8rem;
    opacity: 0.9;
    margin: 0;
    white-space: nowrap;
}

.user-badge-modern {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 15px;
    padding: 4px 12px;
    font-weight: 600;
    font-size: 0.75rem;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    flex-shrink: 0;
}

.user-badge-modern:hover {
    background: rgba(255, 255, 255, 0.30);
}

.main-dashboard {
    background: linear-gradient(135deg, #f8fffe 0%, #e6f7ea 100%);
    min-height: calc(100vh - 200px);
}

/* Seções */
.section-card {
    background: white;
    padding: 0.5rem;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 107, 60, 0.12);
    border: 2px solid rgba(0, 107, 60, 0.15);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.section-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(0, 107, 60, 0.18);
}

.section-header {
    background: linear-gradient(135deg, #f8fffe 0%, #e6f7ea 100%);
    padding: 0.2rem;
    border-bottom: 3px solid #d4edda;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-icon {
    width: 50px;
    height: 50px;
    background: var(--rg-gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px var(--rg-shadow-green);
}

.section-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--rg-green);
    margin: 0;
}

.section-content {
    padding: 0.1rem;
}

/* Reduzir padding do calendário especificamente */
.section-card .section-content:has(.date-selector-grid) {
    padding: 0.3rem;
}

/* Seletor de Data - BOTÕES REDUZIDOS 70% DO TAMANHO ORIGINAL */
.date-selector-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.1rem;
}

.date-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    border: 1px solid #d4edda;
    border-radius: 4px;
    padding: 0.2rem 0.05rem;
    text-align: center;
    transition: var(--transition-smooth);
    text-decoration: none;
    color: var(--text-dark);
    display: block;
    min-width: 0;
    box-shadow: 0 1px 3px rgba(0, 107, 60, 0.08);
}

.date-card:hover:not(.disabled) {
    transform: translateY(-1px);
    border-color: var(--rg-orange);
    box-shadow: 0 2px 8px rgba(210, 105, 30, 0.20);
    color: var(--text-dark);
    background: linear-gradient(135deg, #fff8f5 0%, #fef5f0 100%);
}

.date-card.active {
    background: var(--rg-gradient-orange);
    border-color: var(--rg-orange-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px var(--rg-shadow-orange);
}

.date-card.disabled {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-color: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.7;
}

.date-day {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.03rem;
}

.date-month {
    font-size: 1.0rem;
    font-weight: 600;
    opacity: 0.8;
}

.date-label {
    font-size: 0.8rem;
    margin-top: 0.03rem;
    opacity: 0.9;
}

/* Legenda */
.legend-indicators {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6rem;
    color: var(--text-muted);
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.legend-item.disponible .legend-dot {
    background: var(--rg-green);
}

.legend-item.occupied .legend-dot {
    background: #dc3545;
}

.legend-item.closed .legend-dot {
    background: #6c757d;
}

/* Grade de Agendamentos - ESTRUTURA CORRIGIDA */
.schedule-container {
    overflow-x: auto;
    width: 100%;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 120px repeat(auto-fit, minmax(150px, 1fr));
    width: 100%;
    border: 3px solid var(--rg-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 107, 60, 0.10);
}

.schedule-header {
    display: contents;
}

.time-header {
    background: var(--rg-gradient-orange);
    color: white;
    padding: 0.75rem;
    font-weight: 700;
    text-align: center;
    position: sticky;
    left: 0;
    z-index: 3;
    border-right: 3px solid var(--rg-border);
    box-shadow: 0 2px 8px var(--rg-shadow-orange);
}

.court-header {
    background: linear-gradient(135deg, #f8fffe 0%, #e6f7ea 100%);
    border-bottom: 3px solid var(--rg-border);
    padding: 1rem;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 2;
}

.court-name {
    font-weight: 700;
    color: var(--rg-orange);
    margin-bottom: 0.25rem;
    font-size: 0.7rem;
}

.court-hours {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.time-cell {
    background: linear-gradient(135deg, #fff8f5 0%, #fef0e6 100%);
    border-bottom: 2px solid var(--rg-border);
    border-right: 3px solid var(--rg-border);
    padding: 0.7rem 0.7rem;
    text-align: center;
    font-weight: 600;
    color: var(--rg-orange-dark);
    position: sticky;
    left: 0;
    z-index: 1;
    box-shadow: inset 0 1px 3px rgba(255, 105, 0, 0.12);
}

.time-cell.past {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--text-muted);
    opacity: 0.7;
}

.time-display {
    font-size: 0.75rem;
    font-weight: 700;
}

.time-status {
    font-size: 0.7rem;
    margin-top: 0.25rem;
    opacity: 0.8;
}

.court-cell {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border-bottom: 2px solid var(--rg-border);
    border-right: 2px solid #f0f7f4;
    padding: 0.2rem;
    text-align: center;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.court-cell:last-child {
    border-right: none;
}

/* Estados dos Slots */
.reserver-name {
    font-size: 0.7rem;
    font-weight: 500;
    color: #8b0000;
    text-align: center;
    line-height: 1.2;
    margin-top: 0.2rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.slot-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 12px;
    font-size: 0.70rem;
    font-weight: 600;
    width: 100%;
    cursor: default;
    min-height: 70px;
}

.slot-status.closed {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--text-muted);
    border: 3px solid #dee2e6;
}

.slot-status.occupied {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe6e6 100%);
    color: #dc3545;
    border: 3px solid #f5c6cb;
    box-shadow: 0 3px 10px rgba(220, 53, 69, 0.20);
}

.slot-status.past {
    background: linear-gradient(135deg, #f1f3f4 0%, #e0e0e0 100%);
    color: var(--text-muted);
    border: 3px solid #e0e0e0;
    opacity: 0.7;
}

.slot-available.slot-past-admin {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border: 3px dashed var(--rg-orange);
    opacity: 0.85;
}

.slot-available.slot-past-admin:hover {
    background: var(--rg-gradient-orange);
    color: white;
    opacity: 1;
    border-style: solid;
}

.slot-available {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: var(--rg-green-dark);
    border: 3px solid var(--rg-green);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    width: 100%;
    transition: var(--transition-fast);
    box-shadow: 0 3px 10px rgba(0, 107, 60, 0.20);
}

.slot-available:hover {
    background: var(--rg-gradient-primary);
    color: white;
    border-color: var(--rg-green-dark);
    transform: scale(1.05);
    box-shadow: 0 6px 20px var(--rg-shadow-green);
}

/* Ações Rápidas */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 3px solid transparent;
}

.action-button.primary {
    background: var(--rg-gradient-primary);
    color: white;
    box-shadow: 0 4px 15px var(--rg-shadow-green);
}

.action-button.primary:hover {
    background: var(--rg-gradient-green-intense);
    box-shadow: 0 8px 25px var(--rg-shadow-green);
}

.action-button.secondary {
    background: linear-gradient(135deg, #f8fffe 0%, #e6f7ea 100%);
    color: var(--rg-green);
    border-color: #d4edda;
}

.action-button.secondary:hover {
    background: linear-gradient(135deg, #e6f7ea 0%, #d4edda 100%);
    border-color: var(--rg-green);
}

.action-button.admin {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b3 100%);
    color: #b84300;
    border-color: #ffcc80;
}

.action-button.admin:hover {
    background: linear-gradient(135deg, #ffe0b3 0%, #ffcc80 100%);
    border-color: #ff9800;
}

.action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.action-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.action-button.primary .action-icon {
    background: rgba(255, 255, 255, 0.25);
}

.action-button.secondary .action-icon {
    background: var(--rg-green);
    color: white;
    box-shadow: 0 3px 10px var(--rg-shadow-green);
}

.action-button.admin .action-icon {
    background: #b84300;
    color: white;
    box-shadow: 0 3px 10px rgba(184, 67, 0, 0.3);
}

.action-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.action-subtitle {
    font-size: 0.85rem;
    opacity: 0.8;
}

.admin-divider {
    margin: 1.5rem 0 1rem;
    padding: 0.5rem 0;
    border-top: 3px solid #d4edda;
    text-align: center;
    position: relative;
}

.admin-divider span {
    background: white;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 1rem;
}

/* Câmeras */
.camera-widget {
    border: 3px solid #d4edda;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    box-shadow: 0 4px 15px rgba(0, 107, 60, 0.10);
}

.camera-header {
    background: linear-gradient(135deg, #f8fffe 0%, #e6f7ea 100%);
    padding: 1rem;
    border-bottom: 2px solid #d4edda;
}

.camera-header h6 {
    font-weight: 700;
    color: var(--rg-green);
    margin: 0 0 0.5rem 0;
}

.camera-location {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.camera-player {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.camera-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.camera-player .btn-fullscreen {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10000;
}

.camera-player .btn-fullscreen:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.camera-player .btn-fullscreen:active {
    transform: scale(0.95);
}

/* Desabilitar hover em fullscreen */
.camera-player.fullscreen-mode .btn-fullscreen:hover {
    background: rgba(0, 0, 0, 0.7) !important;
    transform: none !important;
}

.camera-player.fullscreen-mode .btn-fullscreen:active {
    transform: none !important;
}

/* Proteção contra cópia de URL do YouTube */
.camera-player,
.camera-player iframe {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
}

.camera-player iframe::selection {
    background: transparent;
}

/* Camada de proteção contra copiar link */
.camera-protection-layer {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 9998;
    pointer-events: none;
}

/* Overlay que bloqueia botão direito em todo o vídeo */
.camera-rightclick-blocker {
    position: absolute;
    inset: 0;
    z-index: 9996;
    background: transparent;
    pointer-events: auto;
}

/* Bloqueador do menu de 3 pontinhos (topo direito - cobre share/watch later) */
.camera-menu-blocker {
    position: absolute;
    top: 0;
    right: 0;
    width: 70px;
    height: 55px;
    background: transparent;
    z-index: 9999;
    pointer-events: auto;
    cursor: default;
}

/* Bloqueador do botão configurações (fundo direito - cobre settings/subtitles/fullscreen do YT) */
.camera-settings-blocker {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 140px;
    height: 50px;
    background: transparent;
    z-index: 9999;
    pointer-events: auto;
    cursor: default;
}

/* Estatísticas */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    border: 3px solid #d4edda;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 107, 60, 0.15);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 107, 60, 0.25);
    border-color: var(--rg-green);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.stat-icon.success {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.30);
}

.stat-icon.primary {
    background: var(--rg-gradient-primary);
    box-shadow: 0 4px 12px var(--rg-shadow-green);
}

.stat-icon.warning {
    background: var(--rg-gradient-orange);
    box-shadow: 0 4px 12px var(--rg-shadow-orange);
}

.stat-icon.info {
    background: linear-gradient(135deg, #17a2b8, #007bff);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.30);
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--rg-green);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Footer Customizado */
.footer-custom {
    background: var(--rg-gradient-green-intense);
    color: white;
    margin-top: auto;
    box-shadow: 0 -4px 20px rgba(0, 107, 60, 0.25);
}

.footer-text {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.footer-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--rg-orange-light);
    text-decoration: underline;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.20);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition-fast);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.footer-social-link:hover {
    background: var(--rg-gradient-orange);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--rg-shadow-orange);
}

.footer-icon {
    color: var(--rg-orange-light);
}

.footer-highlight {
    background: rgba(255, 255, 255, 0.20);
    border: 2px solid rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(10px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.25) !important;
}

.brand-icon {
    color: var(--rg-orange);
    font-size: 1.5rem;
}

/* ===== SCROLLBAR PERSONALIZADA ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: var(--rg-gradient-primary);
    border-radius: 6px;
    box-shadow: inset 0 1px 3px rgba(0, 107, 60, 0.30);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--rg-gradient-green-intense);
}

/* Esconder o card de agendamento mobile no desktop */
.date-option.mobile-agendamento {
    display: none;
}

/* ===== PÁGINA DE LOGIN - SANT'ANNA TENNIS ===== */
/* Adicionar ao arquivo estilos.css existente */

/* Corpo da página de login */
.login-page {
    background: var(--rg-gradient-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(210,105,30,0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(0,107,60,0.1) 0%, transparent 50%);
    z-index: 1;
}

.login-page .container {
    position: relative;
    z-index: 2;
}

/* Card de login */
.login-card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border: none !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-heavy) !important;
    overflow: hidden;
    transition: var(--transition-smooth);
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 107, 60, 0.30) !important;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header do login */
.login-header {
    background: var(--rg-gradient-primary) !important;
    border: none !important;
    padding: 2rem !important;
    position: relative;
    overflow: hidden;
}

.login-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.brand-logo-container {
    position: relative;
    z-index: 2;
}

.brand-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
}

.brand-icon-large:hover {
    transform: scale(1.1) rotate(5deg);
}

.brand-icon-large i {
    font-size: 2rem;
    color: white;
}

/* Corpo do login */
.login-body {
    padding: 2.5rem !important;
    position: relative;
    z-index: 2;
}

/* Form controls específicos do login */
.login-page .form-label {
    font-weight: 600;
    color: var(--rg-green);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.login-page .form-label i {
    color: var(--rg-orange);
}

.login-page .form-control {
    border: 3px solid rgba(0, 107, 60, 0.15);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    font-size: 1rem;
    background: rgba(248, 255, 254, 0.8);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.login-page .form-control:focus {
    border-color: var(--rg-orange);
    box-shadow: 0 0 0 4px rgba(210, 105, 30, 0.15);
    background: rgba(255, 248, 245, 0.9);
}

.login-page .form-control:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* Botão de login */
.login-page .btn-warning {
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

/* Alert customizado */
.login-page .alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c2c7 100%);
    border: 2px solid #f1aeb5;
    border-radius: var(--radius-md);
    color: #842029;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.15);
}

.login-page .alert-danger i {
    color: #dc3545;
}

/* Link de registro */
.login-page .border-top {
    border-color: rgba(0, 107, 60, 0.1) !important;
    border-width: 2px !important;
}

.login-page a {
    color: var(--rg-green);
    font-weight: 600;
    transition: var(--transition-fast);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(0, 107, 60, 0.05);
    display: inline-flex;
    align-items: center;
}

.login-page a:hover {
    color: var(--rg-orange);
    background: rgba(210, 105, 30, 0.1);
    transform: translateY(-1px);
    text-decoration: none !important;
}

.login-page a i {
    color: var(--rg-green);
    transition: var(--transition-fast);
}

.login-page a:hover i {
    color: var(--rg-orange);
}

/* Responsividade para login */
@media (max-width: 768px) {
    .login-card {
        margin: 1rem;
        border-radius: var(--radius-md) !important;
    }

    .login-header {
        padding: 1.5rem !important;
    }

    .login-body {
        padding: 2rem 1.5rem !important;
    }

    .brand-icon-large {
        width: 70px;
        height: 70px;
    }

    .brand-icon-large i {
        font-size: 1.75rem;
    }
}

/* Estados de foco para acessibilidade */
.login-page .form-control:focus,
.login-page .btn:focus,
.login-page a:focus {
    outline: 3px solid rgba(210, 105, 30, 0.3);
    outline-offset: 2px;
}

/* ===== SEÇÃO MEU PRÓXIMO JOGO ===== */
/* Adicionar ao arquivo estilos.css existente */

.next-game-card {
    background: linear-gradient(135deg, #f8fffe 0%, #e6f7ea 100%);
    border: 2px solid #d4edda;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: var(--transition-smooth);
}

.next-game-card:hover {
    border-color: var(--rg-green);
    box-shadow: 0 4px 15px var(--rg-shadow-green);
}

.game-info > div {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.game-info > div:last-child {
    margin-bottom: 0;
}

.game-date {
    color: var(--rg-dark-gray);
    font-weight: 600;
}

.game-time {
    color: var(--rg-green);
    font-weight: 500;
}

.game-court {
    color: var(--rg-orange-dark);
    font-weight: 500;
}

.game-energy {
    align-items: flex-start;
}

.game-energy .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
}

.game-players {
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    margin-top: 1rem;
}

.players-header {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--rg-green);
    margin-bottom: 0.5rem;
}

.players-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0px !important;
    vertical-align: middle !important;
    margin-left: 0.25rem !important;
}

.players-list .badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.game-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 107, 60, 0.15);
}

.game-actions .btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition-fast);
}

.game-actions .btn:hover {
    transform: translateY(-1px);
}

/* Estado quando não há próximo jogo */
.no-next-game {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: var(--radius-md);
    padding: 2rem 1rem;
}

.no-next-game .display-4 {
    font-size: 2.5rem;
    opacity: 0.5;
}

.no-next-game h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.no-next-game p {
    font-size: 0.85rem;
    line-height: 1.4;
}

.no-next-game .btn {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* Responsividade mobile */
@media (max-width: 768px) {
    .next-game-card {
        padding: 1rem;
    }
    
    .game-info > div {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .game-players {
        padding: 0.5rem;
    }
    
    .players-list .badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
    
    .game-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .game-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .no-next-game {
        padding: 1.5rem 1rem;
    }
}

/* ===== RANKING STYLES ===== */
.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.ranking-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    border-color: var(--rg-orange-light);
}

.ranking-item.highlight {
    background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
    border-color: var(--rg-orange);
    box-shadow: 0 4px 12px var(--rg-shadow-orange);
}

.ranking-position {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.ranking-position .position-number {
    font-weight: 700;
    color: var(--rg-green);
    font-size: 1.1rem;
}

.ranking-player-info {
    flex: 1;
    min-width: 0;
}

.player-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--rg-dark-gray);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.player-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.stat-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

.stat-item i {
    font-size: 0.9em;
}

.stat-divider {
    color: var(--text-muted);
    opacity: 0.5;
}

/* Responsividade mobile */
@media (max-width: 768px) {
    .ranking-item {
        padding: 0.75rem;
    }

    .ranking-position {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
        margin-right: 0.75rem;
    }

    .ranking-position .position-number {
        font-size: 0.95rem;
    }

    .player-name {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }

    .player-stats {
        font-size: 0.75rem;
        gap: 0.4rem;
    }

    .stat-item i {
        font-size: 0.85em;
    }
}

/* ===== FULLSCREEN NATIVO ===== */
.camera-player:fullscreen {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
    background: #000000 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.camera-player:fullscreen iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 0 !important;
}

.camera-player:fullscreen .btn-fullscreen {
    position: absolute !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 100000 !important;
}

/* Em fullscreen, manter bloqueadores visíveis */
.camera-player:fullscreen .camera-menu-blocker {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 80px !important;
    height: 60px !important;
    background: transparent !important;
    display: block !important;
    z-index: 100000 !important;
}

.camera-player:fullscreen .camera-settings-blocker {
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 160px !important;
    height: 55px !important;
    background: transparent !important;
    display: block !important;
    z-index: 100000 !important;
}

/* ===== UTILITIES ===== */
.text-rg-green { color: var(--rg-green) !important; }
.text-rg-orange { color: var(--rg-orange) !important; }
.bg-rg-green { background-color: var(--rg-green) !important; }
.bg-rg-orange { background-color: var(--rg-orange) !important; }
.border-rg-green { border-color: var(--rg-green) !important; }
.border-rg-orange { border-color: var(--rg-orange) !important; }