/* Zera o padding-top da barra fixa usado nas telas internas */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.login-page {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
    background-color: #2c3e50;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.32), rgba(15, 23, 42, 0.45)),
        url('/static/bg-login.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-wrapper {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.login-logo img {
    height: 54px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.login-card {
    box-sizing: border-box;
    width: 100%;
    background: #ffffff;
    border-radius: 18px;
    padding: 36px 32px 28px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
    text-align: center;
}

.login-card h1 {
    margin: 0 0 10px;
    font-size: 21px;
    font-weight: 700;
    color: #EC7004;
    letter-spacing: 0.2px;
}

.login-subtitulo {
    margin: 0 0 26px;
    font-size: 14px;
    line-height: 1.5;
    color: #666666;
}

.login-erro {
    margin-bottom: 18px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fce8e6;
    border: 1px solid #f5c2be;
    color: #b3261e;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 18px;
    border-radius: 8px;
    background: #EC7004;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(236, 112, 4, 0.28);
    transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn-google:hover {
    background: #d46203;
}

.btn-google:active {
    transform: scale(0.99);
}

.google-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #ffffff;
    flex-shrink: 0;
}

.login-rodape {
    margin: 22px 0 0;
    font-size: 12px;
    color: #888888;
}

@media (max-width: 440px) {
    .login-card {
        padding: 28px 22px 24px;
    }

    .login-logo img {
        height: 46px;
    }
}
.login-rodape + .login-rodape {
    margin-top: 6px;
}

.login-rodape a {
    color: #EC7004;
    font-weight: 600;
    text-decoration: none;
}

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