/* ── Layout geral ────────────────────────────────── */
.login-main {
    margin: 0;
    padding: 0;
}

/* ── Hero: fundo prédio FVS + filtro verde ───────── */
.login-hero {
    min-height: 100vh;
    background-image: linear-gradient(to bottom, rgba(26, 128, 70, 0.7), rgba(26, 128, 70, 0.7)), url('../onepage25/assets/images/hero/predio-fvs.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px 40px;
    gap: 28px;
}

/* ── Wrapper: dois cards lado a lado, largura igual ─ */
.login-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    gap: 28px;
    width: 100%;
    max-width: 900px;
}

/* ── Card base (compartilhado) ───────────────────── */
.video-card,
.login-card {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
}

/* ── Card esquerdo: vídeo ────────────────────────── */
.video-card {
    align-items: center;
    gap: 20px;
}

.video-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a8046;
    text-align: center;
    margin: 0;
    padding-bottom: 14px;
    border-bottom: 2px solid #e8f0ec;
    width: 100%;
}

.video-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.video-wrap video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.btn-criar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #1a8046;
    color: #fff;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: filter .2s;
    margin-top: auto;
}

.btn-criar:hover { filter: brightness(.9); }

/* ── Card direito: login ─────────────────────────── */
.login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 20px;
}

.login-logo {
    width: 64px;
    height: auto;
    margin-bottom: 6px;
}

.login-brand-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a8046;
    line-height: 1.3;
    text-align: center;
}

.login-title {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #1a8046;
    margin: 0 0 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid #e8f0ec;
    line-height: 1.4;
}

/* ── Campos ──────────────────────────────────────── */
.inputs-box {
    border: 2px solid #d0ddd6;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #fff;
}

.inputs-box input {
    width: 100%;
    padding: 14px 16px;
    border: none;
    outline: none;
    font-size: 15px;
    color: #1e2a2f;
    box-sizing: border-box;
}

.inputs-box input::placeholder { color: #a3aeb5; }
.inputs-box input + input { border-top: 1px solid #d0ddd6; }
.inputs-box input:focus { background: #f5faf7; }

/* ── Botão acessar (sem sombra) ──────────────────── */
.btn-login {
    width: 100%;
    padding: 14px;
    background: #1a8046;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .2s, transform .06s;
    box-shadow: none;
}

.btn-login:hover  { background: #166b3a; }
.btn-login:active { transform: translateY(1px); }

/* ── Links inferiores ────────────────────────────── */
.login-links {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.login-links a {
    font-size: 0.83rem;
    color: #1a8046;
    text-decoration: none;
}

.login-links a:hover { text-decoration: underline; }

/* ── Mensagem de erro ────────────────────────────── */
.status-msg {
    font-size: 0.88rem;
    margin-bottom: 16px;
    padding: 11px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.errorlist {
    list-style: none;
    padding: 0;
    color: #dc3545;
    font-size: 0.82rem;
    margin: 4px 0 10px;
}

/* ── Rodapé da tela de login ─────────────────────── */
.login-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    font-size: 0.82rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.login-footer p,
.login-footer a {
    margin: 0;
    color: #fff !important;
}

.login-footer a {
    font-weight: 600;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* ── Responsivo ──────────────────────────────────── */
@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column-reverse;
        max-width: 460px;
    }

    .login-hero { padding: 32px 16px 28px; }
}

@media (max-width: 480px) {
    .login-card,
    .video-card { padding: 24px 18px; }
}