.auth-body {
    background-color: #FBFBFB;
    /* White background to ensure top-right sidebar curve reveals white */
    font-family: 'Inter', 'IBM Plex Sans Thai', sans-serif;
    overflow-x: hidden;
}

.auth-left-sidebar {
    position: relative;
    width: 740px;
    min-height: 100vh;
    background: linear-gradient(156.12deg, #C1D3FF 0%, #5E8CFF 50%, #3C538D 100%) fixed;
    border-radius: 0px 120px 0px 0px;
    z-index: 3;
}

.auth-left-sidebar::after {
    content: '';
    position: absolute;
    right: -120px;
    bottom: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(156.12deg, #C1D3FF 0%, #5E8CFF 50%, #3C538D 100%) fixed;
    z-index: -1;
    pointer-events: none;
}

.auth-right-content {
    background: #FBFBFB;
    border-radius: 0px 0px 0px 120px;
    min-height: 100vh;
    z-index: 4;
}

.logo-oneclick {
    font-family: 'TT Bluescreens', 'Inter', sans-serif;
    font-size: 36px;
    letter-spacing: 2px;
    line-height: 1;
    text-transform: uppercase;
    color: #FFFFFF;
}

.logo-oneclick .text-one {
    font-weight: bold;
    margin-right: 4px;
}

.logo-oneclick .text-click {
    font-weight: normal;
}

.glass-card-form {
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.05), 0px 4px 12px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 20px;
    padding: 48px;
}

.custom-input {
    box-sizing: border-box;
    height: 56px;
    background: rgba(248, 250, 252, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    font-size: 16px;
    color: #1E293B;
    transition: all 0.3s ease;
}

.custom-input:focus {
    background: #ffffff;
    border-color: #3C538D;
    box-shadow: 0 0 0 4px rgba(60, 83, 141, 0.1);
}

.custom-input::placeholder {
    color: #C3C6D7;
}

.btn-signin {
    height: 56px;
    background: linear-gradient(95.01deg, #3C538D -56.75%, #2E5CCF 90.14%);
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-signin:hover {
    background: linear-gradient(95.01deg, #324677 -56.75%, #234EA8 90.14%);
    transform: translateY(-1px);
    box-shadow: 0px 8px 20px rgba(58, 83, 141, 0.25);
}

#password-addon {
    color: #737686 !important;
    transition: color 0.2s ease;
}

#password-addon:hover {
    color: #434655 !important;
}

@media (max-width: 991.98px) {
    .auth-right-content {
        border-radius: 0;
    }
}

/* Registration Page Styles */
.register-banner {
    background: linear-gradient(156.12deg, #C1D3FF 0%, #5E8CFF 50%, #3C538D 100%);
    padding: 80px 20px 160px 20px;
    position: relative;
    overflow: hidden;
}

.white-card-form {
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.05), 0px 4px 12px rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    padding: 48px;
}

.btn-back {
    height: 56px;
    border: 1px solid #CBD5E1;
    border-radius: 14px;
    padding: 0 32px;
    font-size: 16px;
    font-weight: 600;
    color: #475569;
    background-color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background-color: #F8FAFC !important;
    border-color: #94A3B8 !important;
    color: #1E293B !important;
    transform: translateY(-1px);
}

.section-title {
    font-family: 'IBM Plex Sans Thai';
    font-size: 20px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}

.form-label-custom {
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    margin-bottom: 8px;
    font-family: 'IBM Plex Sans Thai', 'Inter', sans-serif;
}

/* Home Page (System Selector) Styles */
.home-body {
    background-color: #FAFCFF;
    font-family: 'Inter', 'IBM Plex Sans Thai', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.header-profile {
    padding: 24px 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}
.profile-text {
    text-align: right;
    line-height: 1.4;
}
.profile-email {
    font-size: 14px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 2px;
}
.profile-name {
    font-size: 12px;
    color: #64748B;
}
.profile-avatar {
    width: 44px;
    height: 44px;
    background: #E2E8F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
}
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    padding: 40px 20px;
}
.logo-home {
    font-family: 'TT Bluescreens', 'Inter', sans-serif;
    font-size: 80px;
    letter-spacing: 4px;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.logo-home .text-one {
    font-weight: 800;
    color: #3C538D;
}
.logo-home .text-click {
    font-weight: 400;
    color: #131B2E;
}
.welcome-title {
    font-size: 32px;
    font-weight: 700;
    color: #3C538D;
    margin-bottom: 8px;
    font-family: 'IBM Plex Sans Thai', sans-serif;
}
.welcome-subtitle {
    font-size: 18px;
    color: #64748B;
    margin-bottom: 48px;
    font-family: 'IBM Plex Sans Thai', sans-serif;
}
.system-cards-row {
    display: flex;
    gap: 24px;
    justify-content: center;
    width: 100%;
    max-width: 1050px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}
.system-card {
    width: 320px;
    max-width: 100%;
    height: 260px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    padding: 24px;
}
.card-text-container {
    width: 100%;
    height: 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.system-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 16px 36px rgba(60, 83, 141, 0.1);
}
/* Card 1: OneClick */
.card-oneclick {
    background-color: #F4F7FF;
}
.card-oneclick:hover {
    border-color: #C1D3FF;
}
.icon-oneclick {
    width: 64px;
    height: 64px;
    background-color: #3C538D;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 28px;
    margin-bottom: 20px;
    box-shadow: 0px 8px 16px rgba(60, 83, 141, 0.2);
}
.title-oneclick {
    font-size: 18px;
    font-weight: 700;
    color: #1E2E5C;
    font-family: 'IBM Plex Sans Thai', sans-serif;
}
/* Card 2: Billing */
.card-billing {
    background-color: #EBF8F5;
}
.card-billing:hover {
    border-color: #B2E5D9;
}
.icon-billing {
    width: 64px;
    height: 64px;
    background-color: #0A7859;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 28px;
    margin-bottom: 20px;
    box-shadow: 0px 8px 16px rgba(10, 120, 89, 0.2);
}
.title-billing {
    font-size: 18px;
    font-weight: 700;
    color: #0A7859;
    font-family: 'IBM Plex Sans Thai', sans-serif;
}
/* Card 3: Issue Management */
.card-issue {
    background-color: #FFF5EE;
}
.card-issue:hover {
    border-color: #FDD5BF;
}
.icon-issue {
    width: 64px;
    height: 64px;
    background-color: #F15C11;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 28px;
    margin-bottom: 20px;
    box-shadow: 0px 8px 16px rgba(241, 92, 17, 0.2);
}
.title-issue {
    font-size: 18px;
    font-weight: 700;
    color: #B43F06;
    margin-bottom: 4px;
    font-family: 'Inter', 'IBM Plex Sans Thai', sans-serif;
    white-space: nowrap;
}
.subtitle-issue {
    font-size: 12px;
    color: #EA580C;
    font-family: 'IBM Plex Sans Thai', sans-serif;
}
/* Logout Button */
.btn-logout {
    height: 48px;
    border: 1.5px solid #3C538D;
    border-radius: 12px;
    padding: 0 32px;
    font-size: 16px;
    font-weight: 600;
    color: #3C538D;
    background-color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 12px rgba(60, 83, 141, 0.05);
    font-family: 'IBM Plex Sans Thai', sans-serif;
}
.btn-logout:hover {
    background-color: #F0F4FF;
    border-color: #2E4070;
    color: #2E4070;
    transform: translateY(-1px);
    box-shadow: 0px 8px 20px rgba(60, 83, 141, 0.15);
}