:root {
    --primary-color: #507fc5;
    --primary-dark: #2e68be;
    --accent-color: #16325C;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.page-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 5dvh;
}


body {
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to top,rgba(255, 255, 255, 0.712), rgba(0, 74, 145, 0.4));
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    height: 100vh;
    display: flex;
    align-items: center;
}

.login-container {
    width: 100%;
    max-width: 1200px;
}

.login-card {
    display: flex;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 600px;
}

.login-image {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/login_image.webp);
    background-size: cover;      
    background-position: center; 
    background-repeat: no-repeat;
}

.logo-container {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
}

.school-logo {
    width: 80%;
    height: 80%;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 25px;
}

.logo-container h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.logo-container p {
    font-size: 16px;
    opacity: 0.9;
}

.login-form {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-header {
    margin-bottom: 40px;
    text-align: center;
}

.form-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-light);
    font-size: 14px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 14px;
}

.input-with-icon, .select-with-icon {
    position: relative;
}

.input-with-icon i, .select-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 16px;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.input-with-icon input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.date-selectors {
    display: flex;
    gap: 10px;
}

.select-with-icon {
    flex: 1;
}

.select-with-icon select {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    appearance: none;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.select-with-icon select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-light);
}

.remember-me input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-right: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
}

.remember-me input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: white;
    font-size: 10px;
    display: none;
}

.remember-me input:checked ~ .checkmark:after {
    display: block;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.forgot-password:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.login-button {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.login-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.login-button i {
    transition: transform 0.3s ease;
}

.login-button:hover i {
    transform: translateX(3px);
}
.footer-custom {
    width: 100%;
    background-color: rgba(45, 88, 151, 0.9);
    color: white;
    padding: 5px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}







/* Ajuste para dispositivos móviles */
@media (max-width: 768px) {
    .footer-custom {
        padding: 10px 0;
    }
    
    .footer-custom small {
        font-size: 10px;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .login-card {
        flex-direction: column;
        height: auto;
    }
    
    .login-image {
        padding: 30px;
        min-height: 200px;
    }
    
    .login-form {
        padding: 40px 30px;
    }
    
    .date-selectors {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .login-form {
        padding: 30px 20px;
    }
    
    .form-header h3 {
        font-size: 24px;
    }
}
