/* ================================================================
   I-TOM - Authentication Pages (Jampack style)
   ================================================================ */

.auth-wrapper {
    min-height: 100vh;
    display: flex;
}

.auth-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: var(--white);
}

.auth-right {
    flex: 1;
    background: linear-gradient(135deg, #e0f5f4 0%, #f0faf9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.auth-right::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(var(--primary-rgb), 0.08);
    border-radius: 50%;
    top: -50px;
    right: -50px;
}

.auth-right::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(var(--primary-rgb), 0.05);
    border-radius: 50%;
    bottom: -30px;
    left: -30px;
}

.auth-form-container { width: 100%; max-width: 380px; }

.auth-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
}

.auth-logo img { height: 40px; }

.auth-logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.auth-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

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

.auth-form .form-group { margin-bottom: 20px; }

.auth-form .form-control {
    padding: 10px 14px;
    font-size: 14px;
}

.auth-form .btn {
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 13px;
}

.auth-options a { color: var(--primary); font-weight: 500; }

.auth-right-content {
    text-align: center;
    z-index: 1;
    max-width: 400px;
}

.auth-right-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.auth-right-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.auth-illustration {
    width: 280px;
    height: 280px;
    margin: 32px auto 0;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-illustration .shield-icon {
    font-size: 80px;
    color: var(--primary);
}

.auth-footer {
    text-align: center;
    margin-top: 32px;
    font-size: 12px;
    color: var(--text-muted);
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .auth-right { display: none; }
    .auth-left { padding: 24px; }
}
