:root {
    --primary-blue: #1f4fff;
    --primary-blue-dark: #163fd6;
    --light-bg: #f6f9ff;
    --text-dark: #1b2434;
    --text-muted: #98a2b3;
    --border-color: #dbe3f0;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    background: radial-gradient(circle at center, #ffffff 0%, #f4f8ff 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    color: var(--text-dark);
}

/* Background circles */
body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    background: rgba(219, 232, 251, 0.45);
    z-index: 0;
    filter: blur(0.5px);
}

body::before {
    width: 520px;
    height: 520px;
    top: -50px;
    left: -70px;
}

body::after {
    width: 480px;
    height: 480px;
    top: -30px;
    right: 80px;
}

.bg-circle {
    position: fixed;
    border-radius: 50%;
    background: rgba(219, 232, 251, 0.4);
    z-index: 0;
}

.circle-1 {
    width: 400px;
    height: 400px;
    left: -100px;
    bottom: -120px;
}

.circle-2 {
    width: 580px;
    height: 580px;
    right: -130px;
    bottom: -170px;
}

.circle-3 {
    width: 600px;
    height: 600px;
    left: 35%;
    bottom: -260px;
    transform: translateX(-50%);
    background: rgba(226, 236, 252, 0.38);
}

.page-wrap {
    min-height: 100vh;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.login-card {
    width: 100%;
    max-width: 920px;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(57, 89, 152, 0.12);
}

/* Left Panel */
.brand-panel {
    background:
        linear-gradient(rgba(30, 80, 255, 0.88), rgba(30, 80, 255, 0.88)),
        url('/assets/images/login-bg.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    /* min-height: 700px; */
    min-height: 100%;
    position: relative;
    padding: 48px 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brand-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(15, 49, 177, 0.12),
            rgba(21, 67, 219, 0.18));
    pointer-events: none;
}

.brand-content,
.brand-footer {
    position: relative;
    z-index: 2;
}

.logo-box {
    margin: 0 auto 60px auto;
    text-align: center;
}

.brand-title {
    text-align: center;
    margin-bottom: 50px;
}

.brand-title .line-1 {
    font-size: 28px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 6px;
}

.brand-title .line-2 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
}

.brand-title p {
    margin: 0 auto;
    max-width: 200px;
    color: rgba(255, 255, 255, 0.44);
    font-size: 16px;
    line-height: 1.5;
}

.feature-list {
    max-width: 235px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 12px 18px;
    margin-bottom: 14px;
    font-size: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.feature-item i {
    font-size: 15px;
    opacity: 0.95;
}

.brand-footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.38);
    font-size: 14px;
    margin-top: 30px;
}

/* Right Panel */
.form-panel {
    min-height: 700px;
    padding: 54px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.welcome-title {
    font-size: 34px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 6px;
    color: #1a2233;
}

.welcome-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 70px;
}

.form-label {
    font-size: 15px;
    font-weight: 700;
    color: #434c5d;
    margin-bottom: 8px;
}

.input-group.custom-input {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    height: 54px;
    box-shadow: 0 2px 8px rgba(27, 36, 52, 0.03);
}

.input-group.custom-input .input-group-text {
    background: transparent;
    border: none;
    color: #a0a8b8;
    padding-left: 16px;
    padding-right: 8px;
    font-size: 18px;
}

.input-group.custom-input .form-control {
    border: none;
    box-shadow: none;
    height: 54px;
    font-size: 16px;
    color: #334155;
    padding-left: 6px;
    padding-right: 16px;
}

.input-group.custom-input .form-control::placeholder {
    color: #a9b2c2;
}

.password-toggle {
    cursor: pointer;
    color: #adb5c3 !important;
    padding-right: 16px !important;
    padding-left: 8px !important;
}

.form-check-input:checked {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.form-check-label {
    color: #7a8496;
    font-size: 15px;
}

.forgot-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

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

.signin-btn {
    height: 54px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(180deg, #2754ff 0%, #1b47e3 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(31, 79, 255, 0.28);
    transition: 0.25s ease;
}

.signin-btn:hover {
    background: linear-gradient(180deg, #1f4fff 0%, #163fd6 100%);
    transform: translateY(-1px);
}

.signup-text {
    text-align: center;
    color: #7f8796;
    margin-top: 14px;
    font-size: 15px;
}

.signup-text a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
}

.signup-text a:hover {
    text-decoration: underline;
}

.form-area {
    max-width: 100%;
    width: 100%;
}

.middle-gap {
    height: 70px;
}

/* Security-verification */

.Security-section .input-group.custom-input {
    max-width: 60px;
}

.Security-section .input-group.custom-input .form-control {
    padding: 6px;
    text-align: center;
}