﻿.login-layout {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Imagem de fundo + overlay escuro leve */
    background-image: url("/imagens/login-bg-3.png"); /* troque o caminho aqui se quiser */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-overlay {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background-color: #fff;
    border-radius: 18px;
    padding: 2.5rem 2rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    backdrop-filter: blur(6px);
}

/* Logo centralizada */
.login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
    height: 200px;
}

.login-logo img {
    max-width: 257px;
}

/* Container onde o @Body é renderizado */
.login-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Layout formulario do login */
.frm-field {
    margin-bottom: 16px;
}

.frm-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #424242;
}

.frm-input {
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    border: 1px solid #bdbdbd;
    border-radius: 4px;
    background-color: #ffffff;
    color: #424242;
    font-size: 16px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.frm-input:hover {
    border-color: #594AE2;
}

.frm-input:focus {
    border-color: #594AE2;
    box-shadow: 0 0 0 2px rgba(89, 74, 226, 0.20);
}

.frm-input:disabled {
    background-color: #f5f5f5;
    color: #9e9e9e;
    cursor: not-allowed;
}

.frm-button {
    width: 100%;
    height: 42px;
    border: none;
    border-radius: 4px;
    background-color: #594AE2;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease, box-shadow .2s ease, transform .1s ease;
}

.frm-button:hover {
    background-color: #4b3ccc;
}

.frm-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(89, 74, 226, 0.25);
}

.frm-button:active {
    transform: scale(0.98);
}

.frm-button:disabled {
    background-color: #bdbdbd;
    cursor: not-allowed;
    opacity: 0.8;
}


/* Responsividade básica para telas menores */
@media (max-width: 480px) {
    .login-card {
        padding: 2rem 1.5rem;
        border-radius: 14px;
    }

    .login-logo img {
        max-width: 150px;
    }
}
