.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #ffffff;
}

/* ซ้าย */
.auth-left-panel {
    background: linear-gradient(135deg, #e8f8f1 0%, #f0fdf4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.auth-left-content {
    max-width: 440px;
    text-align: center;
}

.auth-illustration-box {
    width: 300px;
    height: 230px;
    margin: 0 auto 36px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-illustration {
    width: 180px;
    max-width: 100%;
    height: auto;
}

.auth-left-title {
    font-size: 30px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 14px;
}

.auth-left-description {
    font-size: 15px;
    line-height: 1.8;
    color: #4b5563;
    margin: 0 auto;
}

.auth-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.auth-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #bbf7d0;
}

.auth-dots span.active {
    background: #10b981;
}

/* ขวา */
.auth-right-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: #ffffff;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 420px;
}

.auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.auth-brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-brand-icon img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
}

.auth-brand-text {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
}

.brand-accent {
    color: #10b981;
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 6px;
}

.auth-header p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Form */
.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0 14px;
    font-size: 15px;
    outline: none;
}

.form-control:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14);
}

.form-text {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
}

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

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

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.input-icon img {
    width: 18px;
    height: 18px;
}

.auth-small-link {
    font-size: 13px;
    color: #059669;
    text-decoration: none;
}

.auth-small-link:hover {
    text-decoration: underline;
}

.auth-submit-btn {
    min-height: 50px;
    border-radius: 12px;
    border: 0;
    background: #111827;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
}

.auth-submit-btn:hover {
    background: #000000;
    color: #ffffff;
}

.auth-submit-btn span {
    margin-left: 6px;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 28px 0;
    color: #9ca3af;
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider span {
    padding: 0 14px;
}

.auth-admin-link {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}

.auth-admin-link a {
    color: #059669;
    font-weight: 700;
    text-decoration: none;
}

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

.auth-help-text {
    margin-top: 36px;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 992px) {
    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-left-panel {
        display: none;
    }

    .auth-right-panel {
        min-height: 100vh;
        padding: 28px 20px;
    }

    .auth-form-wrapper {
        max-width: 100%;
    }
}


.admin-auth-page .auth-left-panel {
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), transparent 34%),
        linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
}

.admin-auth-page .auth-dot.active {
    background: #2563eb;
}

.admin-auth-page .brand-accent {
    color: #2563eb;
}

.admin-auth-page .auth-submit-btn {
    background: #1e3a8a;
}

.admin-auth-page .auth-submit-btn:hover {
    background: #172554;
}


.admin-auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #ffffff;
    overflow: hidden;
}

/* Left */
.admin-auth-page .auth-left-panel {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 34%),
        linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    overflow: hidden;
}

.admin-auth-page .auth-left-content {
    width: 100%;
    max-width: 520px;
    text-align: center;
}

/* Horizontal Slider */
.admin-auth-page .auth-slider {
    width: 100%;
    overflow: hidden;
}

.admin-auth-page .auth-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100%;
    transition: transform 0.55s ease;
    will-change: transform;
}

.admin-auth-page .auth-slide {
    display: block !important;
    flex: 0 0 100% !important;
    min-width: 100% !important;
    width: 100% !important;
    padding: 0 12px;
}

.admin-auth-page .auth-illustration-box {
    width: 320px;
    height: 210px;
    margin: 0 auto 34px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-auth-page .auth-illustration {
    width: 170px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.admin-auth-page .auth-left-title {
    font-size: 30px;
    line-height: 1.35;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
}

.admin-auth-page .auth-left-description {
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
    max-width: 460px;
    margin: 0 auto;
}

/* Dots */
.admin-auth-page .auth-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.admin-auth-page .auth-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: #bfdbfe;
    cursor: pointer;
    transition: all 0.25s ease;
}

.admin-auth-page .auth-dot.active {
    width: 26px;
    background: #2563eb;
}

/* Right */
.admin-auth-page .auth-right-panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: #ffffff;
}

.admin-auth-page .auth-form-wrapper {
    width: 100%;
    max-width: 460px;
}

/* Brand */
.admin-auth-page .auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
}

.admin-auth-page .auth-brand-logo {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-auth-page .auth-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.admin-auth-page .auth-brand-text {
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    gap: 0;
    white-space: nowrap;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    color: #0f172a;
}

.admin-auth-page .auth-brand-text .brand-accent {
    color: #2563eb;
}

/* Header */
.admin-auth-page .auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.admin-auth-page .auth-header h2 {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.admin-auth-page .auth-header p {
    color: #64748b;
    margin-bottom: 0;
}

/* Form */
.admin-auth-page .form-label {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.admin-auth-page .form-control {
    min-height: 52px;
    border-radius: 14px;
    font-size: 15px;
}

.admin-auth-page .auth-submit-btn {
    min-height: 54px;
    border-radius: 14px;
    border: 0;
    background: #1e3a8a;
    color: #ffffff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.admin-auth-page .auth-submit-btn:hover {
    background: #172554;
    color: #ffffff;
}

/* Mobile */
@media (max-width: 992px) {
    .admin-auth-page {
        grid-template-columns: 1fr;
        overflow: auto;
    }

    .admin-auth-page .auth-left-panel {
        display: none;
    }

    .admin-auth-page .auth-right-panel {
        min-height: 100vh;
        padding: 28px 18px;
    }

    .admin-auth-page .auth-brand {
        flex-direction: column;
        gap: 10px;
    }

    .admin-auth-page .auth-brand-logo {
        width: 96px;
        height: 96px;
    }

    .admin-auth-page .auth-brand-text {
        font-size: 20px;
    }

    .admin-auth-page .auth-header h2 {
        font-size: 26px;
    }
}



.auth-left-panel {
    overflow: hidden;
}

.auth-left-content {
    width: 100%;
    max-width: 520px;
    text-align: center;
}

.auth-slider {
    width: 100%;
    overflow: hidden;
}

.auth-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100%;
    transition: transform 0.55s ease;
    will-change: transform;
}

.auth-slide {
    display: block !important;
    flex: 0 0 100% !important;
    min-width: 100% !important;
    width: 100% !important;
    padding: 0 12px;
}

.auth-illustration-box {
    width: 320px;
    height: 210px;
    margin: 0 auto 34px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-illustration {
    width: 170px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.auth-left-title {
    font-size: 30px;
    line-height: 1.35;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
}

.auth-left-description {
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
    max-width: 460px;
    margin: 0 auto;
}

.auth-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.auth-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: #bbf7d0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.auth-dot.active {
    width: 26px;
    background: #10b981;
}


.auth-illustration-box {
    width: 480px;
    height: 300px;
    margin: 0 auto 34px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.auth-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
}


.auth-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

  
    border: 6px solid #ffffff;

    
    border-radius: 28px;


    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}


.auth-brand.auth-brand-with-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.auth-brand.auth-brand-with-logo .auth-brand-logo {
    width: 72px !important;
    height: 72px !important;
    flex: 0 0 72px !important;
}

.auth-brand.auth-brand-with-logo .auth-brand-logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block;
}

.auth-brand.auth-brand-with-logo .auth-brand-text {
    font-size: 22px !important;
    line-height: 1.35 !important;
    font-weight: 800;
    white-space: nowrap;
}

/* มือถือ */
@media (max-width: 768px) {
    .auth-brand.auth-brand-with-logo {
        flex-direction: row;
        gap: 10px;
        margin-bottom: 24px;
    }

    .auth-brand.auth-brand-with-logo .auth-brand-logo {
        width: 58px !important;
        height: 58px !important;
        flex-basis: 58px !important;
    }

    .auth-brand.auth-brand-with-logo .auth-brand-text {
        font-size: 18px !important;
    }
}



body,
.auth-page,
.auth-form-wrapper,
.auth-right-panel,
.auth-left-panel,
.auth-form-wrapper input,
.auth-form-wrapper button,
.auth-form-wrapper label,
.auth-form-wrapper p,
.auth-form-wrapper a,
.auth-form-wrapper h1,
.auth-form-wrapper h2,
.auth-form-wrapper h3,
.auth-form-wrapper h4,
.auth-form-wrapper h5,
.auth-form-wrapper h6 {
    font-family: "Noto Sans Thai", "Sarabun", "Prompt", system-ui, sans-serif;
}

.auth-mobile-header {
    display: none;
}

@media (max-width: 768px) {
    body {
        background: linear-gradient(180deg, #edf9f4 0%, #ffffff 42%, #ffffff 100%);
    }

    .auth-page {
        display: block !important;
        min-height: 100vh !important;
        padding: 10px 14px 20px !important;
        background:
            radial-gradient(circle at top left, rgba(16, 185, 129, 0.10), transparent 35%),
            linear-gradient(180deg, #edf9f4 0%, #ffffff 42%, #ffffff 100%);
    }

    .auth-left-panel {
        display: none !important;
    }

    .auth-right-panel {
        width: 100% !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .auth-form-wrapper {
        width: 100% !important;
        max-width: 520px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .auth-mobile-header {
        display: block !important;
        margin-bottom: 14px !important;
    }

    .auth-mobile-brand {
        display: flex !important;
        align-items: flex-start !important;
        gap: 12px !important;
        margin-bottom: 14px !important;
        padding: 2px 4px 0 !important;
    }

    .auth-mobile-logo {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        object-fit: contain !important;
        display: block !important;
        margin-top: 2px !important;
    }

    .auth-mobile-brand-text {
        line-height: 1.2 !important;
    }

    .auth-mobile-org {
        font-size: 14px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        letter-spacing: -0.2px;
        margin-bottom: 3px !important;
    }

    .auth-mobile-system {
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        margin-bottom: 2px !important;
    }

    .auth-mobile-accent {
        font-size: 15px !important;
        font-weight: 900 !important;
        color: #10b981 !important;
        letter-spacing: -0.2px;
    }

    .auth-mobile-image {
        width: 100% !important;
        height: 240px !important;
        border-radius: 24px !important;
        overflow: hidden !important;
        border: 4px solid #ffffff !important;   /* ขอบขาว / stroke */
        box-shadow:
            0 10px 25px rgba(15, 23, 42, 0.10),
            0 0 0 1px rgba(16, 185, 129, 0.10) !important;
        background: #ffffff !important;
    }

    .auth-mobile-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    .auth-brand.auth-brand-with-logo {
        display: none !important;
    }

    .auth-header {
        display: none !important;
    }

    .auth-form-wrapper form {
        background: #ffffff !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 28px !important;
        padding: 22px 18px 20px !important;
        box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08) !important;
    }

    .auth-form-wrapper .form-label {
        font-size: 15px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        margin-bottom: 8px !important;
    }

    .auth-form-wrapper .form-control {
        min-height: 54px !important;
        border-radius: 16px !important;
        border: 1px solid #cfd8e3 !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        color: #0f172a !important;
        box-shadow: none !important;
    }

    .auth-form-wrapper .form-control::placeholder {
        color: #94a3b8 !important;
        font-weight: 500 !important;
    }

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

    .input-icon {
        width: 42px !important;
        min-width: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .input-icon img {
        width: 18px !important;
        height: 18px !important;
        opacity: 0.7;
    }

    .form-text {
        font-size: 12.5px !important;
        line-height: 1.55 !important;
        color: #64748b !important;
        margin-top: 8px !important;
    }

    .auth-small-link {
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #10b981 !important;
        text-decoration: none !important;
    }

    .auth-submit-btn {
        min-height: 56px !important;
        border-radius: 18px !important;
        background: linear-gradient(135deg, #0f172a 0%, #0b1730 100%) !important;
        border: none !important;
        font-size: 17px !important;
        font-weight: 800 !important;
        letter-spacing: -0.2px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18) !important;
    }

    .auth-submit-btn span {
        margin-left: 6px !important;
    }

    .auth-help-text {
        margin-top: 16px !important;
        text-align: center !important;
        font-size: 12px !important;
        line-height: 1.65 !important;
        color: #64748b !important;
    }
}

@media (max-width: 420px) {
    .auth-page {
        padding: 8px 12px 18px !important;
    }

    .auth-mobile-logo {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
    }

    .auth-mobile-org {
        font-size: 13px !important;
    }

    .auth-mobile-system {
        font-size: 12.5px !important;
    }

    .auth-mobile-accent {
        font-size: 14px !important;
    }

    .auth-mobile-image {
        height: 160px !important;
        border-radius: 22px !important;
        border: 4px solid #ffffff !important;
    }

    .auth-form-wrapper form {
        padding: 20px 16px 18px !important;
        border-radius: 24px !important;
    }

    .auth-form-wrapper .form-control {
        min-height: 52px !important;
        font-size: 15px !important;
    }

    .auth-submit-btn {
        min-height: 54px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .auth-mobile-title {
        font-size: 20px !important;
        font-weight: 950 !important;
        color: #0f172a !important;
        letter-spacing: -0.35px !important;
        line-height: 1.25 !important;
    }

    .auth-mobile-title span {
        color: #10b981 !important;
        font-weight: 950 !important;
    }
}


.auth-mobile-header {
    display: none;
}

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        min-height: 100%;
        overflow-x: hidden;
        font-family: "Noto Sans Thai", "Sarabun", "Prompt", system-ui, sans-serif;
        background: linear-gradient(180deg, #eef8f4 0%, #ffffff 46%, #ffffff 100%);
    }

    .auth-page {
        display: block !important;
        min-height: 100vh !important;
        padding: 14px !important;
        background:
            radial-gradient(circle at top left, rgba(16, 185, 129, 0.13), transparent 36%),
            linear-gradient(180deg, #eef8f4 0%, #ffffff 46%, #ffffff 100%) !important;
    }

    .auth-left-panel {
        display: none !important;
    }

    .auth-right-panel {
        display: block !important;
        width: 100% !important;
        min-height: auto !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .auth-form-wrapper {
        width: 100% !important;
        max-width: 500px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    /* ซ่อน brand/header desktop เฉพาะมือถือ */
    .auth-brand.auth-brand-with-logo,
    .auth-header {
        display: none !important;
    }


    .auth-mobile-header {
        display: block !important;
        margin-bottom: 16px !important;
    }

    .auth-mobile-brand {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 0 4px !important;
        margin-bottom: 12px !important;
    }

    .auth-mobile-logo {
        width: 65px !important;
        height: 65px !important;
        min-width: 60px !important;
        max-width: 60px !important;
        object-fit: contain !important;
        display: block !important;
    }

    .auth-mobile-brand-text {
        flex: 1 !important;
        min-width: 0 !important;
        line-height: 1.2 !important;
    }

    .auth-mobile-title {
        font-size: 17px !important;
        font-weight: 950 !important;
        line-height: 1.2 !important;
        letter-spacing: -0.45px !important;
        color: #0f172a !important;
        white-space: nowrap !important;
    }

    .auth-mobile-title span {
        color: #10b981 !important;
        font-weight: 950 !important;
    }

    .auth-mobile-subtitle {
        margin-top: 3px !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        line-height: 1.35 !important;
        color: #475569 !important;
        white-space: nowrap !important;
    }


    .auth-mobile-image {
        width: 100% !important;
        height: 240px !important;
        border-radius: 24px !important;
        overflow: hidden !important;
        background: #ffffff !important;
        border: 5px solid #ffffff !important;
        box-shadow:
            0 12px 30px rgba(15, 23, 42, 0.10),
            0 0 0 1px rgba(16, 185, 129, 0.12) !important;
    }

    .auth-mobile-image img {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        object-fit: cover !important;
        object-position: center center !important;
    }


    .auth-form-wrapper form {
        margin-top: 16px !important;
        background: #ffffff !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 28px !important;
        padding: 22px 18px 20px !important;
        box-shadow:
            0 16px 42px rgba(15, 23, 42, 0.08),
            0 2px 8px rgba(15, 23, 42, 0.04) !important;
    }

    .auth-form-wrapper .mb-3 {
        margin-bottom: 18px !important;
    }

    .auth-form-wrapper .form-label {
        display: block !important;
        margin-bottom: 9px !important;
        font-size: 15px !important;
        font-weight: 850 !important;
        color: #0f172a !important;
        letter-spacing: -0.15px !important;
    }

    .input-icon-group {
        position: relative !important;
    }

    .input-icon {
        position: absolute !important;
        left: 16px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 18px !important;
        height: 18px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 0.65 !important;
        z-index: 2 !important;
        pointer-events: none !important;
    }

    .input-icon img {
        width: 18px !important;
        height: 18px !important;
        object-fit: contain !important;
    }

    .auth-form-wrapper .form-control {
        width: 100% !important;
        height: 54px !important;
        min-height: 54px !important;
        border-radius: 17px !important;
        border: 1.5px solid #cbd5e1 !important;
        background: #ffffff !important;
        padding: 0 16px 0 46px !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        color: #0f172a !important;
        box-shadow: none !important;
        transition: all 0.2s ease !important;
    }

    .auth-form-wrapper .form-control::placeholder {
        color: #94a3b8 !important;
        font-weight: 500 !important;
    }

    .auth-form-wrapper .form-control:focus {
        border-color: #10b981 !important;
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12) !important;
    }

    .auth-form-wrapper .form-text {
        margin-top: 8px !important;
        font-size: 12.5px !important;
        line-height: 1.55 !important;
        color: #64748b !important;
    }

    .auth-small-link {
        font-size: 13px !important;
        font-weight: 750 !important;
        color: #059669 !important;
        text-decoration: none !important;
    }

    .auth-submit-btn {
        width: 100% !important;
        min-height: 56px !important;
        border-radius: 18px !important;
        border: none !important;
        background: linear-gradient(135deg, #0f172a 0%, #0b1736 100%) !important;
        color: #ffffff !important;
        font-size: 17px !important;
        font-weight: 900 !important;
        letter-spacing: -0.25px !important;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18) !important;
    }

    .auth-submit-btn span {
        margin-left: 6px !important;
    }

    .auth-help-text {
        margin-top: 18px !important;
        text-align: center !important;
        font-size: 12px !important;
        line-height: 1.7 !important;
        color: #64748b !important;
    }
}

/* มือถือจอเล็ก */
@media (max-width: 420px) {
    .auth-page {
        padding: 12px !important;
    }

    .auth-mobile-logo {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
    }

    .auth-mobile-title {
        font-size: 15.2px !important;
        letter-spacing: -0.45px !important;
    }

    .auth-mobile-subtitle {
        font-size: 11.3px !important;
    }

    .auth-mobile-image {
        height: 162px !important;
        border-radius: 22px !important;
        border-width: 5px !important;
    }

    .auth-form-wrapper form {
        padding: 20px 16px 18px !important;
        border-radius: 24px !important;
    }

    .auth-submit-btn {
        min-height: 54px !important;
        font-size: 16px !important;
    }
}

/* มือถือแคบมาก */
@media (max-width: 360px) {
    .auth-mobile-title {
        font-size: 13.8px !important;
    }

    .auth-mobile-subtitle {
        font-size: 10.5px !important;
    }

    .auth-mobile-logo {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
    }

    .auth-mobile-image {
        height: 150px !important;
    }

}

@media (max-width: 768px) {
    .auth-mobile-image img {
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .auth-mobile-image img.is-changing {
        opacity: 0;
        transform: scale(1.02);
    }
}

/* ============================================================
   FINAL FIX: Mobile Login Font + Image
============================================================ */

@media (max-width: 768px) {
    html,
    body,
    .auth-page,
    .auth-page *,
    .auth-mobile-header,
    .auth-mobile-header *,
    .auth-form-wrapper,
    .auth-form-wrapper *,
    .auth-submit-btn,
    .form-control,
    .form-label,
    .form-text,
    .auth-small-link {
        font-family: "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
    }

    .auth-mobile-title {
        font-family: "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
        font-size: 17px !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;
        letter-spacing: -0.35px !important;
        color: #0f172a !important;
        white-space: nowrap !important;
    }

    .auth-mobile-title span {
        font-family: "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
        font-weight: 800 !important;
        color: #10b981 !important;
    }

    .auth-mobile-subtitle {
        font-family: "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
        margin-top: 3px !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        line-height: 1.35 !important;
        color: #475569 !important;
        white-space: nowrap !important;
    }

    .auth-form-wrapper .form-label {
        font-family: "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
        font-size: 15px !important;
        font-weight: 700 !important;
    }

    .auth-form-wrapper .form-control {
        font-family: "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .auth-form-wrapper .form-control::placeholder {
        font-family: "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
        font-weight: 400 !important;
    }

    .auth-submit-btn {
        font-family: "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
        font-size: 17px !important;
        font-weight: 800 !important;
    }

    .auth-mobile-image img {
        opacity: 1 !important;
        filter: none !important;
        mix-blend-mode: normal !important;
        visibility: visible !important;
        transition: opacity 0.22s ease, transform 0.22s ease !important;
    }

    .auth-mobile-image img.is-changing {
        opacity: 0.35 !important;
        transform: scale(1.01) !important;
    }
}

@media (max-width: 420px) {
    .auth-mobile-title {
        font-size: 15.5px !important;
    }

    .auth-mobile-subtitle {
        font-size: 11.2px !important;
    }
}

@media (max-width: 360px) {
    .auth-mobile-title {
        font-size: 13.8px !important;
    }

    .auth-mobile-subtitle {
        font-size: 10.5px !important;
    }
}