/* ===================================================================
   ARQUIVO: css/pages/dashboard-captain.css
   DESCRIÇÃO: Estilos exclusivos do Painel de Gestão (Capitão)
   =================================================================== */

/* Importa layout base se necessário, mas vamos definir específicos aqui */

/* --- LAYOUT --- */
.captain-wrapper {
    padding-top: 100px;
    padding-bottom: 50px;
    min-height: 100vh;
}

/* --- COLUNA ESQUERDA: CARTÃO DO CLUBE --- */
.club-card {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    border: 1px solid #ffd700; /* Dourado */
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Faixa de "Capitão" */
.club-card::before {
    content: 'CAPITÃO';
    position: absolute;
    top: 15px;
    right: -30px;
    background: #ffd700;
    color: #000;
    font-weight: 900;
    font-size: 10px;
    padding: 5px 30px;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.club-logo-area {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #444;
    overflow: hidden;
}

.club-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.club-name {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.club-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Status Toggle (Aberto/Fechado) */
.status-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}
.status-label {
    font-size: 11px;
    color: #aaa;
    display: block;
    margin-bottom: 5px;
}
.status-select {
    background: #000;
    border: 1px solid #333;
    color: #fff;
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    font-size: 13px;
}

/* --- COLUNA DIREITA: ABAS E LISTAS --- */
.management-panel {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 12px;
    border: 1px solid #333;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

/* Navegação das Abas */
.nav-tabs-custom {
    display: flex;
    border-bottom: 1px solid #333;
    background: rgba(0,0,0,0.3);
    border-radius: 12px 12px 0 0;
}

.nav-item-custom {
    flex: 1;
    text-align: center;
    padding: 15px;
    color: #777;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 13px;
    border-right: 1px solid #333;
    transition: 0.3s;
}

.nav-item-custom:last-child { border-right: none; }

.nav-item-custom:hover { background: rgba(255,255,255,0.05); color: #fff; }

.nav-item-custom.active {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    border-bottom: 2px solid #ffd700;
}

.tab-content { padding: 20px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* LISTA DE JOGADORES (SQUAD) */
.squad-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.squad-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.03);
    padding: 10px 15px;
    border-radius: 8px;
    border-left: 3px solid #444;
    transition: 0.3s;
}
.squad-item:hover {
    background: rgba(255,255,255,0.05);
    border-left-color: #ffd700;
}

.si-info { display: flex; align-items: center; gap: 15px; }
.si-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid #555; }
.si-name { font-weight: 700; color: #fff; font-size: 14px; }
.si-pos { font-size: 11px; color: #888; }

.btn-kick {
    background: transparent;
    border: 1px solid #d32f2f;
    color: #d32f2f;
    width: 30px; height: 30px;
    border-radius: 4px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}
.btn-kick:hover { background: #d32f2f; color: #fff; }

/* LISTA DE PEDIDOS (REQUESTS) */
.request-card {
    background: #111;
    border: 1px solid #333;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.req-actions { display: flex; gap: 10px; }
.btn-accept { background: #4caf50; color: #fff; border: none; padding: 5px 15px; border-radius: 4px; font-size: 11px; font-weight: bold; }
.btn-reject { background: #f44336; color: #fff; border: none; padding: 5px 15px; border-radius: 4px; font-size: 11px; font-weight: bold; }

/* RESPONSIVO */
@media (max-width: 768px) {
    .captain-wrapper { padding-top: 130px; }
    .club-card { margin-bottom: 30px; }
}

/* ===================================================================
   ESTILOS DA PÁGINA CRIAR TIME (CREATE-TEAM)
   Estilo Limpo (Clone do Registro)
   =================================================================== */

/* Título igual ao "DADOS DO ATLETA" */
.creation-title {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 5px; /* Perto do subtítulo */
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    border-left: 4px solid #b2d13a; 
    padding-left: 15px;
    text-align: left; 
}

/* Botão Verde Grande (Igual Register) */
.btn-finish {
    background: #b2d13a;
    color: #000;
    font-weight: 900;
    border: none;
    padding: 15px 40px; 
    border-radius: 30px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    display: block;
    width: 100%;
}

.btn-finish:hover {
    transform: scale(1.02);
    background: #fff;
    color: #000;
    box-shadow: 0 0 20px rgba(255,255,255,0.4);
}

/* Ajuste da Coluna do Card para centralizar */
.card-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Texto auxiliar em cima do card */
.helper-text {
    color: #aaa;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Ajustes Mobile */
@media (max-width: 991px) {
    .creation-title {
        font-size: 20px;
        text-align: center;
        border-left: none;
        padding-left: 0;
        margin-bottom: 10px;
    }
    
    .card-column {
        margin-bottom: 40px !important;
    }
}

/* ... (Seus estilos anteriores continuam aqui) ... */

/* ===================================================================
   NAV INTELIGENTE (ESCONDE NO SCROLL)
   =================================================================== */
.game-hud {
    transition: transform 0.3s ease-in-out; /* Animação suave */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Classe que será adicionada via JS para esconder */
.game-hud.nav-hidden {
    transform: translateY(-100%); /* Move a barra totalmente para cima */
}
/* ===================================================================
   NAV INTELIGENTE (SCROLL)
   =================================================================== */

/* Garante que o HUD fique fixo e tenha animação */
.game-hud {
    position: fixed; /* Fixa no topo */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Fica acima de tudo */
    transition: transform 0.3s ease-in-out; /* Animação suave */
    background: rgba(0, 0, 0, 0.9); /* Garante fundo escuro ao rolar */
}

/* Classe que o JS vai adicionar para esconder */
.game-hud.nav-hidden {
    transform: translateY(-100%); /* Move 100% para cima (some da tela) */
}

/* =========================================
   MODAL DA CÂMERA (Perfil & Registro)
   ========================================= */
.camera-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.camera-modal-content {
    background: #111;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #333;
    text-align: center;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

.video-wrapper {
    width: 100%;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 2px solid #b2d13a;
    background: #000;
}

#webcam-video {
    width: 100%;
    height: auto;
    display: block;
    transform: scaleX(-1);
}

.camera-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}