@charset "UTF-8";

/* Reset e Fontes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #345c85; /* Ajustado para o azul da imagem */
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #345c85 100%);
    margin: 0;
}

.navbar-cefet-white {
    width: 100%;
    align-self: stretch;
}

.login-container {
    width: 100%;
    max-width: 900px;
    padding: 1rem;
    z-index: 1;
    /*margin: 0 auto;*/
    margin: 5vh auto 40px auto;
}

.login-card {
    background-color: white;
    border-radius: 6px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 320px 1fr;
    align-items: stretch;
    min-height: 520px;
    gap: 1.5rem;
}

.user-icon-circle {
    width: 80px;
    height: 80px;
    background-color: #0d47a1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1.5rem 0;
}

.user-icon-circle .material-icons {
    font-size: 48px;
    color: white;
}

.system-title {
    color: #1e3c72;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

/* Left column container (top aligned on left) */
.login-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 0.25rem;
    height: 100%;
    text-align: center;
}

.login-left .system-title,
.login-left .system-subtitle {
    text-align: center;
}

/* Right column holds the form and stretches */
.login-right {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center; /* center form vertically */
}

/* Responsive: stack columns on narrow screens */
@media (max-width: 768px) {
    .login-card {
        display: block;
        padding: 7.5rem;
        min-height: auto;
    }
    .login-left {
        align-items: center;
        text-align: center;
        margin-bottom: 1rem;
    }
    .user-icon-circle {
        margin: 0 auto 1rem;
    }
    /* keep form top-aligned on small screens */
    .login-right {
        justify-content: flex-start;
    }
}

.system-subtitle {
    color: #777;
    font-size: 1.35rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.input-label {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 12px;
    color: #666;
    font-size: 2.0rem;
}


.forgot-password {
    display: block;
    text-align: right;
    font-size: 1.3rem;
    color: #4285f4;
    text-decoration: none;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    background-color: #06408bc4;
    color: white;
    border: none;
    padding: 0.9rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.4rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #002171;
}

.back-link {
    display: block;
    margin-top: 1.5rem;
    color: #777;
    text-decoration: none;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.back-link:hover {
    color: #333;
}

.footer-copy {
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.3rem;
    text-align: center;
}

.has-error .form-control {
    border-color: #dc3545;
}

.error-msg {
    color: #dc3545;
    font-size: 1.3rem;
    margin-top: 0.25rem;
}


.form-control {
   padding: 0 4rem;
}
