/* ==================== FONTS ==================== */
@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

/* ==================== BASE STYLES ==================== */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    height: 100%;
    background: #FFFFFF;
}

/* ==================== LOGIN CONTAINER ==================== */
.login-container {
    display: flex;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    background: #FFFFFF;
    border-radius: 10px;
}

.login-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: #FFFFFF;
    position: relative;
    padding: 0 60px;
    overflow-x: hidden;
    overflow-y: auto;
}

.login-content {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100%;
    padding-bottom: 32px;
    box-sizing: border-box;
    gap: 24px;
}

.login-right {
    flex: 1;
    position: relative;
}

/* ==================== LANGUAGE BUTTON ==================== */
.language-button-container {
    position: absolute;
    top: 18px;
    right: 24px;
    z-index: 1200;
}

.language-btn {
    position: relative;
    z-index: 1201;
    width: 165px;
    height: 40px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.8);
    border: 0.67px solid #E5E7EB;
    box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    padding: 0 16px;
    box-sizing: border-box;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.95);
}

.language-icon-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.language-icon-label img {
    width: 20px;
    height: 20px;
}

.language-icon-label span {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #374151;
}

.language-box-container {
    position: relative;
    z-index: 1000;
}

.language-box {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 155px;
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    padding: 4px 0;
}

.language-option {
    padding: 10px 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #374151;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.15s ease;
}

.language-option:hover {
    background-color: #F3F4F6;
}

.language-option.selected {
    background-color: #EFF6FF;
    color: #083050;
    font-weight: 500;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 999;
}

/* ==================== LOGO ==================== */
.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 93px;
    margin-bottom: 64px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    width: 400px;
    height: 158px;
    object-fit: contain;
}

/* ==================== TITLE ==================== */
.titleclass {
    width: 276px;
    margin-bottom: 83px;
    text-align: center;
}

.login-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    color: #000000;
    margin: 0;
}

/* ==================== FORM ==================== */
.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 420px;
}

.form-group {
    width: 369px;
    margin-bottom: 16px;
}

.form-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000000;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
}

.required-indicator {
    color: #D92A2A;
    font-size: 20px;
    margin-left: 2px;
    font-weight: 400;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.form-control-username {
    width: 369px;
    height: 50px;
    padding: 0 40px 0 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000000;
    border: 2px solid #083050;
    border-radius: 10px;
    background-color: #FFFFFF;
    box-sizing: border-box;
}

.form-control-username::placeholder {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    color: #6B7280;
    text-align: left;
}

.form-control-username:focus {
    outline: none;
    border: 2px solid #083050;
    box-shadow: none;
}

.clear-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    font-size: 20px;
    color: #6B7280;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-btn:hover {
    color: #374151;
}

.input-error {
    border: 2px solid #E76F51 !important;
}

.form-error {
    margin-top: 8px;
    text-align: center;
    color: #E76F51;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0;
}

.support-email-inline {
    text-align: left;
}

/* ==================== LOGIN BUTTON ==================== */
.login-button {
    width: 176px;
    height: 50px;
    border-radius: 60px;
    background-color: #083050;
    color: #FFFFFF;
    border: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    cursor: pointer;
    display: block;
    margin: 32px auto 0 auto;
    padding: 0;
}

.login-button:hover {
    background-color: #0a3d66;
}

/* ==================== SUPPORT CENTER ==================== */
.support-center {
    width: 448px;
    margin-top: 125px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.support-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    text-align: center;
    color: #6B7280;
    margin: 0;
}

.support-options {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.support-email-hint {
    width: 100%;
    max-width: 448px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
    color: #B45309;
    background-color: #FFFBEB;
    border: 1px solid #FCD34D;
    border-radius: 6px;
    padding: 8px 12px;
}

.support-btn {
    width: 448px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    text-align: center;
    color: #083050;
}

.support-btn:hover {
    background-color: #F9FAFB;
    border-color: #D1D5DB;
}

.support-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.support-separator {
    width: 448px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.separator-line {
    flex: 1;
    height: 1px;
    background-color: #E5E7EB;
}

.separator-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    color: #6B7280;
}

/* Legacy support-link class (kept for compatibility) */
.support-link {
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #083050;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    padding: 4px 0;
    text-decoration: none;
}

.support-link:hover {
    text-decoration: underline;
}

/* ==================== CAROUSEL ==================== */
.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* ==================== SUPPORT MODAL ==================== */
.support-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 16px;
    overflow-y: auto;
    z-index: 2000;
}

.support-modal-box {
    width: 756px;
    max-width: min(756px, 100%);
    margin: auto 0;
    background: #FFFFFF;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.support-modal-header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.support-modal-header {
    width: 100%;
    height: 117px;
    background: linear-gradient(180deg, #083050 0%, #105583 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.support-modal-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 27px;
    line-height: 36px;
    color: #FFFFFF;
}

.support-modal-close {
    width: 40.5px;
    height: 40.5px;
    border-radius: 9px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 9px;
}

.support-modal-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15.75px;
    line-height: 22.5px;
    color: rgba(255, 255, 255, 0.8);
}

.support-modal-body {
    width: 100%;
    padding: 27px 36px;
    display: flex;
    flex-direction: column;
    gap: 22.5px;
    box-sizing: border-box;
}

.support-modal-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.support-modal-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.support-modal-icon {
    width: 18px;
    height: 18px;
}

.support-modal-label-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15.75px;
    line-height: 22.5px;
    color: #374151;
}

.support-modal-required {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15.75px;
    line-height: 22.5px;
    color: #FB2C36;
}

.support-modal-optional {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    line-height: 18px;
    color: #9CA3AF;
}

.support-modal-input {
    width: 100%;
    height: 49.5px;
    border: 0.75px solid #D1D5DB;
    border-radius: 7px;
    background: #F9FAFB;
    padding: 4.5px 13.5px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15.75px;
    line-height: 100%;
    color: #374151;
    box-sizing: border-box;
}

.support-modal-input::placeholder {
    color: #6B7280;
}

.support-modal-input:focus {
    outline: none;
    border: 1px solid #083050;
}

.support-modal-textarea {
    width: 100%;
    height: 90px;
    border: 0.75px solid #D1D5DB;
    border-radius: 7px;
    background: #F9FAFB;
    padding: 9px 13.5px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15.75px;
    line-height: 22.5px;
    color: #374151;
    resize: none;
    box-sizing: border-box;
}

.support-modal-textarea::placeholder {
    color: #6B7280;
}

.support-modal-textarea:focus {
    outline: none;
    border: 1px solid #083050;
}

/* Security Check */
.support-modal-security-box {
    width: 369px;
    height: 50px;
    border: 1px solid #D1D5DB;
    border-radius: 10px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.support-modal-security-input {
    flex: 1;
    min-width: 120px;
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #374151;
    padding: 0 12px;
    height: 100%;
}

.support-modal-security-input:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.support-modal-captcha {
    width: 120px;
    height: 100%;
    background: #CFD6DC;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.support-modal-captcha-char {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 30px;
    color: #334155;
    display: inline-block;
    margin: 0 2px;
}

.support-modal-captcha-char.up {
    transform: translateY(-3px) rotate(-5deg);
}

.support-modal-captcha-char.down {
    transform: translateY(3px) rotate(5deg);
}

.support-modal-captcha-cross {
    position: absolute;
    width: 100%;
    border-top: 1px solid #939598;
    transform: rotate(8deg);
}

.support-modal-captcha-refresh {
    width: 50px;
    height: 100%;
    border: none;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.support-modal-captcha-refresh img {
    width: 21px;
    height: 15.5px;
}

/* Upload Image */
.support-modal-upload-box {
    width: 100%;
    height: 118px;
    border: 1.5px dashed #D1D5DB;
    border-radius: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    padding: 12px;
    box-sizing: border-box;
    cursor: pointer;
}

.support-modal-upload-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 4px;
}

.support-modal-upload-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15.75px;
    line-height: 22.5px;
    color: #083050;
    text-align: center;
    margin: 0;
}

.support-modal-upload-secondary {
    font-weight: 400;
    color: #4B5563;
}

.support-modal-upload-hint {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13.5px;
    line-height: 18px;
    color: #9CA3AF;
    text-align: center;
    margin: 0;
}

.support-modal-upload-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.support-modal-actions {
    width: 100%;
    display: flex;
    gap: 12px;
    padding: 16px 36px 27px;
    justify-content: flex-end;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.support-modal-button-cancel,
.support-modal-button-clear,
.support-modal-button-submit {
    width: 150px;
    height: 46px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    padding: 0 12px;
    box-sizing: border-box;
}

.support-modal-button-clear {
    margin-right: auto;
    border: 1.5px solid #D1D5DB;
    background: #FFFFFF;
}

.support-modal-button-cancel {
    border: 1.5px solid #D1D5DB;
    background: #FFFFFF;
}

.support-modal-button-submit {
    background: #083050;
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: none;
}

.support-modal-button-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
}

.support-modal-button-clear .support-modal-button-text,
.support-modal-button-cancel .support-modal-button-text {
    color: #111827;
}

.support-modal-button-submit .support-modal-button-text {
    color: #FFFFFF;
}

.support-modal-button-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.support-modal-button-cancel .support-modal-button-icon {
    width: 16px;
    height: 16px;
}

.support-modal-button-cancel:disabled,
.support-modal-button-clear:disabled,
.support-modal-button-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.support-modal-message {
    width: calc(100% - 72px);
    margin: 0 36px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 22px;
    border-radius: 6px;
    padding: 10px 14px;
    text-align: center;
}

.support-modal-message.success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.support-modal-message.error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.support-modal-box.form-disabled .support-modal-body {
    opacity: 0.5;
    pointer-events: none;
}

.support-modal-box.form-disabled .support-modal-input,
.support-modal-box.form-disabled .support-modal-textarea,
.support-modal-box.form-disabled .support-modal-security-box,
.support-modal-box.form-disabled .support-modal-upload-box {
    background: #E5E7EB;
}

/* Uploaded files */
.uploaded-files {
    margin-top: 10px;
}

.uploaded-file {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F3F4F6;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 4px;
    font-size: 14px;
}

.remove-file {
    background: transparent;
    border: none;
    color: #DC2626;
    font-size: 16px;
    cursor: pointer;
    padding: 0 4px;
}

.upload-error {
    color: #DC2626;
    margin-top: 8px;
    font-size: 14px;
}

/* ==================== RESPONSIVE MEDIA QUERIES ==================== */

/* Extra large screens (1600px+) - Figma reference */
@media (min-width: 1600px) {
    .logo-wrapper {
        margin-top: 93px;
        margin-bottom: 64px;
    }
    
    .logo-icon {
        width: 400px;
        height: 158px;
    }
    
    .titleclass {
        margin-bottom: 83px;
    }
    
    .support-center {
        margin-top: 125px;
    }
}

/* Large screens (1366px - 1599px) */
@media (max-width: 1599px) and (min-width: 1366px) {
    .logo-wrapper {
        margin-top: 70px;
        margin-bottom: 70px;
    }
    
    .logo-icon {
        width: 350px;
        height: auto;
    }
    
    .titleclass {
        margin-bottom: 135px;
    }
    
    .support-center {
        margin-top: 80px;
        margin-bottom: 24px;
    }

    .support-label {
        margin: 0 0 18px 0;
    }

    .support-options {
        gap: 16px;
    }

    .login-form {
        margin-top: 28px;
    }

    .login-form .form-group:first-of-type {
        margin-top: 32px;
    }
}

/* Medium-large screens (1200px - 1365px) */
@media (max-width: 1365px) and (min-width: 1200px) {
    .login-left {
        padding: 0 48px;
        padding-bottom: 40px;
    }

    .login-content {
        min-height: calc(100vh - 80px);
        justify-content: space-between;
        gap: 20px;
        padding-bottom: 24px;
    }

    .logo-wrapper {
        margin-top: 48px;
        margin-bottom: 32px;
    }
    
    .logo-icon {
        width: 320px;
        height: auto;
    }
    
    .titleclass {
        margin-bottom: 36px;
    }
    
    .login-title {
        font-size: 22px;
    }
    
    .form-group {
        width: 340px;
    }
    
    .form-control-username {
        width: 340px;
        height: 46px;
    }
    
    .login-button {
        width: 160px;
        height: 46px;
        font-size: 18px;
    }
    
    .support-center {
        width: 400px;
        margin-top: 36px;
        margin-bottom: 20px;
    }
    
    .support-btn {
        width: 400px;
    }
    
    .support-separator {
        width: 400px;
    }

    .version-info {
        margin-top: 20px;
        margin-bottom: 16px;
    }
}

/* Medium screens (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .logo-wrapper {
        margin-top: 50px;
        margin-bottom: 32px;
    }
    
    .logo-icon {
        width: 280px;
        height: auto;
    }
    
    .titleclass {
        margin-bottom: 40px;
    }
    
    .login-title {
        font-size: 20px;
    }
    
    .form-group {
        width: 320px;
    }
    
    .form-control-username {
        width: 320px;
        height: 44px;
        font-size: 15px;
    }
    
    .form-label {
        font-size: 18px;
    }
    
    .required-indicator {
        font-size: 18px;
    }
    
    .login-button {
        width: 150px;
        height: 44px;
        font-size: 17px;
    }
    
    .support-center {
        width: 360px;
        margin-top: 40px;
        margin-bottom: 28px;
    }
    
    .support-btn {
        width: 360px;
        height: 38px;
        font-size: 13px;
    }
    
    .support-separator {
        width: 360px;
    }
    
    .language-btn {
        width: 140px;
        height: 36px;
    }
    
    .language-box {
        width: 140px;
    }
}

/* Tablet screens (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .login-content {
        min-height: auto;
        justify-content: flex-start;
        gap: 20px;
        padding-bottom: 28px;
    }
    .login-left {
        padding: 0 40px;
        padding-bottom: 48px;
    }
    
    .logo-wrapper {
        margin-top: 40px;
        margin-bottom: 28px;
    }
    
    .logo-icon {
        width: 240px;
        height: auto;
    }
    
    .titleclass {
        width: auto;
        margin-bottom: 32px;
    }
    
    .login-title {
        font-size: 20px;
    }
    
    .form-group {
        width: 300px;
    }
    
    .form-control-username {
        width: 300px;
        height: 44px;
        font-size: 14px;
    }
    
    .form-label {
        font-size: 16px;
    }
    
    .required-indicator {
        font-size: 16px;
    }
    
    .login-button {
        width: 140px;
        height: 42px;
        font-size: 16px;
    }
    
    .support-center {
        width: 320px;
        margin-top: 32px;
        margin-bottom: 32px;
    }
    
    .support-label {
        font-size: 13px;
    }
    
    .support-btn {
        width: 320px;
        height: 36px;
        font-size: 13px;
    }
    
    .support-separator {
        width: 320px;
    }
    
    .language-button-container {
        top: 15px;
        right: 15px;
    }
    
    .language-btn {
        width: 130px;
        height: 34px;
        font-size: 13px;
    }
    
    .language-icon-label span {
        font-size: 13px;
    }
    
    .language-box {
        width: 130px;
    }
}

/* Small tablet / Large mobile (576px - 767px) */
@media (max-width: 767px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-left {
        width: 100%;
        min-height: 100vh;
        padding: 30px 24px;
        padding-bottom: 56px;
        box-sizing: border-box;
    }

    .login-content {
        min-height: auto;
        justify-content: flex-start;
        gap: 20px;
        padding-bottom: 32px;
    }
    
    .login-right {
        display: none;
    }
    
    .logo-wrapper {
        margin-top: 60px;
        margin-bottom: 24px;
    }
    
    .logo-icon {
        width: 260px;
        height: auto;
    }
    
    .titleclass {
        width: auto;
        margin-bottom: 32px;
    }
    
    .login-title {
        font-size: 22px;
    }
    
    .login-form {
        width: 100%;
        max-width: 369px;
    }
    
    .form-group {
        width: 100%;
    }
    
    .form-control-username {
        width: 100%;
        height: 48px;
        font-size: 15px;
    }
    
    .form-label {
        font-size: 18px;
    }
    
    .required-indicator {
        font-size: 18px;
    }
    
    .login-button {
        width: 160px;
        height: 46px;
        font-size: 18px;
    }
    
    .support-center {
        width: 100%;
        max-width: 369px;
        margin-top: 60px;
        margin-bottom: 32px;
    }
    
    .support-btn {
        width: 100%;
    }
    
    .support-separator {
        width: 100%;
    }
    
    .language-button-container {
        top: 12px;
        right: 12px;
    }
    
    .language-btn {
        width: 130px;
        height: 34px;
    }
    
    .language-icon-label span {
        font-size: 13px;
    }
    
    .language-box {
        width: 130px;
    }
    
    /* Support modal adjustments */
    .support-modal-box {
        width: 95%;
        max-width: 600px;
        max-height: 90vh;
    }
    
    .support-modal-body {
        padding: 20px 24px;
    }
    
    .support-modal-actions {
        padding: 16px 24px 20px;
    }
    
    .support-modal-button-cancel,
    .support-modal-button-clear,
    .support-modal-button-submit {
        width: auto;
        min-width: 100px;
        max-width: 140px;
        height: 42px;
        font-size: 13px;
    }
}

/* Mobile screens (max 575px) */
@media (max-width: 575px) {
    .login-left {
        padding: 20px 16px;
    }

    .login-content {
        padding-bottom: 24px;
    }
    
    .logo-wrapper {
        margin-top: 50px;
        margin-bottom: 20px;
    }
    
    .logo-icon {
        width: 220px;
        height: auto;
    }
    
    .titleclass {
        margin-bottom: 28px;
    }
    
    .login-title {
        font-size: 20px;
    }
    
    .form-label {
        font-size: 16px;
    }
    
    .required-indicator {
        font-size: 16px;
    }
    
    .form-control-username {
        height: 46px;
        font-size: 14px;
    }
    
    .login-button {
        width: 140px;
        height: 44px;
        font-size: 16px;
    }
    
    .support-center {
        margin-top: 48px;
    }
    
    .support-label {
        font-size: 13px;
    }
    
    .support-btn {
        height: 38px;
        font-size: 13px;
    }
    
    .language-button-container {
        top: 10px;
        right: 10px;
    }
    
    .language-btn {
        width: 115px;
        height: 32px;
        padding: 0 10px;
    }
    
    .language-icon-label img {
        width: 16px;
        height: 16px;
    }
    
    .language-icon-label span {
        font-size: 12px;
    }
    
    .language-box {
        width: 115px;
    }
    
    .language-option {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    /* Support modal mobile */
    .support-modal-box {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .support-modal-header {
        height: auto;
        min-height: 80px;
        padding: 16px;
    }
    
    .support-modal-title {
        font-size: 20px;
        line-height: 28px;
    }
    
    .support-modal-subtitle {
        font-size: 13px;
        line-height: 18px;
    }
    
    .support-modal-body {
        padding: 16px;
        gap: 16px;
    }
    
    .support-modal-input {
        height: 44px;
        font-size: 14px;
    }
    
    .support-modal-textarea {
        height: 80px;
        font-size: 14px;
    }
    
    .support-modal-security-box {
        width: 100%;
        height: 44px;
    }
    
    .support-modal-upload-box {
        height: 100px;
    }
    
    .support-modal-actions {
        padding: 12px 16px 20px;
        flex-direction: column;
        gap: 10px;
    }
    
    .support-modal-button-cancel,
    .support-modal-button-clear,
    .support-modal-button-submit {
        width: 100%;
        max-width: 100%;
        min-width: unset;
        height: 44px;
    }
    
    .support-modal-button-clear {
        margin-right: 0;
        order: 1;
    }
    
    .support-modal-button-cancel {
        order: 2;
    }
    
    .support-modal-button-submit {
        order: 3;
    }
    
    .support-modal-message {
        width: calc(100% - 32px);
        margin: 0 16px 12px;
    }
}

/* Height-based media queries for short viewports */
@media (max-height: 900px) {
    .logo-wrapper {
        margin-top: 60px;
        margin-bottom: 28px;
    }

    .titleclass {
        margin-bottom: 48px;
    }

    .support-center {
        margin-top: 70px;
    }

    .login-content {
        padding-bottom: 24px;
    }
}

@media (max-height: 800px) {
    .logo-wrapper {
        margin-top: 32px;
        margin-bottom: 18px;
    }
    
    .logo-icon {
        width: 260px;
        height: auto;
    }
    
    .titleclass {
        margin-bottom: 26px;
    }
    
    .support-center {
        margin-top: 48px;
    }

    .version-info {
        margin-top: 20px;
    }
}

@media (max-height: 700px) {
    .logo-wrapper {
        margin-top: 30px;
        margin-bottom: 20px;
    }
    
    .logo-icon {
        width: 240px;
        height: auto;
    }
    
    .titleclass {
        margin-bottom: 24px;
    }
    
    .login-button {
        margin-top: 24px;
    }
    
    .support-center {
        margin-top: 32px;
    }
}

@media (max-height: 600px) {
    .logo-wrapper {
        margin-top: 20px;
        margin-bottom: 16px;
    }
    
    .logo-icon {
        width: 200px;
        height: auto;
    }
    
    .titleclass {
        margin-bottom: 20px;
    }
    
    .login-button {
        margin-top: 20px;
        height: 42px;
    }
    
    .support-center {
        margin-top: 24px;
    }
}

/* ==================== VERSION INFO ==================== */
.version-info {
    width: 758px;
    max-width: 100%;
    margin-top: auto;
    margin-bottom: 24px;
    padding: 24px 12px 0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 16.5px;
    letter-spacing: 0.28px;
    text-align: center;
    color: rgba(8, 48, 80, 0.6); /* #08305099 */
    flex-shrink: 0;
}

/* Version info responsive styles */
@media (max-width: 1365px) and (min-width: 1200px) {
    .version-info {
        width: 600px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .version-info {
        width: 500px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .version-info {
        width: 400px;
        font-size: 10px;
    }
}

@media (max-width: 767px) {
    .version-info {
        width: 100%;
        max-width: 369px;
        font-size: 10px;
    }
}

@media (max-width: 575px) {
    .version-info {
        font-size: 9px;
    }
}
