/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --header-height: 1.5rem;
  
    /*========== Colors ==========*/
    --header-color: rgba(25, 12, 209, 0.8);
    --primary-color: #05d856;
    --secondary-color: #61dafb;
    --background-color-pop: rgba(0, 0, 0, 0.8);
    --box-shadow-pop: 0 0 10px rgba(0, 0, 0, 0.5);
    --button-color: white;
    --button-background-color: #4CAF50;
    --hover-color: #075337;
    --white-color: #fff;
    --black-color: hsl(220, 24%, 12%);
    --black-color-light: hsl(220, 24%, 15%);
    --body-color: #f0f0f0; /* Cor de fundo do body */
  
    /*========== Font and typography ==========*/
    --body-font: "Montserrat", sans-serif;
    --normal-font-size: 0.938rem;
    --button-font-size: 16px;
  
    /*========== Font weight ==========*/
    --font-regular: 400;
    --font-semi-bold: 600;
  
    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
  }

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f6f9;
    color: #333;
    padding-top: 70px; /* Espaço para o menu fixo */
    background-image: url('photos/fifa.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-image 0.5s ease; /* Adiciona transição suave */
}


/* Menu Fixo no Topo */
.top-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #2c3e50;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.top-menu .logo img {
    height: 30px;
}

.top-menu nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.top-menu nav ul li a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-menu nav ul li a:hover {
    color: #1abc9c;
}

.top-menu .user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-menu .user-info span {
    font-size: 0.9rem;
}

.logo {
    display: flex; /* Alinha a imagem e o texto horizontalmente */
    align-items: center; /* Centraliza verticalmente */
    gap: 10px; /* Espaço entre a imagem e o texto */
    font-size: 1.2rem; /* Tamanho do texto */
    font-weight: bold; /* Texto em negrito */
    color: var(--white-color); /* Cor do texto */
}

/* Estilo para o dropdown */
.menuTop-dropdown {
    position: relative;
}

.menuTop-dropdown-menu {
    display: none; /* Oculta o dropdown por padrão */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border-radius: 4px;
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.menuTop-dropdown-menu li {
    padding: 8px 15px;
}

.menuTop-dropdown-menu li a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.menuTop-dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mostrar o dropdown ao passar o mouse */
.menuTop-dropdown:hover .menuTop-dropdown-menu {
    display: block; /* Exibe o dropdown ao passar o mouse */
    opacity: 1;
    transform: translateY(0);
}

/* Estilo para os logos dos eventos */
.menuTop-event-logo {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}
/* ============================================ Translate ========================================Tradutor */
.translator {
    display: flex;
    align-items: center; /* Centraliza verticalmente */
    margin-left: auto; /* Empurra para a direita */
}

.gtranslate_wrapper {
    display: inline-block;
    margin-left: 10px; /* Espaçamento entre o tradutor e outros elementos */
}
/*======================================== COUNTDOWN ====================================*/
.countdown {
    text-align: center;
    display: flex;
    gap: 20px;
    background: rgba(0, 0, 0, 0.5); /* Fundo semitransparente */
    padding: 20px;
    color: var(--primary-color);
    border-radius: 10px;
    margin-top: 100px; /* Espaço para o menu */
}

.countdown div {
    font-size: 2em;
    background: transparent; /* Fundo transparente */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.countdown__label {
    font-size: 0.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
    background: transparent; /* Fundo transparente */
}

/* Estilo para o botão de login */
#login-button {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

#login-button:hover {
    background-color: #0056b3;
}

/* Estilo para os links de Regras e Contatos */
#rules-link, #contact-link {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

#rules-link:hover, #contact-link:hover {
    color: #1abc9c;
}

/* Espaçamento entre os links e o botão */
.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Conteúdo Principal */
.content {
    padding: 20px;
}

.welcome {
    text-align: center;
    margin-top: 100px;
}

.welcome h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}
.welcome h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.welcome p {
    font-size: 1.2rem;
}

/* Estatísticas */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Estilo para os Modais */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    position: relative;
}

.popup-content h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.popup-content .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.popup-content label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.popup-content input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.popup-content button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

.popup-content button:hover {
    background-color: #0056b3;
}

/* Estilo para as opções de login */
.login-options {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.login-options a {
    color: #007BFF;
    text-decoration: none;
    font-size: 0.9rem;
}

.login-options a:hover {
    text-decoration: underline;
}

/* Estilo para mensagens de erro */
.message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-size: 0.9rem;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
}

/* Dropdown do Usuário */
.user-dropdown {
    position: relative;
    cursor: pointer;
}

.user-dropdown .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
}

.user-dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.user-dropdown .dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.user-dropdown .dropdown-content a:hover {
    background-color: #f1f1f1;
}

.user-dropdown .dropdown-content a i {
    margin-right: 10px;
}

/* Estilo para o ícone do usuário */
#user-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* Estilo para o popup de registo */
#register-popup .popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    position: relative;
}

#register-popup h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

#register-popup label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

#register-popup input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

#register-popup button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

#register-popup button:hover {
    background-color: #0056b3;
}

#register-popup .login-options {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

#register-popup .login-options a {
    color: #007BFF;
    text-decoration: none;
    font-size: 0.9rem;
}

#register-popup .login-options a:hover {
    text-decoration: underline;
}

#register-popup .message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-size: 0.9rem;
}

#register-popup .message.error {
    background-color: #f8d7da;
    color: #721c24;
}

#register-popup .message.success {
    background-color: #d4edda;
    color: #155724;
}

/* Estilo para o popup de Alterar Foto */
#photo-modal .popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    position: relative;
}

#photo-modal h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

#photo-modal label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

#photo-modal input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

#photo-modal button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

#photo-modal button:hover {
    background-color: #0056b3;
}

#photo-modal .message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-size: 0.9rem;
}

#photo-modal .message.error {
    background-color: #f8d7da;
    color: #721c24;
}

#photo-modal .message.success {
    background-color: #d4edda;
    color: #155724;
}

/* Estilo para o popup de Alterar Senha */
#password-modal .popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    position: relative;
}

#password-modal h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

#password-modal label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

#password-modal input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

#password-modal button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

#password-modal button:hover {
    background-color: #0056b3;
}

#password-modal .message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-size: 0.9rem;
}

#password-modal .message.error {
    background-color: #f8d7da;
    color: #721c24;
}

#password-modal .message.success {
    background-color: #d4edda;
    color: #155724;
}

/* Estilo para o popup de Alterar E-mail */
#email-modal .popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    position: relative;
}

#email-modal h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

#email-modal label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

#email-modal input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

#email-modal button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

#email-modal button:hover {
    background-color: #0056b3;
}

#email-modal .message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-size: 0.9rem;
}

#email-modal .message.error {
    background-color: #f8d7da;
    color: #721c24;
}

#email-modal .message.success {
    background-color: #d4edda;
    color: #155724;
}
#change-email {
    text-decoration: none;
    color: #007bff; /* Cor do link */
    font-size: 16px;
}

#change-email:hover {
    text-decoration: underline; /* Sublinhado ao passar o mouse */
}

#change-email i {
    margin-right: 5px; /* Espaço entre o ícone e o texto */
}



/* Estilo do modal */
.modal {
    display: none; /* Escondido por padrão */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fundo escurecido */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Botão de fechar (×) */
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #888;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ff4d4d; /* Cor ao passar o mouse */
}

/* Título do modal */
.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #333;
}

/* Texto do modal */
.modal-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* Container dos botões */
.modal-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Estilo dos botões */
.modal-actions button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Botão "Sim, Sair" */
#confirm-logout {
    background-color: #ff4d4d;
    color: white;
}

#confirm-logout:hover {
    background-color: #e60000; /* Cor ao passar o mouse */
    transform: scale(1.05); /* Efeito de escala */
}

/* Botão "Cancelar" */
#cancel-logout {
    background-color: #f0f0f0;
    color: #333;
}

#cancel-logout:hover {
    background-color: #ddd; /* Cor ao passar o mouse */
    transform: scale(1.05); /* Efeito de escala */
}

/******************************* Menu Lateral **********************************/
.sidebar {
    width: 250px;
    height: 100%;
    position: fixed;
    top: 60px; /* Ajuste conforme a altura do menu top */
    left: -250px; /* Esconde o menu lateral por padrão */
    background-color: rgba(0, 0, 0, 0.8);
    transition: left 0.3s ease;
/*    z-index: 999; */
}

.sidebar.open {
    left: 0; /* Mostra o menu lateral */
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    padding: 15px;
}

.sidebar ul li a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.sidebar ul li a i {
    margin-right: 10px;
}

.sidebar ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.main-content {
    margin-left: 0;
    padding: 20px;
    transition: margin-left 0.3s ease;
}

.main-content.shifted {
    margin-left: 250px; /* Desloca o conteúdo principal quando o sidebar abre */
}

/* Conteúdo Principal */
.content-area {
    margin-left: 0; /* Ajuste conforme o menu lateral */
    padding: 20px;
    transition: margin-left 0.3s ease;
}

.content-area.open {
    margin-left: 250px; /* Ajuste conforme o menu lateral */
}







