/* Login + cadastro — tela única, padrão roxo, sem caixa extra */
.login-body {
    margin: 0;
    min-height: 100dvh;
    background: #3b1578 !important;
    color: #fff;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.ag {
    position: relative;
    z-index: 1;
    max-width: 400px;
    min-height: 100dvh;
    margin: 0 auto;
    padding: 10px 22px 28px;
    display: flex;
    flex-direction: column;
}

.ag-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(90% 50% at 50% -10%, rgba(196, 181, 253, .45), transparent 58%),
        radial-gradient(70% 40% at 100% 80%, rgba(109, 40, 217, .35), transparent 50%),
        linear-gradient(180deg, #5b21b6 0%, #4c1d95 38%, #3b1578 100%);
}

.ag-top {
    display: flex;
    align-items: center;
    height: 44px;
}

.ag-back {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255,255,255,.12);
    border: 0;
    border-radius: 50%;
    text-decoration: none;
    cursor: pointer;
    font-size: 15px;
}

.ag-hero {
    text-align: center;
    padding: 8px 0 6px;
}

.ag-logo {
    width: 148px;
    height: 148px;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
    filter: drop-shadow(0 14px 28px rgba(15, 0, 40, .28));
}

.ag--register .ag-logo {
    width: 164px;
    height: 164px;
}

.ag-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 18px 0 22px;
    padding: 4px;
    background: rgba(255,255,255,.14);
    border-radius: 999px;
}

.ag-tabs a {
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,.72);
    padding: 11px 8px;
    border-radius: 999px;
}

.ag-tabs a.is-on {
    background: #fff;
    color: #4c1d95;
    box-shadow: 0 6px 16px rgba(20, 8, 50, .16);
}

.ag-alert {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 80, 80, .16);
    border: 1px solid rgba(255, 180, 180, .35);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.ag-form { display: flex; flex-direction: column; gap: 12px; }

.ag-box {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 14px;
    background: #fff;
    border-radius: 16px;
    color: #1e1233;
}

.ag-box > i {
    width: 18px;
    text-align: center;
    color: #7c3aed;
    font-size: 15px;
}

.ag-box input {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 54px;
    border: 0;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 15px;
    color: #1e1233;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.ag-box input::placeholder { color: #b3a8c7; }

.ag-cc {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 800;
    color: #4c1d95;
    padding-right: 10px;
    border-right: 1px solid #ece6f5;
    line-height: 1.1;
}

.ag-eye {
    border: 0;
    background: none;
    color: #9b8fb3;
    cursor: pointer;
    padding: 6px;
    font-size: 15px;
}

.ag-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 2px;
    font-size: 13px;
}

.ag-check {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.82);
    cursor: pointer;
    user-select: none;
}

.ag-check input { accent-color: #fff; width: 16px; height: 16px; }

.ag-link {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.ag-link:hover { text-decoration: underline; }

.ag-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 54px;
    padding: 0 8px 0 16px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
}

.ag-chip b {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 10px;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.ag-refresh {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #6d28d9;
    cursor: pointer;
}

.ag-terms {
    font-size: 12.5px;
    line-height: 1.45;
    color: rgba(255,255,255,.78);
    align-items: flex-start;
}

.ag-terms a { color: #fff; font-weight: 700; }

.ag-btn {
    margin-top: 8px;
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    color: #4c1d95;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 0, 40, .18);
}

.ag-btn:active { transform: scale(.99); }

.ag-note {
    margin: 16px 8px 0;
    text-align: center;
    color: rgba(255,255,255,.72);
    font-size: 14px;
}
