﻿/* ============================================================
   1. RESET E ESTRUTURA BASE (Fiel aos prints)
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-image: url("../images/fundoapp.png");
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-color: #000;
    color: #333;
}

/* ============================================================
   2. HEADER (Barra Superior)
   ============================================================ */
.app-header {
  background: #000000c2;
  color: #fff;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: solid 1px #11b5fc;
  box-shadow: 5px 5px 10px #556ef9;
}

.auth-logo {
    height: 45px;
    display: block;
    object-fit: contain; /* GARANTE QUE A LOGO NÃO ACHATE */
}

.auth-logo-login-register {
    height: 45px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.welcome {
    font-size: 14px;
    white-space: nowrap;
} 

/* Container relativo para o pop-up não se perder */
.notif-container {
    position: relative;
    display: inline-block;
}

/* Botão do Sino */
.btn-sino {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 22px;
    position: relative;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Badge (Número vermelho igual à imagem) */
#badge-notificacao {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ff1f44;
    color: white;
    font-size: 10px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1a1a1a;
}

/* O Pop-up Flutuante */
.pop-up-notif {
    position: absolute;
    top: 50px;
    right: 0;
    width: 300px;
    background: #222;
    border: 1px solid #444;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    display: none;
    z-index: 1000;
    overflow: hidden;
    box-shadow: 2px 2px 15px #fc1111;
}






@media screen and (max-width:480px){
	.pop-up-notif {
   
      /* 1. Posicionamento para não sair da tela */
        position: fixed !important; /* Muda para fixed para seguir o scroll do header */
        top: 60px !important;      /* Distância do topo (ajuste conforme seu header) */
       
		right: 5% !important;      /* Margem da direita */
        left: 5% !important;       /* Margem da esquerda */
        width: 90% !important;     /* Ocupa quase a largura toda do celular */
        max-width: none !important; 
        
        /* 2. Visual e Profundidade */
        z-index: 9999 !important;  /* Fica na frente de tudo */
       box-shadow: 2px 2px 15px #fc1111; !important;
        border: 1px solid #444 !important;
    
    
}
		 
}

.sem-notif{
	
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 7px;
	padding-top:7px;
}



/* Cabeçalho do Pop-up */
.header-pop-up {
    background: #333;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #444;
    color: #eee;
    font-size: 14px;
    font-weight: bold;
}

.btn-limpar {
    background: transparent;
    border: 1px solid #666;
    color: #aaa;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-fechar-x {
    background: transparent;
    border: none;
    color: #ff1f44;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

/* Lista de itens */
.item-notificacao {
    padding: 12px;
    border-bottom: 1px solid #333;
    color: #ccc;
    font-size: 13px;
    transition: background 0.2s;
}

.item-notificacao:hover {
    background: #2a2a2a;
}

/* Container principal da ficha */
.ficha-tecnica-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 15px 0;
}

/* O "quadradinho" (Item Técnico) */
.item-tecnico {
    background: #fdfdfd;
    padding: 10px 12px;
    border-radius: 8px;
    border-left: 5px solid #28aeff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Título (Ex: DATA/HORA, CLIMA) */
.item-tecnico label {
    font-size: 10px;
    font-weight: bold;
    color: black;
    text-transform: uppercase;
    margin-bottom: 2px;
}




@media screen and (max-width:480px){
	.item-tecnico label {
   
      
    font-size: 13px;
    font-weight: 700;
    color: black;
    text-transform: uppercase;
    margin-bottom: 2px;
}
		 
}





/* Resultado (Ex: 21:00:00, Sol) */
.item-tecnico span {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}


@media screen and (max-width:480px){
	.item-tecnico span {
   
      
    font-size: 15px;
    font-weight: 500;
    color: #333;
    
}
		 
}





/* Ajuste para celular: vira uma coluna só para não espremer o texto */
@media (max-width: 480px) {
    .ficha-tecnica-grid {
        grid-template-columns: 1fr;
    }
}

.logout-btn {
    background-color: #e74c3c;
    color: white !important;
    padding: 6px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    transition: 0.3s;
}

.logout-btn:hover { background-color: #c0392b; }

.login-btn {
    background-color: #2ecc71;
    color: white !important;
    padding: 6px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
}

/* ============================================================
   3. FEED DE EVENTOS (Cards Brancos)
   ============================================================ */
.todososcookiesdisponiveis {
    font-size: 18px;
    color: white;
    text-align: center;
    margin: 20px 0;
    font-weight: 400;
}





@media screen and (max-width:300px){
	.todososcookiesdisponiveis {
   
    font-size:18px;
    color: white;
    text-align: center;
    font-weight: 400;
    
}
		 
}






.user-profile-header {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%; /* Faz ficar redondo */
    object-fit: cover; /* Não deixa a imagem esticar */
    background-color: white;
}






.marketing-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
	justify-content: center;
}

/* Cor do Foguete */
.rocket-icon {
    color: #fff; /* Laranja avermelhado */
    font-size: 15px;
}

/* Texto geral */
.counter-text {
    color: #FFFFFF;
}

/* Cor do Número (Diferente) */
.number-highlight {
    color: #FFFFFF; /* Verde neon ou a cor que definimos para destaque */
    font-size: 15px;
    font-weight: bold;
    transition: opacity 0.3s ease; /* Para o efeito de fade do seu JS */
}













.feed {
    max-width: 450px;
    margin: 0 auto;
    padding: 0 15px 50px;
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 5px 5px 20px #11b5fc;
    cursor: pointer;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.card-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #eee;
}

.card-info { 
    display: flex; 
    flex-direction: column;
    padding-left: 10px;
}

.liga-txt {
    font-weight: 600;
    color: #111;
    font-size: 17px;
    text-transform: uppercase;
}

.autor-txt {
    font-size: 11px;
    color: #888;
}

.card-title {
    font-size: 16px;
    margin-bottom: 8px;
    color: #000;
    display: block;
    text-transform: uppercase;
}


@media screen and (max-width:480px){
	.card-title{
   
       font-size: 18px;
    margin-bottom: 8px;
    color: #000;
    display: block;
    text-transform: uppercase;
    
    
}
		 
}




.card-details {
    font-size: 12px;
    color: #555;
    line-height: 1.4;
}

.views-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 11px;
    color: #929191;
    display: flex;
    align-items: center;
    gap: 4px;
}




@media screen and (max-width:480px){
	.views-counter{
   
      position: absolute;
    top: 15px;
    right: 15px;
    font-size: 14px;
    color: #929191;
    display: flex;
    align-items: center;
    gap: 4px;
    
    
}
		 
}





/* ============================================================
   4. MODAIS (Ajuste de Centralização e Grid)
   ============================================================ */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.modal, .modal-detalhe {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 5px 5px 20px #11b5fc;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Grid de Colunas no Modal */
.grid-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}


@media (max-width: 768px) {
    /* ... seus outros códigos mobile ... */

    /* RESPONSÁVEL PELO MODAL DE CRIAR EVENTOS */
    .grid-form {
        display: flex !important;
        flex-direction: column !important; /* Coloca um campo embaixo do outro */
        gap: 10px !important;
    }
}
.full { grid-column: span 3; }
.half { grid-column: span 2; }

.section-title {
    grid-column: span 3;
    background: #fcfcfc;
    padding: 8px 0;
    font-weight: bold;
    font-size: 11px;
    color: #e74c3c;
    text-transform: uppercase;
    border-bottom: 1px solid #eee;
    margin: 10px 0 5px;
}

.modal label {
    display: block;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #444;
}

.modal input, .modal select, .modal textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 13px;
    outline: none;
}

/* ============================================================
   5. DASHBOARD (Painel Administrativo)
   ============================================================ */
.dashboard {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.dashboard-title-texto {
    color: red;
    font-size: 24px;
    margin-bottom: 10px;
}

.dashboard-title {
    color:black;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.dashboard-subtitle{
     color: white;
    font-size: 15px;
    margin-bottom: 10px;
}

.dashboard-desc{
    color: black;
    font-size: 14px;
    margin-bottom: 10px;
}

.dashboard-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.dashboard-card {
    background: white;
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  color: black;
  text-decoration: none;
  transition: 0.3s;
  border: 1px solid rgba(255,255,255,0.1);
	box-shadow: 5px 5px 20px #f73535;
}

.dashboard-card:hover {
   background: white;
    transform: translateY(-5px);
    cursor: pointer;
}

/* Tabela de Eventos no Modal */
.table-eventos {
    width: 100%;
    border-collapse: collapse;
}

@media (max-width: 768px) {
    /* 1. Ajuste do Container da Tabela */
    .table-eventos {
        display: block !important;
        width: 100% !important;
        border: none !important;
    }

    .table-eventos thead {
        display: none !important; /* Esconde os títulos Título/Data/Ações */
    }

    .table-eventos tbody {
        display: block !important;
        width: 100% !important;
    }

    /* 2. Transformação de cada linha em um Card elegante */
    .table-eventos tr {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        background: #ffffff !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 10px !important;
        padding: 15px !important;
        margin-bottom: 15px !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
    }

    /* 3. Ajuste das Células (Conteúdo) */
    .table-eventos td {
        display: block !important;
        width: 100% !important;
        padding: 4px 0 !important;
        border: none !important;
        text-align: left !important;
    }

    /* Título do Evento (Primeira célula) */
    .table-eventos td:nth-child(1) {
        font-weight: 800 !important;
        font-size: 15px !important;
        color: #000 !important;
        text-transform: uppercase !important;
        margin-bottom: 5px !important;
    }

    /* Data do Evento (Segunda célula) */
    .table-eventos td:nth-child(2) {
        font-size: 13px !important;
        color: #666 !important;
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
    }

    .table-eventos td:nth-child(2):before {
        content: "📅 Data:" !important;
        font-weight: bold !important;
    }

    /* 4. Alinhamento dos Botões (Terceira célula) */
    .table-eventos td:last-child {
        display: flex !important;
        flex-direction: row !important; /* Botões lado a lado */
        gap: 10px !important;
        margin-top: 12px !important;
        padding-top: 12px !important;
        border-top: 1px dashed #eee !important;
    }

    .table-eventos td:last-child a, 
    .table-eventos td:last-child button {
        flex: 1 !important; /* Faz os dois terem tamanhos iguais */
        padding: 12px !important;
        font-size: 13px !important;
        font-weight: bold !important;
        text-transform: uppercase !important;
        border-radius: 6px !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* Ajuste para o botão Fechar do Modal (lá embaixo) */
    .modal .btn-cancel {
        width: 100% !important;
        margin-top: 10px !important;
        padding: 12px !important;
    }
}
/* ============================================================
   6. BOTÕES E COMPONENTES
   ============================================================ */
.btn-save {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
}

.btn-cancel {
    background: #95a5a6;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.status-badge {
    font-size: 10px;
    font-weight: bold;
     padding-left: 0px;
		padding-right: 8px;
		padding-top: 3px;
		padding-bottom: 3px;
    border-radius: 4px;
    margin-top: 5px;
    display: inline-block;
}



@media screen and (max-width:480px){
	.status-badge{
   
     font-size: 13px;
    font-weight: bold;
  
        padding-left: 0px;
		padding-right: 8px;
		padding-top: 3px;
		padding-bottom: 3px;
    border-radius: 4px;
    margin-top: 5px;
    display: inline-block;
    
}
		 
}





.sala-aberta { background: #d4edda; color: #155724; }
.sala-fechada {  color: #e72739; }

/* ============================================================
   7. PÁGINA DE LOGIN (Correção da imagem gigante)
   ============================================================ */
body.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url("../images/fundoapploginregister.png")
}

.auth-card {
    background: #fff;
    width: 100%;
    max-width: 400px;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.auth-card img {
    max-width: 180px;
    margin-bottom: 20px;
    object-fit: contain;
}

.auth-card h1 { font-size: 20px; margin-bottom: 5px; }
.auth-card p { font-size: 13px; color: #666; margin-bottom: 25px; }

.auth-card input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.auth-card button {
    width: 100%;
    background: #e74c3c;
    color: white;
    padding: 13px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

/* Quando o botão está inativo */
.btn-inscrever {
  background-color: #2edc80 !important;
  border: 2px solid #2edc80 !important;
  color: white !important;
  border-radius: 6px;
font-weight: 600;
	padding-left: 9px;
	padding-right: 9px;
	padding-bottom: 10px;
    padding-top: 10px;
	width: 100%;
	cursor: pointer;
}


.btn-inscrito {
  background-color: #E22023 !important;
  border: 2px solid #E22023 !important;
  color: white !important;
  border-radius: 6px;
width: 100%;
	padding-left: 9px;
	padding-right: 9px;
	padding-bottom: 3px;
    padding-top: 3px;
	font-weight:600;
	cursor: pointer;
}













.btn-notify.inactive {
  background-color: #2edc80 !important;
  border: 2px solid #2edc80 !important;
  color: white !important;
  border-radius: 6px;

	padding-left: 9px;
	padding-right: 9px;
	padding-bottom: 2px;
    padding-top: 2px;
}











@media screen and (max-width:480px){
	.btn-notify.inactive{
   
		
		font-size: 15px;
     background-color: #2edc80 !important;
  border: 2px solid #2edc80 !important;
  color: white !important;
  border-radius: 6px;
  padding: 1px 9px;
}
    
    

		 
}





/* Quando o botão está ativo */
.btn-notify.active {
  background-color: transparent !important;
  border: 2px solid #ce2222 !important;
  color: #ce2222 !important;
  border-radius: 6px;
  padding: 1px 9px;
}

/* ============================================================
   8. CONFIRMAÇÃO PUBLICAÇÃO COM SUCESSO
   ============================================================ */

.alertadesucesso {
  
  font-size: 13px !important;
  color: #bafdda !important;
  font-weight: bold !important;
  margin-bottom: 15px;
  display: block;
  background-color: rgba(170, 238, 123, 0.5);
  padding-bottom: 10px;
  padding-top: 10px;
  padding-left: 8px;
  border-radius: 10px;
}

.aviso_evento_atualizado_com_sucesso{
	 font-size: 13px !important;
  color: #bae1fd  !important;
  font-weight: bold !important;
  margin-bottom: 15px;
  display: block;
  background-color: rgba(115, 176, 240, 0.5);
  padding-bottom: 10px;
  padding-top: 10px;
  padding-left: 8px;
  border-radius: 10px;
}



















/* Posicionamento da Estrela no Card */
.save-icon-container {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 99;
}

/* Cor da estrela quando NÃO está favoritada */
.btn-save-post {
    font-size: 22px;
    color: #ccc; 
    cursor: pointer;
    transition: 0.2s;
	margin-top: 50px;
}

/* A COR QUE VOCÊ PEDIU: Ferrugem / Cobre Gasto */
.btn-save-post.active-ferrugem {
    color: #d4aa2c !important; /* Tom ferrugem metálico */
}

/* Estilo do botão de filtro lá em cima */
.btn-filtro-favorito {
   padding: 8px 15px;
  border-radius: 12px;
  border: 2px dotted #d4aa2c;
  cursor: pointer;
  background: transparent;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
}

btn-filtro-favorito.active-favorito-btn {
    background-color: #d4aa2c !important; /* Cor Cobre/Ferrugem preenchida */
    color: #ffffff !important; /* Texto branco para contraste */
    border: 1px solid #d4aa2c;
}

.daily-races-container-chips {
   margin: 15px auto 5px auto; /* O 'auto' nas laterais centraliza o bloco */
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 600px; /* Mesma largura dos seus cards e da busca */
    box-sizing: border-box; /* Garante que o padding não aumente a largura */
}

/* Texto pequeno escrito DAILY RACES */
.daily-label {
    font-size: 10px;
    font-weight: bold;
    color: white;
    letter-spacing: 1px;
}

/* Wrapper com Swipe igual aos seus filtros */
.daily-races-wrapper-chips {
  display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch; /* Melhora o deslize no iPhone */
}
}

.daily-races-wrapper-chips::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* O Estilo da Pílula (Chip) */
.btn-daily-chip {
    flex: 0 0 auto; /* Impede que o botão encolha */
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 140px;
    cursor: default;
}

.chip-race-letter {
    font-size: 9px;
    font-weight: bold;
    color: #f71111;
    margin-bottom: 2px;
}

.chip-race-track {
    font-size: 11px;
    color: #fff;
    white-space: nowrap;
}

.chip-race-cat {
    font-size: 9px;
    color: #3498db;
    font-weight: bold;
}





.gt7-status-container{
	display: flex;
	
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center;     /* Alinha verticalmente a bolinha com o texto */
    gap: 8px;
	width: 100%;             /* Garante que o container ocupe a largura toda para poder centralizar */
    margin: 20px 0;
	
}





.gt7-status-text{
	
	color: white;
	
}




/* A Luz de Status */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #bbb; /* Cor padrão: Offline/Buscando */
}

/* Efeito Pulsante para Online */
.status-online {
    background: #2ecc71;
    box-shadow: 0 0 8px #2ecc71;
    animation: pulse-green 2s infinite;
}

/* Efeito Pulsante para Manutenção */
.status-warning {
    background: #f1c40f;
    box-shadow: 0 0 8px #f1c40f;
    animation: pulse-yellow 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(46, 204, 113, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}





















.card-footer-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alinha tudo à esquerda */
    gap: 15px; /* Espaço entre o texto e o ícone */
    margin-top: 12px;
    padding: 0 5px 5px 5px;
}

.categoria-selo {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-share-post {
    font-size: 14px;
    color: #888;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-share-post:hover {
    color: #3498db;
    transform: scale(1.1);
}




















.live-container {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%; /* Proporção 16:9 */
        height: 0;
        margin-top: 10px;
        border-radius: 8px;
        overflow: hidden;
        background: #000;
    }
    .live-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }




/* Quando o botão de favorito estiver ativo */
.btn-filtro-favorito.active {
    background-color: #d4aa2c !important;
    color: white !important;
    border-color: #d4aa2c !important;
}


.filtros-container{
    text-align:center;
    margin-bottom:20px; 
    display:flex; 
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;     
}

.filtros-container button:focus {
    outline: none !important;
}

.btn-filtro.active{
    padding:8px 15px;
    border-radius:12px;
    border:1px solid #ddd;
    cursor:pointer;
    background:#e0e0e0;
}

.btn-filtro{
    padding:8px 15px; 
    border-radius:20px;
    border:1px solid #ddd;
    cursor:pointer;
    background:#fff;
}

.btn-filtro-4fun{
  padding: 8px 15px;
  border-radius: 12px;
  border: 2px dotted #f83644;
  cursor: pointer;
  background: transparent;
  color: white;
  font-weight: 600;
  text-transform: uppercase ;
}

.btn-filtro-4fun.active-forfun {
    background-color: #f83644 !important;
    border-style: solid !important;
    color: #fff !important;
}

.btn-filtro-camp{
  padding: 8px 15px;
  border-radius: 12px;
  border:2px dotted #7997f7;
  cursor: pointer;
  background: transparent;
  color: white;
  font-weight: 600;
  text-transform: uppercase ;
}

.btn-filtro-camp.active-camp {
    background-color: #7997f7 !important;
    border-style: solid !important;
    color: #fff !important;
}

.btn-filtro-aviso{
  padding: 8px 15px;
  border-radius: 12px;
  border: 2px dotted #F9D513;
  cursor: pointer;
  background: transparent;
  color: white;
  font-weight: 600;
  text-transform: uppercase ;
}

.btn-filtro-aviso.active-aviso {
    background-color: #F9D513 !important;
    border-style: solid !important;
    color: #000 !important;
}
        
.btn-seguir {
 background: transparent;
    border: 1.5px solid #f1c40f;
    color: #55b3ec;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-right: -15px; /* Mantém seu alinhamento */
    display: inline-block;
    position: relative; /* Necessário para o ::after se prender ao botão */
    z-index: 10;
}

@media screen and (max-width:480px){
	.btn-seguir{
   display: inline-block;
	position: relative;
      background: transparent;
    border: 1.5px solid #f1c40f;
    color: #55b3ec;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px !important;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
	margin-right: -15px;
    
    
}
		 
}






.btn-seguir::after {
    content: "";
    position: absolute;
    top: -5px;    /* Expande um pouco para cima */
    bottom: -5px; /* Expande um pouco para baixo */
    left: -5px;   /* Expande um pouco para a esquerda */
    right: -20px;  /* Expande MUITO para a direita para compensar a margem negativa */
    background: transparent;
    z-index: 11;
}







.btn-seguir:hover {
    transform: scale(1.05);
}


.btn-seguir.seguindo{
	
	font-size: 11px !important;
  padding: 4px 8px;
  border-radius: 15px;
  cursor: pointer;
  border: 1px solid #ddd;
  background: #843ea4;
  color: #fff;
	
}



@media screen and (max-width:480px){
	.btn-seguir.seguindo{
   
     	font-size: 13px !important;
  padding: 4px 8px;
  border-radius: 15px;
  cursor: pointer;
  border: 1px solid #ddd;
  background: #843ea4;
  color: #fff;
	
    
    
}
		 
}




.busca-container {
    max-width: 450px;
    margin: 0 auto 20px;
    padding: 0 15px;
    position: relative;
}

#inputBusca {
    width: 100%;
    padding: 12px 15px;
    border-radius: 25px;
    border: 1px solid #ff0000;
    background: rgba(0, 0, 0, 0.57);
    color: white;
    outline: none;
    font-size: 14px;
    transition: 0.3s;
}

#inputBusca:focus {
    background: rgba(0, 0, 0, 0.57);
    box-shadow: 0 0 10px #11b5fc;
}

#inputBusca::placeholder {
    color: white;
}








.btn-filtro-seguindo {
  padding: 8px 15px;
  border-radius: 12px;
  border: 2px dotted #843ea4;
  cursor: pointer;
  background: transparent;
  color: white;
  font-weight: 600;
  text-transform: uppercase ;
}

.btn-filtro-seguindo.active-seguindo {
  background-color: #843ea4 !important;
    border-style: solid !important;
    color: white !important;
}

/* Estilo para cada item do histórico no sino */
.item-notificacao {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #444;
    transition: background 0.3s;
}

.item-notificacao:hover {
    background: #333;
}

.notif-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #555;
    flex-shrink: 0;
}

.notif-corpo {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.notif-liga {
    font-size: 0.75rem;
    color: #3498db;
    font-weight: bold;
    text-transform: uppercase;
}

.notif-msg {
    font-size: 0.85rem;
    color: #eee;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#painel-notificacoes {
    width: 320px;
}

/* 1. Define a largura da barra */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(20, 20, 20, 0.5);
}

::-webkit-scrollbar-thumb {
    background: #ff2327;
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #cc0000;
}

#det_ficha::-webkit-scrollbar {
    width: 6px;
}

#det_ficha::-webkit-scrollbar-thumb {
    background: #ff2327;
}

#det_ficha::-webkit-scrollbar-thumb:hover {
    background: #ff0000;
}

/* Suporte para Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #ff2327 rgba(20, 20, 20, 0.5);
}

/* Container que agrupa Logo e Nome da Liga */
.container_liga_modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
    grid-column: span 2;
}

/* O Logo da Liga */
.logo_detalhe_modal {
    max-height: 110px;
    width: auto;
    display: block;
    margin: 0 auto 10px auto;
    object-fit: contain; /* FIX: NÃO ACHATA NO MODAL */
}

/* O Nome da Liga */
.nomeliga_detalhe_modal {
    color: black;
    font-size: 1.6rem;
    text-transform: uppercase;
    margin: 0;
    font-weight: 800;
    text-align: center;
}

/* O Título do Post */
.titulo_detalhe_modal {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    color: #ffffff;
    font-size: 1.8rem;
    text-align: center;
    font-weight: 800;
    text-transform: uppercase;
    pointer-events: none;
}

/* Ajuste no conteúdo do modal */
.modal-content {
    position: relative;
    overflow: visible;
    margin-top: 60px;
}







.piloto-inscrito {
    position: relative;
    transition: transform 0.2s;
}
.piloto-inscrito:hover {
    transform: scale(1.1);
}
.btn-vouvou {
    background: #00ff00;
    color: #000;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}
.btn-vouvou.active {
    background: #ff4444;
    color: #fff;
}







.piloto-inscrito{
	
	display: inline-flex;
    flex-direction: column; /* Empilha foto sobre o texto */
    align-items: center;    /* Centraliza horizontalmente */
    justify-content: center;
    margin: 10px;           /* Espaço entre um piloto e outro */
    width: 80px;            /* Largura fixa para manter o grid alinhado */
    vertical-align: top;
	
}

.logo-piloto-inscrito{
	width: 50px;            /* Tamanho ideal para grid de 16 pessoas */
    height: 50px;           /* Altura igual para ser um círculo perfeito */
    border-radius: 50%;     /* Deixa a foto redonda */
    object-fit: cover;      /* Não distorce a imagem */
    border: 2px solid #00ff00; /* Borda verde acompanhando seu estilo */
    margin-bottom: 5px;     /* Espaço entre a foto e o nome */
}

.nome-piloto-inscrito{
	font-size: 11px;
    color: black;
    font-weight: bold;
    text-align: center;
    word-wrap: break-word;  /* Quebra o nome se for muito longo */
    width: 100%;
}


/* Para ajustar o botão no seu arquivo .css */
.botao-inscricao-forfun {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    /* adicione seus estilos aqui */
}


/* Estilo do Botão de Filtro de Live */
.btn-filtro-live {
  padding: 8px 15px;
  border-radius: 12px;
  border: 2px dotted #ff0000;
  cursor: pointer;
  background: transparent;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
}

/* AJUSTE AQUI: Mudei de .active para .active-live para bater com o seu JS */
.btn-filtro-live.active-live {
  background-color: #ff0000 !important;
  border-style: solid !important;
  color: white !important;
}

/* Estilo para ícone de "ponto piscando" */
.btn-filtro-live .dot-live {
    height: 8px;
    width: 8px;
    background-color: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}
/* ============================================================
   9. RESPONSIVIDADE E TOAST
   ============================================================ */
.toast-container {
    position: fixed !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 9999 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
    pointer-events: none;
}

.toast-card {
    pointer-events: auto;
    background: #504e4e !important;
    color: #fff !important;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    border-left: 6px solid #f71111 !important;
    border-right: 6px solid #f71111 !important;
    min-width: 320px;
    text-align: center;
    animation: slideDown 0.5s ease-out forwards;
}

@keyframes slideDown {
    from { transform: translateY(-100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.toast-card div {
    color: #fff !important;
    font-size: 14px;
}

.toast-card .alertadesucesso {
    color: #f71111 !important;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

@media (max-width: 600px) {
    .toast-container { width: 90%; }
    .toast-card { min-width: unset; width: 100%; }
}

/* --- ESTILOS EXCLUSIVOS PARA CELULAR --- */
@media (max-width: 768px) {
    
    /* 1. Ajuste do Header: Alinhamento do Sino igual ao PC */
    .app-header {
        padding: 8px 12px;
        flex-wrap: nowrap;
        gap: 5px;
    }
    
    .header-actions {
        gap: 10px;
    }

    .btn-sino {
        font-size: 20px; /* Pouco menor para o celular, mas simples como o PC */
        padding: 4px;
    }

    .auth-logo {
        max-width: 125px;
        height: auto;
        object-fit: contain; /* FIX: LOGO DO HEADER NÃO ACHATA NO CELULAR */
    }

    .welcome {
        display: none;
    }

    /* 2. Filtros: Deslizar pro lado */
    .filtros-container {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        padding: 10px 5px;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
    }
    .filtros-container::-webkit-scrollbar {
        display: none;
    }

    /* 3. Feed e Cards: Empilhamento correto */
    .feed {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px !important;
        margin: 0 !important;
    }
    .card {
        width: 100% !important;
        margin-bottom: 15px !important;
    }
    
    /* FIX: LOGO DO CARD NO FEED NÃO ACHATA */
    .card-logo {
        object-fit: cover;
    }

    /* 4. Modais e Ficha Técnica: Empilhar itens para não apertar */
    .modal-detalhe, .modal {
        width: 95% !important;
        padding: 15px !important;
        margin: 5px auto;
    }
    
    /* FIX: GRID TÉCNICO VIRA UMA COLUNA SÓ NO CELULAR (Um em cima do outro) */
    .ficha-tecnica-grid {
        grid-template-columns: 1fr !important;
        gap: 8px;
		
    }

	
	
	
	
	@media (max-width: 768px) {
    /* Força o container a ser uma coluna só */
    .ficha-tecnica-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important; 
        gap: 10px !important;
    }
	
	
	
	
	
	
    .item-tecnico {
        width: 100%;
    }

    .titulo_detalhe_modal {
        font-size: 1.4rem;
        top: -40px;
    }

    /* 5. Inputs sem zoom no iPhone */
    input[type="text"], input[type="password"], input[type="email"], select, textarea {
        font-size: 16px !important;
        padding: 10px !important;
    }
}