:root {
    --navy: #0B1D3A;
    --navy-2: #132A4F;
    --red: #D71E28;
    --red-dark: #A81620;
    --muted: #6b7280;
    --green: #1D9E75;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
}

.login-shell {
    display: flex;
    min-height: 100vh;
}

/* ============ LEFT BRAND PANEL ============ */
.brand-panel {
    flex: 0 0 42%;
    background: linear-gradient(150deg, var(--navy), var(--navy-2));
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px 50px;
    color: #fff;
}

.brand-panel::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 340px;
    height: 340px;
    background: var(--red);
    opacity: .08;
    border-radius: 50%;
}

.brand-panel::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -60px;
    width: 220px;
    height: 220px;
    background: var(--red);
    opacity: .06;
    border-radius: 50%;
}


.brand-copy {
    position: relative;
    z-index: 2;
    max-width: 380px;
}

.brand-copy .eyebrow {
    color: var(--red);
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.brand-copy h2 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
}

.brand-copy p {
    color: #c9d3e0;
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.approval-note {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    padding: 16px 18px;
    display: flex;
    gap: 12px;
}

.approval-note i {
    color: var(--red);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.approval-note span {
    color: #dbe2ee;
    font-size: 13px;
    line-height: 1.6;
}

.brand-stats {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 30px;
}

.brand-stats .n {
    font-size: 22px;
    font-weight: 700;
    color: var(--red);
}

.brand-stats .l {
    font-size: 11.5px;
    color: #c9d3e0;
    margin-top: 2px;
}

@media(max-width:991px) {
    .brand-panel {
        display: none;
    }
}

/* ============ RIGHT FORM PANEL ============ */
.form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: #F8F9FB;
}

.reg-box {
    width: 100%;
    max-width: 95%;
}

.logo{
        height: auto;
    width: 110px;
    border-radius: 6px;
    filter: none;
    position: relative;
    z-index: 2;
}

.reg-box .mobile-logo {
    display: none;
    height: 75px;
    margin-bottom: 26px;
}

@media(max-width:991px) {
    .reg-box .mobile-logo {
        display: block;
    }

}

.reg-box h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.reg-box .sub {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 28px;
}

.form-panel-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eef0f3;
    padding: 32px;
}

.mini-heading {
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: .4px;
    margin: 22px 0 14px;
    padding-top: 18px;
    border-top: 1px solid #f0f1f4;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-heading:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.mini-heading i {
    color: var(--red);
}

.form-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-control,
.form-select {
    border: 1px solid #dfe3e8;
    font-size: 14.5px;
    padding: 11px 14px;
    border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(215, 30, 40, .1);
}

.pw-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--muted);
    font-size: 15px;
}

.input-icon-wrap {
    position: relative;
}

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
    margin: 22px 0;
}

.terms-check input {
    accent-color: var(--red);
    margin-top: 3px;
    flex-shrink: 0;
}

.terms-check a {
    color: var(--red);
    text-decoration: none;
    font-weight: 600;
}

.terms-check a:hover {
    text-decoration: underline;
}

.btn-register {
    width: 100%;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    padding: 13px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
}

.btn-register:hover {
    background: var(--red-dark);
    color: #fff;
}

.btn-register:disabled {
    opacity: .7;
}

.alert-inline {
    font-size: 13px;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 16px;
}

.login-cta {
    text-align: center;
    margin-top: 22px;
    font-size: 13.5px;
    color: var(--muted);
}

.login-cta a {
    color: var(--red);
    font-weight: 700;
    text-decoration: none;
}

/* ============ SUCCESS / PENDING STATE ============ */
.success-panel {
    text-align: center;
    padding: 20px 6px;
    display: none;
}

.success-panel.show {
    display: block;
}

.form-panel-card.hide-form {
    display: none;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(29, 158, 117, .1);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.success-panel h2 {
    font-size: 21px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.success-panel p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.success-steps {
    text-align: left;
    background: #F8F9FB;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 22px;
}

.success-steps .step {
    display: flex;
    gap: 12px;
    padding: 8px 0;
    font-size: 13.5px;
    color: var(--navy);
}

.success-steps .step i {
    color: var(--red);
    margin-top: 2px;
}

/* Login page */

.login-shell.loginpage {
    display: flex;
    min-height: 100vh;
}

/* ============ LEFT BRAND PANEL ============ */
.loginpage .brand-panel {
    flex: 0 0 46%;
    background: linear-gradient(150deg, var(--navy), var(--navy-2));
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px 56px;
    color: #fff;
}

.loginpage .brand-panel::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 340px;
    height: 340px;
    background: var(--red);
    opacity: .08;
    border-radius: 50%;
}

.loginpage .brand-panel::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -60px;
    width: 220px;
    height: 220px;
    background: var(--red);
    opacity: .06;
    border-radius: 50%;
}


.loginpage .brand-copy {
    position: relative;
    z-index: 2;
    max-width: 400px;
}

.loginpage .brand-copy .eyebrow {
    color: var(--red);
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.loginpage .brand-copy h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
}

.loginpage .brand-copy p {
    color: #c9d3e0;
    font-size: 14.5px;
    line-height: 1.7;
}

.loginpage .brand-features {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.loginpage .brand-features .item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.loginpage .brand-features .item i {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(215, 30, 40, .15);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.loginpage .brand-features .item span {
    color: #dbe2ee;
    font-size: 13.5px;
    font-weight: 600;
}

@media(max-width:991px) {
    .loginpage .brand-panel {
        display: none;
    }
}

/* ============ RIGHT LOGIN PANEL ============ */
.loginpage .form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: #F8F9FB;
}

.loginpage .login-box {
    width: 100%;
    max-width: 470px;
}

.loginpage .login-box .mobile-logo {
    display: none;
    height: 75px;
    margin-bottom: 26px;
}

@media(max-width:991px) {
    .loginpage .login-box .mobile-logo {
        display: block;
    }
}

.loginpage .login-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(11, 29, 58, .06);
    color: var(--navy);
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.loginpage .login-box h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.loginpage .login-box .sub {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 30px;
}

.loginpage .form-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.loginpage .input-icon-wrap {
    position: relative;
}

.loginpage .input-icon-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 15px;
}

.loginpage .input-icon-wrap i.bi-eye-fill{
     left: 0;
}

.loginpage .input-icon-wrap .form-control {
    padding-left: 42px;
}

.loginpage .form-control {
    border: 1px solid #dfe3e8;
    font-size: 14.5px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #fff;
}

.loginpage .form-control:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(215, 30, 40, .1);
}

.loginpage .pw-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--muted);
    font-size: 15px;
}

.loginpage .form-row-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 14px 0 24px;
}

.loginpage .remember-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--muted);
}

.loginpage .remember-check input {
    accent-color: var(--red);
}

.loginpage .forgot-link {
    font-size: 13.5px;
    color: var(--red);
    text-decoration: none;
    font-weight: 600;
}

.loginpage .forgot-link:hover {
    color: var(--red-dark);
}

.loginpage .btn-login {
    width: 100%;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    padding: 13px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
}

.loginpage .btn-login:hover {
    background: var(--red-dark);
    color: #fff;
}

.loginpage .btn-login:disabled {
    opacity: .7;
}

.loginpage .alert-inline {
    font-size: 13px;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 16px;
}

.loginpage .signup-cta {
    text-align: center;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #eef0f3;
    font-size: 13.5px;
    color: var(--muted);
}

.loginpage .signup-cta a {
    color: var(--red);
    font-weight: 700;
    text-decoration: none;
}

.loginpage .signup-cta a:hover {
    color: var(--red-dark);
}

.loginpage .back-site {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    margin-top: 24px;
    font-weight: 600;
}

.loginpage .back-site:hover {
    color: var(--red);
}

@media(max-width:767px){
        .form-panel-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eef0f3;
    padding: 12px;
}
.form-panel {
    padding: 40px 5px;
}
.reg-box h1 {
    font-size: 20px;
    font-weight: 700;
}
.loginpage .login-box h1 {
    font-size: 20px;
    font-weight: 700;
}
}