html,
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    background-color: #2B388E !important;
    background-image:
        radial-gradient(ellipse at 60% 20%, rgba(100, 110, 220, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 80%, rgba(16, 5, 64, 0.2) 0%, transparent 45%) !important;
}

header,
.navbar,
.navbar-brand,
.abp-logo,
.app-logo,
.app-title,
.account-brand,
.account-branding,
.brand-container,
.lpx-topbar-container {
    display: none !important;
}

.abp-account-container {
    max-width: none !important;
    width: 100% !important;
}
.custom-account-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}
.custom-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.custom-login-card {
    width: 100%;
    max-width: 680px;
    background: linear-gradient(160deg, #1e1c5a 0%, #131148 100%);
    border-radius: 20px;
    padding: 2.8rem 3.2rem 2.5rem;
    color: #f3f4fb;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.custom-info-card {
    width: 100%;
    max-width: 680px;
    background: linear-gradient(160deg, #1e1c5a 0%, #131148 100%);
    border-radius: 20px;
    color: #f3f4fb;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.custom-login-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.4rem;
    letter-spacing: -0.5px;
}

.custom-login-subtitle {
    text-align: center;
    color: #a8acdc;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.custom-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1.8rem 0;
}

.custom-input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    margin-bottom: 1.2rem;
    padding: 0 1rem;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.custom-input-group:focus-within {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 0 0 3px rgba(114, 117, 168, 0.25);
}

.custom-input-icon {
    color: #fff;
    font-size: 1rem;
    width: 1.8rem;
    text-align: center;
    flex-shrink: 0;
    transition: color 0.2s;
}

.custom-input-group:focus-within .custom-input-icon {
    color: #e0e2ff;
}

.custom-input {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    font-style: normal;
    padding: 0.8rem 0.4rem;
    box-shadow: none !important;
    width: 100%;
}

.custom-input::placeholder {
    color: #fff;
    opacity: 1;
}

.custom-input:focus {
    background: transparent;
    color: #fff;
    outline: none;
}

.custom-input:-webkit-autofill,
.custom-input:-webkit-autofill:hover,
.custom-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px rgba(30, 28, 90, 0) inset !important;
    box-shadow: 0 0 0 1000px rgba(30, 28, 90, 0) inset !important;
    -webkit-text-fill-color: #fff !important;
    background-color: transparent !important;
    transition: background-color 9999s ease-in-out 0s;
}

.custom-remember {
    font-size: 0.95rem;
    margin: 0.2rem 0 1.6rem;
    color: #c2c5e8;
}

.custom-remember .form-check-input {
    margin-top: 0.2rem;
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.custom-remember .form-check-input:checked {
    background-color: #4f52b2;
    border-color: #4f52b2;
}

.custom-login-btn {
    background: #100540 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    width: 100%;
    padding: 0.85rem 1rem;
    margin-bottom: 1.1rem;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s, border-color 0.2s !important;
    box-shadow: 0 4px 15px rgba(16, 5, 64, 0.5);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.custom-login-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.2s;
    border-radius: inherit;
}

.custom-login-btn:hover {
    background: #1a0a70 !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 6px 25px rgba(16, 5, 64, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-2px);
}

.custom-login-btn:hover::after {
    opacity: 1;
}

.custom-login-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(16, 5, 64, 0.5) !important;
    transition: transform 0.08s, box-shadow 0.08s !important;
}

.custom-forgot-password {
    display: block;
    text-align: center;
    color: #a8acdc;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.custom-forgot-password:hover {
    color: #ffffff;
    text-decoration: underline;
}

.custom-extra {
    margin-top: 1.4rem;
    text-align: center;
    color: #a8acdc;
    font-size: 0.9rem;
}

.custom-extra a {
    color: #fff;
}

@media (max-width: 768px) {
    .custom-login-card {
        max-width: 540px;
        padding: 2rem 1.6rem;
    }

    .custom-login-title {
        font-size: 1.9rem;
    }
}
