/* Main Layout */
.auth-wrapper {
    min-height: 100vh;
    background: var(--white);
}

.left-side {
    background: linear-gradient(180deg, var(--gradient-dark-start) 0%, var(--gradient-dark-end) 100%);
    color: var(--white);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge-custom {
    background: var(--primary);
    color: var(--black);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-title span {
    color: var(--primary);
}

.hero-text {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    max-width: 420px;
    margin-bottom: 50px;
}

.feature-box {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.feature-icon {
    min-width: 44px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 18px;
}

.feature-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--white);
}

.feature-desc {
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.6;
    max-width: 360px;
}

.users-joined {
    margin-top: 40px;
    border-top: 1px solid var(--white-10);
    padding-top: 28px;
    display: flex;
    align-items: center;
}

.users-joined img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--black-hover);
    margin-left: -12px;
    object-fit: cover;
}

.users-joined img:first-child {
    margin-left: 0;
}

.joined-text {
    margin-left: 20px;
    font-size: 13px;
    color: var(--white);
}


/* Right Panel */

.right-side {
    background: var(--white);
    padding: 50px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-card {
    position: relative;
    width: 100%;
    /* max-width:520px; */
}

.language {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

.language form {
    position: relative;
    display: flex;
    align-items: center;
}

.language select {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 28px 6px 12px;
    cursor: pointer;
    outline: none;
    font-family: inherit;
    letter-spacing: 0.3px;
}

body:not(.light-mode) .language select {
    color: var(--text-dark);
}

.language select:hover {
    border-color: var(--primary);
}

.language select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-15);
}

.language i {
    position: absolute;
    right: 10px;
    pointer-events: none;
    color: var(--text-gray);
    font-size: 11px;
}

.form-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 32px;
}

.account-tabs {
    background: var(--bg-tabs);
    border-radius: 10px;
    padding: 4px;
    display: flex;
    margin-bottom: 32px;
}

.account-tabs button {
    width: 50%;
    border: none;
    background: transparent;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-tab-inactive);
    transition: all 0.2s ease;
}

.account-tabs .active {
    background: var(--white);
    color: var(--black);
    font-weight: 700;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    height: 42px;
    font-size: 14px;
    color: var(--text-dark);
    padding: 0 16px;
    transition: all 0.2s ease;
    background: var(--white);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-15);
    outline: none;
    color: var(--text-dark);
}

.form-control::placeholder {
    color: var(--placeholder);
}

body:not(.light-mode) .form-control,
body:not(.light-mode) .form-control:focus {
    color: var(--text-dark);
    background: var(--white);
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--placeholder);
    font-size: 15px;
    pointer-events: none;
}

.input-icon-wrapper .form-control {
    padding-left: 44px;
}

.register-btn {
    background: var(--black);
    color: var(--white);
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    margin-top: 16px;
    transition: all 0.2s ease;
}

.register-btn:hover {
    background: var(--black-hover);
    transform: translateY(-1px);
}

.register-btn:active {
    transform: translateY(0);
}

.divider {
    text-align: center;
    position: relative;
    margin: 32px 0;
    color: var(--text-gray);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.divider:before,
.divider:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: var(--border-color);
}

.divider:before {
    left: 0;
}

.divider:after {
    right: 0;
}

.social-btn {
    border: 1px solid var(--border-color);
    background: var(--white);
    height: 42px;
    border-radius: 8px;
    width: 100%;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-social);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.social-btn:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.social-btn i {
    font-size: 16px;
}

.terms {
    font-size: 12px;
    color: var(--text-gray);
    text-align: center;
    margin-top: 24px;
    line-height: 1.5;
}

.terms a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

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

.login-link {
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
}

.login-link a {
    color: var(--black);
    font-weight: 700;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

@media(max-width:991px) {
    .left-side {
        display: none;
    }

    .right-side {
        padding: 25px;
    }

    .form-title {
        font-size: 28px;
    }
}