/* =========================================================
   PÁGINA DE LOGIN
   - Estilos exclusivos do index.php
========================================================= */

/* =========================================================
   TOPO COM LOGOTIPO
========================================================= */
.hero-image-wrap {
    position: relative;
    background: linear-gradient(135deg, #d8dde3, #f1f3f6);
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 24px;
    overflow: hidden;
}

.topo-login-img {
    width: 62%;
    max-width: 62%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

html[data-theme="dark"] .hero-image-wrap {
    background: linear-gradient(135deg, #23272d, #171a1f);
}

.hero-image {
    width: 62%;
    max-width: 62%;
    max-height: none;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.10));
}

/* =========================================================
   ANIMAÇÃO SUAVE DO LOGO
========================================================= */
.logo-animated {
    animation: logoFloat 3.8s ease-in-out infinite;
    transform-origin: center;
}

@keyframes logoFloat {
    0% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-4px) scale(1.015);
    }
    100% {
        transform: translateY(0px) scale(1);
    }
}

/* =========================================================
   SELO DO TOPO
========================================================= */
.brand-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 20, 20, 0.55);
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

html[data-theme="light"] .brand-badge {
    background: rgba(255, 255, 255, 0.78);
    color: #2c3137;
    border: 1px solid rgba(0,0,0,0.06);
}

/* =========================================================
   AÇÕES DO LOGIN
========================================================= */
.login-actions-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    margin-top: 18px;
    align-items: stretch;
}

.login-actions-row .btn-login,
.login-actions-row .theme-toggle {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.btn-login-main {
    margin: 0;
}

.btn-theme-side {
    white-space: nowrap;
}

/* =========================================================
   BLOCO DE VANTAGENS
========================================================= */
.features-box {
    margin-top: 26px;
    background: rgba(127, 127, 127, 0.06);
    border: 1px solid var(--line-color);
    border-radius: 18px;
    padding: 18px 18px 12px;
}

.features-box h2 {
    margin: 0 0 14px;
    font-size: 1.08rem;
    color: var(--title-color);
    font-weight: 700;
}

.features-list {
    margin: 0;
    padding-left: 18px;
    color: var(--text-soft);
}

.features-list li {
    margin-bottom: 8px;
}

/* =========================================================
   RESPONSIVO DA PÁGINA DE LOGIN
========================================================= */
@media (max-width: 767px) {
    .hero-image-wrap {
        min-height: 180px;
        padding: 20px 16px;
    }

    .topo-login-img,
    .hero-image {
        width: 68%;
        max-width: 68%;
        max-height: none;
    }

    .brand-badge {
        top: 12px;
        right: 12px;
        font-size: 12px;
        padding: 8px 12px;
    }

    .login-actions-row {
        grid-template-columns: 1fr;
    }

    .login-actions-row .btn-login,
    .login-actions-row .theme-toggle {
        height: 48px;
    }
}