/* Estilos base (compartilhados entre os layouts) */
body {
    font-family: 'Orbitron', sans-serif;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    background: linear-gradient(to bottom, #e6f0fa, #ffffff);
    transition: background 0.3s ease;
    position: relative;
}

.container {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.header {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #42a5f5;
    color: #000;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header h1 {
    margin: 0;
    font-size: 50px;
    font-weight: 700;
}

.header p {
    margin: 5px 0 0;
    font-size: 14px;
}

.sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-card {
    border-radius: 15px;
    overflow: hidden; /* Garante que a imagem respeite as bordas arredondadas */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.section-card:hover {
    transform: scale(1.02);
}

.section-card a {
    display: block;
}

.section-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}


        /* Estilo para o botão de logout */
        .logout-btn {
            margin-top: 20px;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        body.moderno .logout-btn {
            background: #dc3545; /* Vermelho para o tema moderno */
            color: white;
            box-shadow: 0 0 15px rgba(220, 53, 69, 0.5);
        }
        body.moderno .logout-btn:hover {
            background: #c82333;
            box-shadow: 0 0 20px rgba(200, 35, 51, 0.8);
        }
        body.futurista .logout-btn {
            background: #ff00ff; /* Magenta para o tema futurista */
            color: #fff;
            box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
        }
        body.futurista .logout-btn:hover {
            background: #00ffff; /* Ciano no hover */
            color: #0d0d2b;
            box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
        }

/* Estilos do Layout moderno */
body.moderno {
    background: linear-gradient(to bottom, #ffffff, #ffffff);
    background-attachment: local;
    min-height: 100vh;
}

body.moderno .header {
    background-color: #42a5f5;
}
/* Estilo base para os cards */
.section-card {
    transition: all 0.3s ease; /* Suaviza as mudanças */
}

/* Tema moderno */
body.moderno .section-card {
    background: #42a5f5;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Garante que a imagem não vaze */
}

body.moderno .section-card:hover {
    transform: scale(1.05); /* Aumenta 5% */
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.5); /* Sombra azul maior */
}

/* Estilos do Layout futurista */
body.futurista {
    background: linear-gradient(135deg, #222251, #222251, #222251);
    background-attachment: local;
    color: #e0e0ff;
    animation: bgAnimation 15s infinite alternate;
    min-height: 100vh;
}

@keyframes bgAnimation {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

body.futurista .header {
    background: #00ffff;
    color: #0d0d2b;
    text-shadow: 0 0 5px #00ffff;
}

/* Tema futurista */
body.futurista .section-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 255, 255, 0.3);
    overflow: hidden;
}

body.futurista .section-card:hover {
    transform: scale(1.05); /* Aumenta 5% */
    box-shadow: 0 6px 12px rgba(0, 255, 255, 0.8); /* Sombra ciano brilhante */
    background: rgba(255, 255, 255, 0.2); /* Fundo um pouco mais claro */
}

/* Estilos para os botões fixos */
.fixed-botoes {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.botao-tema {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

body.moderno .botao-tema.moderno {
    background-color: #42a5f5;
    color: #fff;
}

body.moderno .botao-tema.moderno:hover {
    transform: scale(1.1);
    background-color: #1976d2;
}

body.moderno .botao-tema.futurista {
    background-color: #00ffff;
    color: #0d0d2b;
    display: none;
}

body.moderno .botao-tema.futurista:hover {
    transform: scale(1.1);
    background-color: #ff00ff;
}

body.futurista .botao-tema.moderno {
    background-color: #42a5f5;
    color: #fff;
    display: none;
}

body.futurista .botao-tema.moderno:hover {
    transform: scale(1.1);
    background-color: #1976d2;
}

body.futurista .botao-tema.futurista {
    background-color: #00ffff;
    color: #0d0d2b;
}

body.futurista .botao-tema.futurista:hover {
    transform: scale(1.1);
    background-color: #ff00ff;
}

/* Responsividade */
@media (max-width: 600px) {
    .section-card {
        padding: 0; /* Remove padding para a imagem preencher totalmente */
    }

    .section-image {
        width: 100%;
    }
}

/* Estilos para o pop-up */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 300px;
    width: 90%;
}

.popup-content h3 {
    margin-bottom: 20px;
}

.popup-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-options a {
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* Estilos para o tema futurista */
body.futurista .popup-content {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

body.futurista .popup-content h3 {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

body.futurista .popup-options a {
    background: #00ffff;
    color: #0d0d2b;
    text-shadow: 0 0 5px #00ffff;
}

body.futurista .popup-options a:hover {
    background: #ff00ff;
    color: #e0e0ff;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.8);
}

/* Estilos para o tema moderno */
body.moderno .popup-content {
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
}

body.moderno .popup-content h3 {
    color: #007BFF;
    text-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

body.moderno .popup-options a {
    background: #28a745;
    color: #fff;
}

body.moderno .popup-options a:hover {
    background: #218838;
    box-shadow: 0 0 15px rgba(33, 136, 56, 0.8);
}
/* Estilos pagina login */
        .fixed-botoes {
            position: fixed;
            bottom: 20px;
            right: 20px;
            top: auto;
            left: auto;
        }

        body.futurista .login-form, body.moderno .login-form {
            padding: 20px;
            border-radius: 8px;
            width: 90%;
            max-width: 300px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        body.futurista .login-form h1, body.moderno .login-form h1 {
            font-size: 24px;
            text-align: center;
            margin-bottom: 20px;
        }
        body.futurista .login-form input[type="text"], 
        body.futurista .login-form input[type="password"],
        body.moderno .login-form input[type="text"],
        body.moderno .login-form input[type="password"] {
            width: 100%;
            padding: 10px;
            margin-bottom: 10px;
            border-radius: 5px;
            box-sizing: border-box;
        }
        body.futurista .login-form button, body.moderno .login-form button {
            width: 100%;
            padding: 10px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
        }
        body.futurista .login-form {
            background: rgba(255, 255, 255, 0.1);
            box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
        }
        body.futurista .login-form h1 {
            color: #00ffff;
            text-shadow: 0 0 10px #00ffff;
        }
        body.futurista .login-form input[type="text"],
        body.futurista .login-form input[type="password"] {
            background: rgba(255, 255, 255, 0.2);
            color: #e0e0ff;
            border: none;
            box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
        }
        body.futurista .login-form input[type="text"]::placeholder,
        body.futurista .login-form input[type="password"]::placeholder {
            color: #00ffff;
            opacity: 0.7;
        }
        body.futurista .login-form input[type="text"]:focus,
        body.futurista .login-form input[type="password"]:focus {
            background: rgba(255, 255, 255, 0.3);
            box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
            outline: none;
        }
        body.futurista .login-form button {
            background-color: #00ffff;
            color: #0d0d2b;
            box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
        }
        body.futurista .login-form button:hover {
            background-color: #ff00ff;
            color: #e0e0ff;
            box-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
        }
        body.moderno .login-form {
            background: #fff;
            box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
        }
        body.moderno .login-form h1 {
            color: #007BFF;
            text-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
        }
        body.moderno .login-form input[type="text"],
        body.moderno .login-form input[type="password"] {
            background: rgba(0, 0, 0, 0.05);
            color: #555;
            border: none;
            box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
        }
        body.moderno .login-form input[type="text"]::placeholder,
        body.moderno .login-form input[type="password"]::placeholder {
            color: #555;
            opacity: 0.7;
        }
        body.moderno .login-form input[type="text"]:focus,
        body.moderno .login-form input[type="password"]:focus {
            background: rgba(0, 0, 0, 0.1);
            box-shadow: 0 0 15px rgba(0, 123, 255, 0.8);
            outline: none;
        }
        body.moderno .login-form button {
            background-color: #28a745;
            color: white;
            box-shadow: 0 0 15px rgba(40, 167, 69, 0.5);
        }
        body.moderno .login-form button:hover {
            background-color: #218838;
            box-shadow: 0 0 20px rgba(33, 136, 56, 0.8);
        }
        .mensagem {
            text-align: center;
            margin-top: 10px;
            font-size: 16px;
        }
        body.futurista .mensagem.erro { color: #ff3333; text-shadow: 0 0 5px rgba(255, 51, 51, 0.5); }
        body.futurista .mensagem.sucesso { color: #00ffcc; text-shadow: 0 0 5px rgba(0, 255, 204, 0.5); }
        body.moderno .mensagem.erro { color: #ff3333; }
        body.moderno .mensagem.sucesso { color: #28a745; }

        /* Estilos para recuperação de senha */
.link-recuperacao {
    text-align: center;
    margin-top: 15px;
}

.link-recuperacao a {
    color: inherit;
    text-decoration: none;
    font-size: 14px;
}

body.futurista .link-recuperacao a {
    color: #00ffff;
}

body.moderno .link-recuperacao a {
    color: #007BFF;
}

.pergunta-secreta {
    font-weight: bold;
    margin: 15px 0;
    color: inherit;
}

.link-voltar {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}