@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #002D6B;
    background-image:
        radial-gradient(ellipse 70% 55% at 50% 50%, rgba(74, 159, 212, 0.14) 0%, transparent 65%),
        radial-gradient(ellipse 45% 40% at 10% 15%, rgba(74, 159, 212, 0.10) 0%, transparent 70%),
        radial-gradient(ellipse 50% 45% at 90% 85%, rgba(74, 159, 212, 0.09) 0%, transparent 70%),
        radial-gradient(ellipse 30% 25% at 85% 10%, rgba(250, 208, 90, 0.06) 0%, transparent 65%),
        linear-gradient(rgba(74, 159, 212, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 159, 212, 0.07) 1px, transparent 1px);
    background-size:
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%,
        48px 48px,
        48px 48px;
}

#geral-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    gap: 40px;
    padding-left: 0;
}

/* ── Painel esquerdo ── */

.box-inicial {
    background-color: transparent;
    border: 1px solid #d9d9d94f;
    border-radius: 35px;
    max-width: 450px;
    padding: 50px;
    animation: fadeSlideLeft 0.55s ease both;
}

.box-inicial div:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

.box-inicial > div:first-child > i {
    font-size: 90px;
    color: #FFF;
    margin-left: 15px;
    margin-top: 35px;
}

.box-inicial h1 {
    margin-bottom: 5px;
}

h1 {
    font-weight: 900;
    font-size: 72px;
    color: #fff;
    line-height: 1;
    letter-spacing: -3px;
    margin: 0;
}

p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

.box-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(217, 217, 217, 0.15);
}

.box-features span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    font-weight: 500;
}

.box-features span i {
    color: #4A9FD4;
    font-size: 13px;
}

/* ── Painel direito — Login ── */

.login-base {
    background-color: #fff;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 80px rgba(74, 159, 212, 0.15);
    border-radius: 35px;
    width: 420px;
    padding: 40px 40px 10px;
    animation: fadeSlideRight 0.55s ease both;
}

.titulo-login {
    color: #FAD05A;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 4px 0;
}

.subtitulo-login {
    color: rgba(0, 45, 107, 0.45);
    font-size: 13px;
    font-weight: 500;
    margin: 0 0 28px 0;
}

.logo-bottom {
    display: flex;
    justify-content: center;
    padding: 20px 0 10px;
}

/* ── Inputs ── */

.input-group {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #002D6B;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 7px;
    opacity: 0.7;
}

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

.input-icon {
    position: absolute;
    left: 14px;
    color: rgba(0, 45, 107, 0.35);
    font-size: 14px;
    pointer-events: none;
    transition: color 0.2s;
}

.input-wrapper:focus-within .input-icon {
    color: #4A9FD4;
}

.dados-input {
    width: 100%;
    box-sizing: border-box;
    background-color: #f4f6f9;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    border: 1.5px solid transparent;
    border-radius: 12px;
    padding: 13px 14px 13px 40px;
    color: #002D6B;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.dados-input::placeholder {
    color: rgba(0, 45, 107, 0.3);
    font-size: 13px;
}

.dados-input:focus {
    outline: none;
    background-color: #fff;
    border-color: #4A9FD4;
    box-shadow: 0 0 0 3px rgba(74, 159, 212, 0.15);
}

/* input senha com botão toggle */
.senha .dados-input {
    padding-right: 44px;
}

.toggle-senha {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: rgba(0, 45, 107, 0.35);
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.toggle-senha:hover {
    color: #4A9FD4;
}

/* ── Erro ── */

.login-erro {
    display: none;
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.08);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 14px;
    margin-bottom: 16px;
    text-align: center;
}

/* ── Botão ── */

.button-entrar {
    margin-top: 4px;
}

.button-login {
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #4A9FD4 0%, #357bb5 100%);
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    border-radius: 14px;
    padding: 0;
    width: 100%;
    height: 52px;
    border: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

.button-login:hover {
    background: linear-gradient(135deg, #5aaee0 0%, #4190cc 100%);
    box-shadow:
        0 0 20px rgba(74, 159, 212, 0.5),
        0 6px 20px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

.button-login:active {
    transform: translateY(0);
    box-shadow: 0 0 10px rgba(74, 159, 212, 0.35);
}

/* ── Animações de entrada ── */

@keyframes fadeSlideLeft {
    from { opacity: 0; transform: translateX(-22px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeSlideRight {
    from { opacity: 0; transform: translateX(22px); }
    to   { opacity: 1; transform: translateX(0); }
}
