/* Estilos para o novo layout de Login do Gestão Edu */
:root {
    --primary-color: #005a9c; /* Azul Institucional Cervantes */
    --secondary-color: #0d2d4e; /* Azul Escuro para o container */
    --accent-color: #c0392b; /* Vermelho para os ícones */
    --light-color: #f5f5f5;
    --text-color-light: #ffffff;
    --button-color: #6c757d;
    --button-hover-color: #5a6268;
    --link-color: #4a90e2;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    
  background-color: #f0f2f5; /* Um fundo padrão para outras páginas */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url('../img/background.jpg'); /* Imagem de fundo do colégio */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
}

    /* Overlay escuro para melhorar a legibilidade */
    body::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(13, 27, 42, 0.5);
        z-index: 0;
    }

.login-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

.login-logo-container {
    margin-bottom: 30px;
}

.login-logo {
    max-width: 280px;
    display: block;
}

.container {
    width: 100%;
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 40px;
    color: var(--text-color-light);
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

    .header h1 {
        color: var(--text-color-light); /* Corrigido para branco */
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 0;
    }

.form-group {
    margin-bottom: 20px;
    display: flex;
}

.input-icon {
    background-color: var(--accent-color);
    padding: 12px 15px;
    border-radius: 5px 0 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .input-icon svg {
        width: 20px;
        height: 20px;
        fill: var(--text-color-light);
    }

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 0 5px 5px 0;
    font-size: 16px;
    background-color: #ffffff;
    color: #333;
}

    .form-control:focus {
        outline: 2px solid var(--link-color);
        z-index: 2;
    }

.btn {
    display: inline-block;
    background-color: var(--button-color);
    color: white;
    border: none;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

    .btn:hover {
        background-color: var(--button-hover-color);
    }

.forgot-password-link {
    display: block;
    text-align: center;
    margin-top: 20px;
}

    .forgot-password-link a {
        color: var(--link-color);
        text-decoration: none;
        font-weight: 500;
        transition: opacity 0.2s;
    }

        .forgot-password-link a:hover {
            opacity: 0.8;
        }

.alert {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
body.login-page {
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
}

    body.login-page::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(13, 27, 42, 0.5);
        z-index: 0;
    }

.login-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

.login-logo-container {
    margin-bottom: 30px;
}

.login-logo {
    max-width: 280px;
    display: block;
}

.login-page .container {
    width: 100%;
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 40px;
    color: var(--text-color-light);
}

.login-page .header {
    text-align: center;
    margin-bottom: 30px;
}

    .login-page .header h1 {
        color: var(--text-color-light);
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 0;
    }

.login-page .form-group {
    margin-bottom: 20px;
    display: flex;
}

.login-page .input-icon {
    background-color: var(--accent-color);
    padding: 12px 15px;
    border-radius: 5px 0 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .login-page .input-icon svg {
        width: 20px;
        height: 20px;
        fill: var(--text-color-light);
    }

.login-page .form-control {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 0 5px 5px 0;
    font-size: 16px;
    background-color: #ffffff;
    color: #333;
}

    .login-page .form-control:focus {
        outline: 2px solid var(--link-color);
        z-index: 2;
    }

.login-page .btn {
    display: inline-block;
    background-color: var(--button-color);
    color: white;
    border: none;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

    .login-page .btn:hover {
        background-color: var(--button-hover-color);
    }

.login-page .forgot-password-link {
    display: block;
    text-align: center;
    margin-top: 20px;
}

    .login-page .forgot-password-link a {
        color: var(--link-color);
        text-decoration: none;
        font-weight: 500;
        transition: opacity 0.2s;
    }

        .login-page .forgot-password-link a:hover {
            opacity: 0.8;
        }