/* ?怨좊뱜 ?怨몄뒠 */
body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    background-color: #f8f9fa; /* ?袁⑼폒 ?怨좊립 ???퉳 獄쏄퀗瑗?*/
    color: #333;
}

:root {
    --business-blue: #1A365D;
    --ui-accent-start: #2563eb;
    --ui-accent-end: #4f46e5;
    --ui-accent-gradient: linear-gradient(135deg, var(--ui-accent-start), var(--ui-accent-end));
    --ui-border: #d1d5db;
    --ui-text: #475569;
    --index-bg-layer:
        radial-gradient(circle at 12% 18%, rgba(59, 130, 246, 0.10), transparent 20%),
        radial-gradient(circle at 88% 12%, rgba(14, 165, 233, 0.10), transparent 18%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 68%);
}

body.index-bg-page {
    position: relative;
    background: none !important;
}

body.index-bg-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background: var(--index-bg-layer) no-repeat fixed !important;
    background-size: cover !important;
    pointer-events: none;
    z-index: -1;
}

body.index-bg-page #wrapper,
body.index-bg-page #container_wr,
body.index-bg-page #container,
body.index-bg-page #mypage_dashboard,
body.index-bg-page .register-bg,
body.index-bg-page .payment-hero,
body.index-bg-page .main-section,
body.index-bg-page .recruit-list-page,
body.index-bg-page .admin-page-wrap,
body.index-bg-page .config-wrap,
body.index-bg-page .seo-wrap,
body.index-bg-page .ad-wrap,
body.index-bg-page .sms-config-wrap,
body.index-bg-page .page-shell-standard,
body.index-bg-page .container.main-section,
body.index-bg-page .container.page-shell-standard,
body.index-bg-page .container.main-section,
body.index-bg-page .container.recruit-list-page {
    background: transparent !important;
}

body.index-bg-page .payment-hero__glow {
    display: none !important;
}

.board-page-shell {
    padding-top: 12px !important;
    padding-bottom: 0 !important;
}

.board-page-title {
    margin-bottom: 28px;
}

.info-header {
    text-align: center;
    margin-bottom: 28px;
}

.info-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--business-blue);
    margin: 0 0 10px;
    line-height: 1.3;
}

.info-header p {
    margin: 0;
    color: #64748b;
    font-size: 1rem;
}

.page-shell-standard {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.ui-control-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0 0 14px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.ui-tab-row {
    justify-content: flex-start;
}

.ui-tab-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ui-tab-list .nav-item {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ui-tab-list .nav-link,
.ui-pill-tab,
.top-action-btn,
.btn-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid var(--ui-border);
    background: #fff;
    color: var(--ui-text);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.ui-tab-list .nav-link.active,
.ui-pill-tab.is-active,
.payment-filter.is-active,
.btn-primary-soft,
.ui-top-btn--primary,
.ui-search-submit,
.admin-search-form .btn-search-custom {
    background: var(--ui-accent-gradient) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.18) !important;
}

.ui-top-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0 0 14px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.ui-top-actions--left {
    justify-content: flex-start;
}

.ui-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ui-search-form-standard {
    width: 100%;
    margin: 0 0 16px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.ui-search-form-standard .input-group {
    display: flex;
    align-items: stretch;
    width: 100% !important;
}

.ui-search-form-standard .form-control {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px !important;
    border: 1px solid var(--ui-border);
    border-radius: 12px 0 0 12px !important;
    padding: 0 14px;
    font-size: 0.95rem;
}

.ui-search-form-standard .btn-search-custom {
    min-width: 92px;
    height: 44px !important;
    padding: 0 18px !important;
    border-radius: 0 12px 12px 0 !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    border: 0 !important;
}

.ui-search-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100%;
    margin: 0 0 16px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.ui-search-row input[type="text"] {
    flex: 1 1 260px;
    min-width: 240px;
}

.ui-search-row select,
.ui-search-row input[type="text"] {
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--ui-border);
    padding: 0 14px;
}

.ui-bottom-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.ui-icon-btn {
    width: 42px;
    min-width: 42px;
    padding: 0 !important;
}

.config-wrap,
.seo-wrap,
.ad-wrap,
.sms-config-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 16px 80px;
}

.config-panel,
.seo-panel,
.ad-form,
.sms-config-form {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.07);
    padding: 24px;
}

.config-grid,
.seo-grid,
.ad-grid,
.sms-grid {
    display: grid;
    gap: 18px 20px;
}

.config-grid,
.seo-grid,
.sms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ad-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.config-field,
.seo-field,
.ad-panel,
.sms-panel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px;
}

.ad-panel,
.sms-panel {
    padding: 20px;
}

.seo-field.full {
    grid-column: 1 / -1;
}

.config-field label,
.seo-field label,
.ad-field label,
.sms-field label {
    display: block;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
}

.config-field > label,
.seo-field > label {
    font-weight: 800;
    color: #0f172a;
}

.config-field p,
.seo-field p,
.sms-help {
    margin: 0 0 10px;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.5;
}

.config-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.config-input input,
.seo-field input,
.seo-field textarea,
.ad-field input[type="text"],
.ad-field input[type="file"],
.sms-field input[type="text"],
.sms-field input[type="password"] {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
}

.config-input input,
.seo-field input,
.ad-field input[type="text"],
.ad-field input[type="file"],
.sms-field input[type="text"],
.sms-field input[type="password"] {
    height: 46px;
    padding: 0 14px;
}

.seo-field textarea {
    min-height: 110px;
    padding: 12px 14px;
    resize: vertical;
}

.config-actions,
.seo-actions,
.ad-actions,
.sms-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.seo-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 14px;
}

.ad-panel h3,
.sms-panel h3 {
    font-size: 1.08rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 14px;
}

.ad-preview {
    margin-bottom: 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px dashed #cbd5e1;
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ad-preview img {
    display: block;
    width: 100%;
    height: auto;
}

.ad-field,
.sms-field {
    margin-bottom: 14px;
}

.ad-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.sms-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #0f172a;
}

.sms-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    margin-bottom: 16px;
}

.sms-badge.off {
    background: #f8fafc;
    color: #64748b;
}

.pg_wrap {
    clear: both !important;
    float: none !important;
    display: block !important;
    width: 100% !important;
    margin: 32px auto 48px !important;
    padding: 0 !important;
    text-align: center !important;
}

.pg {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
}

.pg_page,
.pg_current {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 11px !important;
    border-radius: 12px !important;
    border: 1px solid #d8e0ec !important;
    background: #fff !important;
    color: #64748b !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    vertical-align: middle !important;
}

.pg_start,
.pg_prev,
.pg_next,
.pg_end {
    min-width: 38px !important;
    padding: 0 !important;
    font-size: 0.82rem !important;
    letter-spacing: -0.05em;
    text-indent: 0 !important;
    overflow: visible !important;
    background: #fff !important;
    color: #64748b !important;
}

.pg_page:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

.board-pagination-wrap {
    margin: 28px 0 40px;
}

.pg_current {
    background: linear-gradient(135deg, #2563eb, #4f46e5) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.18) !important;
}

.pg_start,
.pg_prev,
.pg_next,
.pg_end {
    min-width: 54px !important;
    font-size: 0.88rem !important;
}


/* 甕곌쑵???????(?觀?野? */
.btn {
    border-radius: 8px; /* ??꾩퍢 ?觀??筌뤴뫁苑뚨뵳?*/
    font-weight: 500;
    padding: 0.5rem 1.2rem;
}
.btn-rounded {
    border-radius: 50px;
}

/* 燁삳?諭??????(?⑤벀?? ?????燁삳?諭?? */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
    background: #fff;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* 獄쏄퀗瑗?域밸챶??怨쀬뵠????ｋ궢 (?袁⑹뒄 ???諭???諭???.bg-blur-gradient ??????곕떽?) */
.bg-blur-gradient {
    background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.1) 0%, rgba(255, 255, 255, 0) 40%),
                radial-gradient(circle at 90% 80%, rgba(13, 110, 253, 0.1) 0%, rgba(255, 255, 255, 0) 40%);
}

/* 獄쏆꼷????怨좊뱜 ???좑쭩?*/
@media (max-width: 768px) {
    .info-header {
        margin-bottom: 20px;
    }

    .info-header h2 {
        font-size: 1.55rem;
    }

    .page-shell-standard {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .ui-control-row,
    .ui-top-actions,
    .ui-search-row,
    .ui-search-form-standard {
        gap: 8px;
        margin-bottom: 12px !important;
    }

    .ui-tab-list .nav-link,
    .ui-pill-tab,
    .top-action-btn,
    .btn-soft {
        min-height: 38px;
        padding: 0 12px;
        font-size: 0.85rem;
    }

    .ui-search-form-standard .input-group {
        flex-wrap: wrap;
        gap: 8px;
    }

    .ui-search-form-standard .form-control,
    .ui-search-form-standard .btn-search-custom {
        width: 100%;
        border-radius: 12px !important;
    }

    .ui-search-row select,
    .ui-search-row input[type="text"],
    .ui-search-row .btn-soft,
    .ui-search-row .btn-primary-soft {
        width: 100%;
        min-width: 0;
    }

    .ui-bottom-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ui-btn-group {
        width: 100%;
    }

    .ui-btn-group .btn-soft,
    .ui-bottom-actions > .btn-soft,
    .ui-bottom-actions > .btn-primary-soft,
    .seo-links .btn-soft,
    .config-actions .btn-soft {
        width: 100%;
    }

    .config-wrap,
    .seo-wrap,
    .ad-wrap,
    .sms-config-wrap {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .config-grid,
    .seo-grid,
    .ad-grid,
    .sms-grid {
        grid-template-columns: 1fr;
    }

    .config-actions,
    .seo-actions,
    .ad-actions,
    .sms-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .seo-links .btn-soft,
    .seo-actions .btn-soft,
    .seo-actions .btn-primary-soft,
    .ad-actions .btn-soft,
    .ad-actions .btn-primary-soft,
    .sms-actions .btn-soft,
    .sms-actions .btn-primary-soft {
        width: auto;
    }

    .pg_wrap {
        margin: 24px auto 36px !important;
    }

    .pg {
        gap: 6px !important;
    }

    .pg_page,
    .pg_current {
        min-width: 34px !important;
        height: 34px !important;
        padding: 0 9px !important;
        border-radius: 10px !important;
        font-size: 0.85rem !important;
    }

.pg_start,
.pg_prev,
.pg_next,
.pg_end {
        min-width: 34px !important;
        font-size: 0.72rem !important;
    }
}

/* Admin member create */
.admin-create-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 16px 80px;
}

.admin-create-form {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.07);
    padding: 28px;
}

.admin-create-notice {
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    font-weight: 700;
}

.admin-create-meta {
    margin-top: 6px;
    font-size: 0.92rem;
    font-weight: 500;
    color: #475569;
}

.admin-type-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
}

.admin-type-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid #dbe3f0;
    background: #fff;
    color: #0f172a;
    font-weight: 800;
    cursor: pointer;
    transition: all .18s ease;
}

.admin-type-btn.active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.18);
}

.admin-create-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.admin-create-panel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px;
}

.admin-create-panel h3 {
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

.admin-field {
    margin-bottom: 14px;
}

.admin-field:last-child {
    margin-bottom: 0;
}

.admin-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
}

.admin-field input {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #fff;
    color: #0f172a;
}

.admin-field-help {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
}

.admin-company-only {
    display: none;
}

.admin-company-only.active {
    display: block;
}

.admin-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.admin-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111827;
    font-weight: 800;
    text-decoration: none;
}

.admin-btn-primary {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.18);
}

.admin-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.admin-modal-backdrop.open {
    display: flex;
}

.admin-modal {
    width: min(100%, 420px);
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.24);
    overflow: hidden;
}

.admin-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 10px;
}

.admin-modal-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #111827;
}

.admin-modal-close {
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.admin-modal-body {
    padding: 8px 22px 0;
    text-align: center;
}

.admin-modal-body p {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.65;
    word-break: keep-all;
}

.admin-modal-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 22px;
}

.admin-modal-btn {
    min-width: 132px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111827;
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-modal-btn.primary {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
}

/* PIN setup */
.pin-setup-page .login-bg {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box;
    padding: 40px 20px;
}

.pin-setup-page .setup-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    text-align: center;
    margin: 0 auto;
}

.pin-setup-page .bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.5;
}

.pin-setup-page .blob-1 {
    width: 300px;
    height: 300px;
    background: #6a11cb;
    top: -50px;
    left: -50px;
}

.pin-setup-page .blob-2 {
    width: 250px;
    height: 250px;
    background: #2575fc;
    bottom: 20px;
    right: -30px;
}

.pin-setup-page .pin-box-group {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 8px !important;
    margin-top: 15px !important;
    margin-bottom: 30px !important;
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.pin-setup-page .pin-box {
    width: 100% !important;
    height: 60px !important;
    border: 2px solid #eef0f5 !important;
    background: #fff !important;
    border-radius: 12px !important;
    text-align: center !important;
    font-size: 24px !important;
    font-weight: bold !important;
    color: #333 !important;
    transition: all 0.2s !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
}

.pin-setup-page .pin-box:focus {
    border-color: #4A6cf7;
    transform: scale(1.05);
    outline: none;
    box-shadow: 0 0 0 4px rgba(74, 108, 247, 0.1);
}

.pin-setup-page .form-label-custom {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
    display: block;
    text-align: center;
}

.pin-setup-page .btn-setup {
    background: linear-gradient(135deg, #4A6cf7 0%, #4834d4 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: transform 0.2s;
}

.pin-setup-page .btn-setup:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 108, 247, 0.3);
    color: white;
}

.pin-setup-page .btn-cancel {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    border: none;
    background: none;
    display: block;
    text-align: center;
    margin-top: 15px;
    width: 100%;
}

.pin-setup-page .btn-cancel:hover {
    color: #333;
}

/* Workpay register */
.workpay-register-page {
    font-family: sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #f8f9fa;
    margin: 0;
}

.workpay-register-page .loading-box {
    text-align: center;
}

.workpay-register-page .spinner {
    border: 4px solid rgba(0,0,0,0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-left-color: #2b6cb0;
    animation: kwork-spin 1s ease infinite;
    margin: 0 auto 20px;
}

@keyframes kwork-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.workpay-register-page h3 {
    color: #333;
    margin-bottom: 10px;
}

.workpay-register-page p {
    color: #888;
    font-size: 14px;
}

@media (max-width: 900px) {
    .admin-create-grid {
        grid-template-columns: 1fr;
    }

    .admin-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-btn-group {
        width: 100%;
    }

    .admin-btn {
        flex: 1 1 0;
    }
}

@media (max-width: 576px) {
    .pin-setup-page .login-bg {
        padding: 20px !important;
        min-height: calc(100vh - 150px);
    }

    .pin-setup-page .setup-card {
        padding: 40px 25px !important;
    }
}

@media (max-width: 480px) {
    .pin-setup-page .pin-box-group {
        gap: 5px !important;
    }

    .pin-setup-page .pin-box {
        height: 50px !important;
        font-size: 20px !important;
    }
}

@media (max-width: 360px) {
    .pin-setup-page .pin-box-group {
        gap: 4px !important;
    }

    .pin-setup-page .pin-box {
        height: 46px !important;
        font-size: 18px !important;
    }
}

.ticket-list-page .admin-page-wrap { max-width: 1200px; margin: 0 auto; padding: 60px 16px 80px; }
.ticket-list-page .admin-panel { background: #fff; border: 1px solid #e5e7eb; border-radius: 24px; box-shadow: 0 20px 45px rgba(15, 23, 42, 0.07); }
.ticket-list-page .admin-panel + .admin-panel { margin-top: 24px; }
.ticket-list-page .admin-panel-body { padding: 24px; }
.ticket-list-page .summary-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #eff6ff; color: #1d4ed8; font-weight: 700; margin-right: 10px; margin-bottom: 10px; }
.ticket-list-page .search-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.ticket-list-page .search-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.ticket-list-page .search-row select,
.ticket-list-page .search-row input { height: 44px; border-radius: 12px; border: 1px solid #d1d5db; padding: 0 14px; }
.ticket-list-page .search-row input { min-width: 220px; }
.ticket-list-page .search-row .input-group { display: flex; align-items: stretch; flex: 1 1 0; min-width: 0; }
.ticket-list-page .search-row .input-group input { flex: 1 1 auto; min-width: 0; border-radius: 12px 0 0 12px; }
.ticket-list-page .search-row .input-group-append { display: flex; align-items: stretch; }
.ticket-list-page .search-row .input-group-append .btn-soft { border-radius: 0 12px 12px 0; }
.ticket-list-page .btn-soft { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid #d1d5db; background: #fff; color: #111827; font-weight: 700; text-decoration: none; }
.ticket-list-page .btn-primary-soft { background: linear-gradient(135deg, #2563eb, #4f46e5); border: 0; color: #fff; }
.ticket-list-page .ticket-table-wrap { overflow-x: auto; overflow-y: hidden; scrollbar-color: #94a3b8 #e5e7eb; scrollbar-width: auto; }
.ticket-list-page .ticket-table-wrap::-webkit-scrollbar { height: 10px; }
.ticket-list-page .ticket-table-wrap::-webkit-scrollbar-track { background: #e5e7eb; border-radius: 999px; }
.ticket-list-page .ticket-table-wrap::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 999px; }
.ticket-list-page .ticket-table { width: 100%; min-width: 920px; border-collapse: collapse; }
.ticket-list-page .ticket-table th,
.ticket-list-page .ticket-table thead { border-top: 3px solid #3B82F6; border-bottom: 1px solid #E4E4E7; }
.ticket-list-page .ticket-table th,
.ticket-list-page .ticket-table td { padding: 14px 12px; border-bottom: 1px solid #eef2f7; vertical-align: middle; }
.ticket-list-page .ticket-table th { font-size: 0.92rem; color: #475569; background: #f8fafc; }
.ticket-list-page .ticket-table td { color: #111827; font-size: 0.92rem; }
.ticket-list-page .ticket-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.ticket-list-page .ticket-table .center { text-align: center; }
.ticket-list-page .empty-box { padding: 48px 16px; text-align: center; color: #6b7280; }
.ticket-list-page .grant-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ticket-list-page .grant-grid .full { grid-column: 1 / -1; }
.ticket-list-page .grant-grid label { display: block; font-weight: 700; color: #334155; margin-bottom: 8px; }
.ticket-list-page .grant-grid input,
.ticket-list-page .grant-grid select { width: 100%; height: 46px; border: 1px solid #d1d5db; border-radius: 12px; padding: 0 14px; }
.ticket-list-page .grant-grid textarea { width: 100%; min-height: 92px; border: 1px solid #d1d5db; border-radius: 12px; padding: 12px 14px; resize: vertical; }
.ticket-list-page .form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.ticket-list-page .pagination-wrap { margin-top: 20px; width: 100%; display: flex; justify-content: center; }

.scrap-list-page .hover-shadow:hover { box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08) !important; z-index: 1; position: relative; }
.scrap-list-page .page-title-wrap { text-align: center; margin-bottom: 50px; }
.scrap-list-page .page-title-wrap h2 { font-size: 2.2rem; font-weight: 800; color: var(--business-blue, #1A365D); margin-bottom: 10px; }
.scrap-list-page .top-action-wrap { gap: 10px !important; }
.scrap-list-page .top-action-btn { height: 42px; border-radius: 12px; padding: 0 18px; font-size: 0.95rem; font-weight: 700; border: 1px solid #dee2e6; background: #fff; color: #495057; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.2s; }
.scrap-list-page .top-action-btn:hover { background-color: #f8f9fa; color: #212529; }
.scrap-list-page .transition-all { transition: all 0.2s ease-in-out; }
.scrap-list-page .main-section { margin-top: 60px; max-width: 1200px; }
.scrap-list-page .chk-scraps-custom { width: 18px; height: 18px; cursor: pointer; vertical-align: middle; }
.scrap-list-page .btn-action-custom { display: inline-flex; align-items: center; justify-content: center; padding: 0 15px; height: 38px; font-size: 14px !important; font-weight: 600 !important; border-radius: 6px; transition: all 0.2s; white-space: nowrap; border-width: 1px; }
.scrap-list-page .btn-outline-secondary { border: 1px solid #ced4da !important; color: #495057; }
.scrap-list-page .btn-outline-secondary:hover { background-color: #f8f9fa; color: #212529; }
.scrap-list-page .action-wrap { width: 88px; flex-shrink: 0; }
.scrap-list-page .btn-wrap-custom { width: 100%; }
.scrap-list-page .btn-sm-custom { padding: 6px 0; font-size: 0.9rem !important; height: 38px; border-radius: 6px; font-weight: bold; border: none; width: 100%; white-space: nowrap; }
.scrap-list-page .icon-btn-custom { width: 40px; height: 40px; border-radius: 6px; }
.scrap-list-page .icon-btn-custom i { font-size: 1.1rem; }
.scrap-list-page .bo_tit_h5 { font-size: 1.15rem; }

@media (max-width: 900px) {
  .ticket-list-page .grant-grid { grid-template-columns: 1fr; }
  .ticket-list-page .form-actions { flex-direction: column; }
}

@media (max-width: 768px) {
  .ticket-list-page .admin-page-wrap { padding-top: 40px; }
  .ticket-list-page .btn-soft { min-height: 38px; padding: 0 12px; font-size: 0.85rem; }
  .ticket-list-page .search-actions { gap: 8px; margin-bottom: 10px; }
  .ticket-list-page .search-row { gap: 8px; flex-direction: column; align-items: stretch; }
  .ticket-list-page .search-row select { width: 100%; min-width: 0; }
  .ticket-list-page .search-row .input-group { width: 100%; flex: none; flex-wrap: nowrap; }
  .ticket-list-page .search-row .input-group input { width: 100%; min-width: 0; }
  .ticket-list-page .search-row .input-group-append { flex: none; }
  .ticket-list-page .search-row .input-group-append .btn-soft { width: auto; min-width: 88px; }

  .scrap-list-page .page-title-wrap h2 { font-size: 1.55rem; }
  .scrap-list-page .top-action-wrap { gap: 8px !important; }
  .scrap-list-page .top-action-btn { height: 38px; padding: 0 12px; font-size: 0.85rem; }
  .scrap-list-page .list-group-item { padding: 12px 10px !important; }
  .scrap-list-page .action-wrap { width: auto !important; margin-top: 10px !important; }
  .scrap-list-page .btn-wrap-custom { width: auto; }
  .scrap-list-page .bo_tit_h5 { font-size: 1rem !important; margin-bottom: 2px !important; word-break: keep-all; }
  .scrap-list-page .btn-sm-custom { padding: 4px 12px !important; font-size: 0.85rem !important; height: 34px !important; width: auto !important; min-width: 80px; }
  .scrap-list-page .icon-btn-custom { width: 34px !important; height: 34px !important; }
  .scrap-list-page .icon-btn-custom i { font-size: 1rem !important; }
  .scrap-list-page .badge { font-size: 0.7rem !important; padding: 0.15rem 0.35rem !important; }
  .scrap-list-page .mobile-txt-small { font-size: 0.8rem !important; }
  .scrap-list-page .mobile-gap-reduce { margin-bottom: 0.25rem !important; }
}


@media (max-width: 768px) {
}

