body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-box {
    width: 350px;
    padding: 30px;
    background: rgba(10, 16, 28, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.login-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    max-width: 100%;
}

.login-brand .logo-mark {
    width: 52px;
    height: 52px;
}

.login-brand .logo-mark-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter:
        drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35))
        drop-shadow(0 0 14px rgba(251, 191, 36, 0.14));
}

.login-brand .logo-text {
    min-width: 0;
}

.login-brand .logo-text strong {
    font-size: 24px;
    letter-spacing: 0.08em;
}

.login-brand .logo-text span {
    margin-top: 4px;
    font-size: 10px;
    letter-spacing: 0.24em;
    color: rgba(226, 232, 240, 0.72);
}

.login-subtitle {
    color: #9ca3af;
    margin-bottom: 20px;
}

.input-group {
    position: relative;
    width: 100%;
    height: 48px;
    margin-bottom: 15px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 0;
    width: 18px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #93c5fd;
    font-size: 15px;
    pointer-events: none;
}

.input-group input {
    width: 100%;
    height: 48px;
    padding: 0 14px 0 46px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.62);
    color: white;
    outline: none;
    box-sizing: border-box;
    line-height: 48px;
}

.input-group input:focus {
    border-color: rgba(125, 211, 252, 0.5);
    box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.12);
}

.btn-login {
    width: 100%;
    height: 48px;
    border-radius: 10px;
    border: 1px solid rgba(125, 211, 252, 0.48);
    background: linear-gradient(180deg, rgba(49, 71, 108, 0.95), rgba(26, 40, 63, 0.95));
    color: #f1f5f9;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.26),
        0 0 0 1px rgba(147, 197, 253, 0.12) inset;
}

.btn-login:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, rgba(58, 85, 126, 0.98), rgba(35, 53, 82, 0.98));
    border-color: rgba(147, 197, 253, 0.7);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.32),
        0 0 0 3px rgba(147, 197, 253, 0.12);
}

.login-links {
    margin-top: 15px;
    text-align: center;
}

.login-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    min-width: 190px;
    padding: 0 14px;

    color: #e2e8f0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 9px;
    border: 1px solid rgba(148, 163, 184, 0.36);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.68), rgba(15, 23, 42, 0.76));
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
    transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}

.login-links a:hover {
    color: #f8fafc;
    background: linear-gradient(180deg, rgba(51, 65, 85, 0.88), rgba(30, 41, 59, 0.9));
    border-color: rgba(125, 211, 252, 0.56);
    transform: translateY(-1px);
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.26),
        0 0 0 2px rgba(147, 197, 253, 0.1);
}

/* garante consistência com mais campos */
.login-box {
    width: 100%;
    max-width: 380px;
	position: relative;
}

/* espaçamento mais equilibrado */
.input-group {
    margin-bottom: 14px;
}

/* mantém todos inputs iguais */
.input-group input {
    font-size: 14px;
}

/* bot?o com mesmo padrão visual */
.btn-login {
    margin-top: 10px;
}

/* melhora visual do link abaixo */
.login-links {
    margin-top: 18px;
}

/* efeito hover mais suave */
.login-links a {
    transition: 0.2s;
}

/* BOTÃO INÍCIO */
.login-home {
    position: absolute;
    bottom: 15px;
    left: 15px;
}

.login-home a {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px 12px;
    border-radius: 8px;

    color: #dbeafe;
    text-decoration: none;
    font-size: 12px;

    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.65);

    transition: 0.2s;
}

.login-home a:hover {
    background: rgba(30, 41, 59, 0.82);
    color: #fff;
}

.forgot-password {
    text-align: right;
    margin-top: -6px;
    margin-bottom: 12px;
}

.forgot-password a {
    font-size: 12px;
    color: #93c5fd;
    text-decoration: none;
    opacity: 0.8;
    transition: 0.2s;
}

.forgot-password a:hover {
    opacity: 1;
    text-decoration: underline;
}

.register-page .login-box {
    width: min(100%, 520px) !important;
    max-width: 520px !important;
    padding: 36px 34px 32px !important;
}

.register-page .login-subtitle {
    margin-bottom: 22px;
}

.register-page .input-group {
    margin-bottom: 16px;
}

.register-page .btn-login {
    margin-top: 12px;
}

.register-page .login-links {
    margin-top: 20px;
}

.register-help-text {
    margin: -2px 0 8px;
    text-align: left;
    color: #bfdbfe;
    font-size: 12px;
    line-height: 1.5;
}

.register-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 8px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.42);
    color: #dbeafe;
    text-align: left;
    font-size: 13px;
    line-height: 1.5;
    box-sizing: border-box;
}

.register-consent input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #93c5fd;
    flex: 0 0 auto;
}

.register-consent span {
    display: block;
}

.register-consent a {
    color: #93c5fd;
    text-decoration: none;
    font-weight: 600;
}

.register-consent a:hover {
    color: #dbeafe;
    text-decoration: underline;
}

.verification-panel {
    margin-top: 18px;
    padding: 18px 16px 16px;
    border-radius: 12px;
    border: 1px solid rgba(125, 211, 252, 0.22);
    background: rgba(15, 23, 42, 0.58);
    text-align: left;
}

.verification-panel[hidden] {
    display: none !important;
}

.verification-panel-head h3 {
    margin: 0 0 6px;
    color: #f8fafc;
    font-size: 18px;
}

.verification-panel-head p {
    margin: 0 0 14px;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.5;
}

.verification-actions {
    display: grid;
    gap: 10px;
}

.btn-secondary-inline {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.72);
    color: #e2e8f0;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.btn-secondary-inline:hover {
    background: rgba(30, 41, 59, 0.92);
    border-color: rgba(147, 197, 253, 0.4);
    transform: translateY(-1px);
}

@media (max-width: 560px) {
    .register-page .login-box {
        max-width: 100%;
        padding: 28px 22px 24px;
    }
}
