:root {
    --auth-bg: #0b1020;
    --auth-bg-2: #0f1530;
    --auth-card: #121a3a;
    --auth-line: rgba(255, 255, 255, 0.08);
    --auth-text: #e7ecff;
    --auth-muted: #9aa6cf;
    --auth-accent: #7c5cff;
    --auth-accent-2: #21d4fd;
    --auth-success: #22c55e;
    --auth-danger: #ff7a8a;
}

body {
    background:
        radial-gradient(circle at top left, rgba(124, 92, 255, 0.26), transparent 32%),
        radial-gradient(circle at 82% 12%, rgba(33, 212, 253, 0.18), transparent 26%),
        linear-gradient(135deg, var(--auth-bg) 0%, var(--auth-bg-2) 100%);
    color: var(--auth-text);
    font-family: 'Inter', 'Signika', sans-serif;
    position: relative;
}

body:before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(124, 92, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(124, 92, 255, 0.05) 1px, transparent 1px);
    background-size: 26px 26px;
}

.auth-main {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding: 40px 12px 56px;
    position: relative;
    z-index: 1;
}

.auth-main .container {
    width: 100%;
    max-width: 1240px;
}

.slideIn {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 24px;
}

.slideIn>[class*='col-'] {
    display: flex;
}

.slideIn>[class*='col-']>* {
    width: 100%;
}

.fitxt-center,
.sign-area {
    float: none;
}

.image-area,
.sign-area {
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(3, 8, 24, 0.38);
}

.image-area {
    overflow: hidden;
    min-height: 680px;
    background:
        linear-gradient(180deg, rgba(10, 16, 32, 0.2), rgba(10, 16, 32, 0.52)),
        url('../image/sidebox.jpg');
    background-position: center;
    background-size: cover;
}

.image-area:before {
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(33, 212, 253, 0.26), transparent 24%),
        linear-gradient(145deg, rgba(124, 92, 255, 0.88), rgba(15, 21, 48, 0.94));
    opacity: 1;
}

.image-area .content {
    min-height: 100%;
    height: auto;
    padding: 52px 42px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    gap: 28px;
}

.image-area .image-hader h2 {
    margin: 0;
    font-size: clamp(2.8rem, 4vw, 4.4rem);
    line-height: 1.02;
    font-weight: 800;
    text-transform: none;
}

.image-area .image-hader h2:before {
    width: 92px;
    height: 3px;
    bottom: -14px;
}

.auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #eef3ff;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.auth-hero-copy {
    max-width: 440px;
}

.auth-hero-copy p {
    margin: 28px 0 0;
    font-size: 1.18rem;
    line-height: 1.6;
    color: rgba(231, 236, 255, 0.82);
}

.auth-feature-list {
    display: grid;
    gap: 14px;
    margin: 32px 0 0;
}

.auth-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    color: #f7f9ff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-feature-item i {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
}

.content .address {
    max-width: 420px;
}

.content .address p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(231, 236, 255, 0.72);
}

.f-social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.f-social-links a span {
    width: 46px;
    height: 46px;
    line-height: 44px;
    margin-right: 0;
    border-radius: 14px;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.f-social-links a span:after,
.f-social-links a span:hover:after {
    background: rgba(124, 92, 255, 0.28);
}

.sign-area {
    overflow: visible;
    background: rgba(18, 26, 58, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    color: var(--auth-text);
    height: auto;
    min-height: auto;
    padding: 40px 38px;
    margin-top: 0;
}

.sign-area::before {
    display: none;
}

.sign-hader {
    text-align: left;
    padding: 0 0 20px;
}

.sign-hader img {
    max-height: 76px;
    width: auto;
    padding: 6px;
    border-radius: 18px;
    background: rgba(124, 92, 255, 0.12);
}

.sign-hader h2 {
    margin: 16px 0 10px;
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 1.05;
    font-weight: 800;
    color: #fff;
}

.auth-panel-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(33, 212, 253, 0.12);
    color: #8feaff;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.auth-panel-copy {
    color: #a9b7df;
    font-size: 1.08rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-control {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: none;
    height: 54px;
    font-size: 1.05rem;
}

.input-group-icon input.form-control:first-child,
.input-group-icon input.form-control:last-child,
input.form-control {
    border-radius: 18px;
}

.input-group-icon .input-group-addon span.icon {
    padding: 16px 18px;
    color: var(--auth-muted);
}

.input-group-icon input.form-control {
    padding-right: 46px;
}

.pwd-field-wrap {
    display: flex;
    align-items: stretch;
}

.pwd-field-wrap .input-group {
    flex: 1;
    min-width: 0;
}

.pwd-field-wrap .password-toggle {
    flex: 0 0 46px;
    margin-left: -46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--auth-muted);
    position: relative;
    z-index: 10;
}

.form-control:focus {
    border-color: rgba(124, 92, 255, 0.48);
    box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.16);
}

.forgot-text {
    padding: 4px 6px 12px;
    color: var(--auth-muted);
}

.forgot-text a {
    color: var(--auth-accent-2);
    font-weight: 600;
}

.btn-round {
    margin-top: 18px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--auth-accent), #5b8cff);
    color: #fff;
    border: 0;
    box-shadow: 0 18px 34px rgba(124, 92, 255, 0.28);
}

.btn-round:hover,
.btn-round:focus,
.btn-round:active {
    background: linear-gradient(135deg, #6b4fff, #4f8cf7);
    color: #fff;
}

.sign-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sign-footer p {
    margin: 0 !important;
    color: var(--auth-muted) !important;
    font-size: 0.95rem;
    text-align: left;
    word-break: break-word;
}

.auth-meta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.auth-meta-card {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-meta-card strong {
    display: block;
    margin-bottom: 6px;
    color: #fff;
}

.auth-meta-card span {
    color: var(--auth-muted);
    font-size: 0.95rem;
}

.forgot-header {
    color: var(--auth-muted);
    padding: 12px 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
}

.forgot-header h4 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 8px;
}

.alert-msg {
    color: #bff7d4;
    padding: 10px 14px;
    margin-top: -8px;
    margin-bottom: 14px;
    border: 1px solid rgba(34, 197, 94, 0.34);
    border-radius: 16px;
    background: rgba(34, 197, 94, 0.08);
    text-align: center;
}

.alert-msg.danger {
    color: #ffd5d9;
    border-color: rgba(255, 122, 138, 0.34);
    background: rgba(255, 122, 138, 0.1);
}

@media (max-width: 991px) {

    .image-area,
    .sign-area {
        min-height: auto;
    }

    .image-area .content,
    .sign-area {
        padding: 30px 24px;
    }

    .slideIn {
        gap: 18px;
    }
}

@media (max-width: 767px) {
    .auth-main {
        padding: 18px 10px 32px;
    }

    .image-area .content {
        text-align: center;
        align-items: center;
    }

    .auth-hero-copy,
    .content .address {
        max-width: none;
    }

    .image-area .image-hader h2 {
        font-size: 2.9rem;
    }

    .sign-hader {
        text-align: center;
    }

    .sign-hader h2 {
        font-size: 2rem;
    }

    .auth-meta-row {
        grid-template-columns: 1fr;
    }

    .sign-footer p {
        text-align: center;
    }
}