﻿:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-soft: #eff6ff;
    --dark: #111827;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --red: #ef4444;
    --green: #16a34a;
    --yellow: #f59e0b;
    --radius: 18px;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", Arial, sans-serif;
    color: var(--gray-900);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 32rem),
        linear-gradient(180deg, #f8fbff 0%, #f5f6f8 42%, #f9fafb 100%);
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 25px;
    font-weight: 950;
    letter-spacing: -1.3px;
    color: var(--primary);
    white-space: nowrap;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
}

.nav a {
    padding: 10px 12px;
    border-radius: 999px;
    color: var(--gray-700);
}

.nav a:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-700);
    white-space: nowrap;
}

.user-menu a {
    padding: 8px 10px;
    border-radius: 10px;
}

.user-menu a:hover {
    background: var(--gray-100);
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 18px;
}

.footer {
    margin-top: 70px;
    background: #fff;
    border-top: 1px solid var(--gray-200);
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 18px;
    color: var(--gray-500);
    font-size: 13px;
    line-height: 1.8;
}

.card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
}

.card-flat {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 22px;
}

.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.page-title {
    margin: 0;
    font-size: 30px;
    font-weight: 950;
    letter-spacing: -1.2px;
}

.page-desc {
    margin: 8px 0 0;
    color: var(--gray-500);
    line-height: 1.6;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    font-weight: 850;
    font-size: 15px;
    line-height: 1;
    transition: 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-dark {
    background: var(--dark);
    color: #fff;
}

.btn-line {
    background: #fff;
    border: 1px solid var(--gray-300);
    color: var(--gray-800);
}

.btn-soft {
    background: var(--primary-soft);
    color: var(--primary);
}

.btn-danger {
    background: var(--red);
    color: #fff;
}

.form-wrap {
    max-width: 620px;
    margin: 0 auto;
}

.form-title {
    font-size: 30px;
    font-weight: 950;
    margin: 0 0 20px;
    letter-spacing: -1.2px;
}

.form-section-title {
    margin: 30px 0 14px;
    padding-top: 22px;
    border-top: 1px solid var(--gray-200);
    font-size: 18px;
    font-weight: 950;
}

.form-row {
    margin-bottom: 15px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 850;
    color: var(--gray-800);
}

.input,
.select,
.textarea {
    width: 100%;
    border: 1px solid var(--gray-300);
    border-radius: 13px;
    background: #fff;
    font-size: 15px;
    color: var(--gray-900);
    outline: none;
    transition: 0.16s ease;
}

.input,
.select {
    height: 48px;
    padding: 0 13px;
}

.textarea {
    min-height: 170px;
    padding: 14px;
    resize: vertical;
    line-height: 1.7;
}

.input:focus,
.select:focus,
.textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.help-text {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.65;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.search-box {
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: 1fr 180px 180px 120px;
    gap: 10px;
}

.job-list {
    display: grid;
    gap: 14px;
}

.job-card {
    display: grid;
    grid-template-columns: 128px 1fr auto;
    gap: 18px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
    transition: 0.18s ease;
}

.job-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.job-thumb {
    width: 128px;
    height: 96px;
    border-radius: 15px;
    object-fit: cover;
    background: linear-gradient(135deg, #dbeafe, #f3f4f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 950;
    font-size: 18px;
}

.job-title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 950;
    letter-spacing: -0.8px;
}

.job-company {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 750;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 800;
}

.badge-primary {
    background: var(--primary-soft);
    color: var(--primary);
}

.badge-green {
    background: #ecfdf5;
    color: var(--green);
}

.badge-yellow {
    background: #fffbeb;
    color: #b45309;
}

.job-pay {
    min-width: 110px;
    text-align: right;
}

.job-pay-type {
    display: block;
    margin-bottom: 5px;
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 800;
}

.job-pay-amount {
    color: var(--primary);
    font-size: 21px;
    font-weight: 950;
}

.detail-hero {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 24px;
    align-items: stretch;
}

.detail-thumb {
    width: 100%;
    min-height: 260px;
    border-radius: 20px;
    object-fit: cover;
    background: linear-gradient(135deg, #dbeafe, #f3f4f6);
}

.detail-title {
    margin: 0 0 14px;
    font-size: 32px;
    font-weight: 950;
    letter-spacing: -1.4px;
    line-height: 1.28;
}

.info-table {
    display: grid;
    grid-template-columns: 130px 1fr;
    border-top: 1px solid var(--gray-200);
    margin-top: 18px;
}

.info-table dt,
.info-table dd {
    margin: 0;
    padding: 13px 0;
    border-bottom: 1px solid var(--gray-200);
    line-height: 1.6;
}

.info-table dt {
    color: var(--gray-500);
    font-weight: 850;
}

.info-table dd {
    color: var(--gray-900);
    font-weight: 650;
}

.content-box {
    line-height: 1.85;
    color: var(--gray-800);
    white-space: pre-line;
}

.empty-box {
    padding: 46px 20px;
    text-align: center;
    background: #fff;
    border: 1px dashed var(--gray-300);
    border-radius: 18px;
    color: var(--gray-500);
    line-height: 1.7;
}

.table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.data-table th,
.data-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 14px;
    text-align: left;
}

.data-table th {
    background: var(--gray-50);
    color: var(--gray-600);
    font-weight: 900;
}

.data-table td {
    color: var(--gray-800);
}

.paging {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
}

.paging a,
.paging strong {
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    background: #fff;
    font-size: 14px;
    font-weight: 850;
}

.paging strong {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

@media (max-width: 900px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .nav {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 4px;
    }

    .user-menu {
        width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .search-box {
        grid-template-columns: 1fr 1fr;
    }

    .job-card {
        grid-template-columns: 96px 1fr;
    }

    .job-thumb {
        width: 96px;
        height: 82px;
    }

    .job-pay {
        grid-column: 1 / -1;
        text-align: left;
        border-top: 1px solid var(--gray-200);
        padding-top: 12px;
    }

    .detail-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 20px 14px;
    }

    .card {
        padding: 20px;
        border-radius: 16px;
    }

    .page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-title {
        font-size: 25px;
    }

    .form-title {
        font-size: 25px;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .search-box {
        grid-template-columns: 1fr;
    }

    .job-card {
        grid-template-columns: 1fr;
    }

    .job-thumb {
        width: 100%;
        height: 150px;
    }

    .detail-title {
        font-size: 25px;
    }

    .info-table {
        grid-template-columns: 95px 1fr;
    }
}

.resume-list {
    display: grid;
    gap: 14px;
}

.resume-card {
    display: grid;
    grid-template-columns: 92px 1fr auto;
    gap: 18px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
}

.resume-photo {
    width: 92px;
    height: 92px;
    border-radius: 18px;
    object-fit: cover;
    background: linear-gradient(135deg, #dbeafe, #f3f4f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 950;
}

.status-select {
    height: 38px;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    padding: 0 10px;
    font-weight: 700;
    background: #fff;
}

.apply-status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    background: var(--gray-100);
    color: var(--gray-700);
}

.apply-status.received {
    background: var(--primary-soft);
    color: var(--primary);
}

.apply-status.reviewing {
    background: #fffbeb;
    color: #b45309;
}

.apply-status.interview {
    background: #f5f3ff;
    color: #7c3aed;
}

.apply-status.pass {
    background: #ecfdf5;
    color: #16a34a;
}

.apply-status.fail {
    background: #fef2f2;
    color: #dc2626;
}

.resume-view-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 22px;
}

.resume-big-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    object-fit: cover;
    background: linear-gradient(135deg, #dbeafe, #f3f4f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 30px;
    font-weight: 950;
}

@media (max-width: 760px) {
    .resume-card {
        grid-template-columns: 72px 1fr;
    }

    .resume-photo {
        width: 72px;
        height: 72px;
        border-radius: 16px;
    }

    .resume-card > div:last-child {
        grid-column: 1 / -1;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .resume-view-grid {
        grid-template-columns: 1fr;
    }
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.stat-label {
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 900;
}

.stat-value {
    margin-top: 8px;
    font-size: 32px;
    font-weight: 950;
    letter-spacing: -1px;
    color: var(--gray-900);
}

.admin-login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.admin-login-box {
    width: 100%;
    max-width: 420px;
}

.status-active,
.status-approved {
    background: #ecfdf5;
    color: #16a34a;
}

.status-wait {
    background: #fffbeb;
    color: #b45309;
}

.status-closed,
.status-stop {
    background: #f3f4f6;
    color: #4b5563;
}

.status-rejected,
.status-deleted,
.status-block {
    background: #fef2f2;
    color: #dc2626;
}

.admin-action-form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.board-list {
    display: grid;
    gap: 12px;
}

.board-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.board-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 950;
    letter-spacing: -0.6px;
}

.board-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 750;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 12px;
}

.faq-q {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 950;
}

.faq-a {
    line-height: 1.8;
    white-space: pre-line;
    color: var(--gray-700);
}

.status-answered,
.status-done {
    background: #ecfdf5;
    color: #16a34a;
}

.status-processing {
    background: #f5f3ff;
    color: #7c3aed;
}

.status-wait {
    background: #fffbeb;
    color: #b45309;
}

.status-rejected {
    background: #fef2f2;
    color: #dc2626;
}

.board-admin-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .board-card {
        grid-template-columns: 1fr;
    }

    .board-admin-actions {
        justify-content: flex-start;
    }
}

/* =========================================================
   5단계 디자인 보강 + 테이블 가운데 정렬
   적용 위치: /assets/css/style.css 맨 아래
========================================================= */

/* 전체 페이지 톤 보강 */
body {
    background:
        radial-gradient(circle at 8% 0%, rgba(37, 99, 235, 0.10), transparent 32rem),
        radial-gradient(circle at 92% 10%, rgba(59, 130, 246, 0.08), transparent 28rem),
        linear-gradient(180deg, #f8fbff 0%, #f6f8fc 45%, #f9fafb 100%);
}

/* 공통 카드 더 깔끔하게 */
.card,
.card-flat,
.stat-card,
.board-card,
.faq-item {
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.card:hover,
.card-flat:hover,
.board-card:hover,
.faq-item:hover {
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

/* 페이지 제목 영역 */
.page-head {
    padding: 22px 24px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(14px);
}

.page-title {
    color: #0f172a;
}

.page-desc {
    color: #64748b;
}

/* 검색 박스 디자인 */
.search-box {
    padding: 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.input,
.select,
.textarea,
.status-select {
    border-color: #dbe3ef;
    background: #ffffff;
}

.input:hover,
.select:hover,
.textarea:hover,
.status-select:hover {
    border-color: #93c5fd;
}

/* 버튼 디자인 */
.btn {
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.btn-dark {
    background: linear-gradient(135deg, #111827, #020617);
}

.btn-soft {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.btn-line {
    border: 1px solid #cbd5e1;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* =========================================================
   테이블 가운데 정렬 핵심
========================================================= */

.table-wrap {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

/* 테이블 자체 가운데 */
.data-table {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-collapse: separate;
    border-spacing: 0;
}

/* th, td 전체 가운데 정렬 */
.data-table th,
.data-table td {
    text-align: center !important;
    vertical-align: middle !important;
    padding: 15px 12px;
    border-bottom: 1px solid #edf2f7;
}

/* 헤더 디자인 */
.data-table th {
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    color: #334155;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

/* 데이터 셀 */
.data-table td {
    color: #334155;
    font-size: 14px;
    font-weight: 650;
}

/* 행 hover */
.data-table tbody tr {
    transition: background 0.16s ease, transform 0.16s ease;
}

.data-table tbody tr:hover {
    background: #f8fbff;
}

/* 마지막 줄 border 제거 */
.data-table tbody tr:last-child td {
    border-bottom: 0;
}

/* 테이블 안 제목도 가운데 */
.data-table td strong {
    color: #0f172a;
    font-weight: 950;
}

/* 테이블 안 작은 텍스트 */
.data-table .help-text {
    display: inline-block;
    margin-top: 4px;
    color: #64748b;
}

/* 관리 버튼 가운데 정렬 */
.board-admin-actions,
.admin-action-form {
    justify-content: center;
}

/* 테이블 안 버튼 크기 정돈 */
.data-table .btn {
    min-height: 34px !important;
    padding: 0 13px;
    font-size: 13px;
}

/* 긴 제목도 가운데 정렬하되 줄바꿈 자연스럽게 */
.data-table td a,
.data-table td strong {
    word-break: keep-all;
    line-height: 1.45;
}

/* 상태 배지 */
.badge,
.apply-status {
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

/* 상태 컬러 보강 */
.status-active {
    background: #ecfdf5;
    color: #15803d;
}

.status-wait {
    background: #fffbeb;
    color: #b45309;
}

.status-answered,
.status-done,
.status-approved {
    background: #ecfdf5;
    color: #15803d;
}

.status-processing {
    background: #f5f3ff;
    color: #7c3aed;
}

.status-rejected,
.status-deleted,
.status-block {
    background: #fef2f2;
    color: #dc2626;
}

.status-stop,
.status-closed {
    background: #f1f5f9;
    color: #475569;
}

/* 게시판 카드 */
.board-list {
    margin-top: 14px;
}

.board-card {
    border-radius: 20px;
    padding: 20px 22px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.94));
}

.board-card:hover {
    transform: translateY(-2px);
    border-color: #bfdbfe;
}

.board-title {
    color: #0f172a;
    line-height: 1.45;
}

.board-meta {
    justify-content: flex-start;
}

/* FAQ */
.faq-item {
    border-radius: 20px;
    background: #ffffff;
}

.faq-q {
    color: #0f172a;
}

.faq-a {
    color: #475569;
    background: #f8fafc;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid #e2e8f0;
}

/* 대시보드 통계 */
.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: "";
    position: absolute;
    right: -28px;
    top: -28px;
    width: 86px;
    height: 86px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
}

.stat-label {
    color: #64748b;
}

.stat-value {
    color: #1d4ed8;
}

/* 페이징 */
.paging {
    margin-top: 26px;
}

.paging a,
.paging strong {
    border-radius: 999px;
    border-color: #dbe3ef;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.paging a:hover {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.paging strong {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: #1d4ed8;
}

/* 모바일 테이블 대응 */
@media (max-width: 760px) {
    .table-wrap {
        border-radius: 16px;
    }

    .data-table {
        min-width: 760px;
    }

    .data-table th,
    .data-table td {
        padding: 13px 10px;
        font-size: 13px;
    }

    .page-head {
        padding: 18px;
        border-radius: 18px;
    }

    .search-box {
        border-radius: 16px;
    }
}

.td-left {
    text-align: left !important;
}

.status-paid {
    background: #ecfdf5;
    color: #15803d;
}

.status-cancel {
    background: #f1f5f9;
    color: #475569;
}

.status-refund {
    background: #fef2f2;
    color: #dc2626;
}

.product-price-card {
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    padding: 22px;
}

.promo-job-card {
    border-color: #bfdbfe !important;
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.10) !important;
}

/* =========================================================
   8단계 인재검색 / 이력서 / 스크랩
========================================================= */

.resume-search-card {
    display: grid;
    grid-template-columns: 86px 1fr auto;
    gap: 18px;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
}

.resume-search-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.10);
}

.resume-mini-photo {
    width: 86px;
    height: 86px;
    border-radius: 20px;
    object-fit: cover;
    background: linear-gradient(135deg, #dbeafe, #f8fafc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-weight: 950;
    font-size: 14px;
}

.resume-action-box {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.resume-profile-head {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
}

.resume-profile-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    object-fit: cover;
    background: linear-gradient(135deg, #dbeafe, #f8fafc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-weight: 950;
    font-size: 26px;
}

.scrap-on {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.status-hidden {
    background: #f1f5f9;
    color: #475569;
}

.resume-section {
    margin-top: 18px;
}

@media (max-width: 760px) {
    .resume-search-card {
        grid-template-columns: 72px 1fr;
    }

    .resume-mini-photo {
        width: 72px;
        height: 72px;
        border-radius: 18px;
    }

    .resume-action-box {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .resume-profile-head {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   9단계 알림센터
========================================================= */

.noti-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 18px 20px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
}

.noti-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.10);
}

.noti-card.is-unread {
    border-color: #93c5fd;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.noti-title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 950;
    color: #0f172a;
    letter-spacing: -0.04em;
}

.noti-message {
    margin: 0;
    color: #475569;
    line-height: 1.7;
    font-size: 14px;
}

.noti-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.noti-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.noti-dot {
    display: inline-flex;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #2563eb;
    margin-right: 6px;
}

.noti-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    margin-left: 4px;
}

.status-n {
    background: #eff6ff;
    color: #1d4ed8;
}

.status-y {
    background: #f1f5f9;
    color: #475569;
}

@media (max-width: 680px) {
    .noti-card {
        grid-template-columns: 1fr;
    }

    .noti-actions {
        justify-content: flex-start;
    }
}

/* =========================================================
   10단계 쪽지 / 채팅형 문의
========================================================= */

.msg-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 18px 20px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
}

.msg-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.10);
}

.msg-card.is-unread {
    background: linear-gradient(135deg, #eff6ff, #fff);
    border-color: #93c5fd;
}

.msg-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 950;
    color: #0f172a;
    letter-spacing: -0.04em;
}

.msg-preview {
    margin: 0;
    color: #475569;
    line-height: 1.7;
    font-size: 14px;
}

.msg-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.msg-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.chat-wrap {
    display: grid;
    gap: 14px;
}

.chat-row {
    display: flex;
}

.chat-row.mine {
    justify-content: flex-end;
}

.chat-row.other {
    justify-content: flex-start;
}

.chat-bubble {
    max-width: min(680px, 86%);
    padding: 15px 17px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.045);
}

.chat-row.mine .chat-bubble {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border-color: #1d4ed8;
}

.chat-sender {
    font-weight: 950;
    font-size: 13px;
    margin-bottom: 6px;
}

.chat-body {
    line-height: 1.75;
    white-space: pre-line;
}

.chat-date {
    margin-top: 8px;
    font-size: 12px;
    opacity: 0.75;
}

@media (max-width: 680px) {
    .msg-card {
        grid-template-columns: 1fr;
    }

    .msg-actions {
        justify-content: flex-start;
    }

    .chat-bubble {
        max-width: 94%;
    }
}

/* =========================================================
   채팅창 자동 새로고침
========================================================= */

.chat-auto-box {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.chat-refresh-state {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 13px;
    font-weight: 850;
}

.chat-refresh-state.is-live {
    background: #ecfdf5;
    color: #15803d;
    border-color: #bbf7d0;
}

.chat-refresh-state.is-error {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.chat-new-marker {
    display: inline-flex;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    margin-right: 6px;
}

/* =========================================================
   회원가입 약관 동의
========================================================= */

.terms-box {
    display: grid;
    gap: 12px;
    margin: 22px 0;
}

.terms-all {
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    border: 1px solid #bfdbfe;
}

.terms-item {
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
}

.terms-check-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.terms-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.03em;
}

.terms-label input {
    width: 18px;
    height: 18px;
}

.terms-required {
    color: #dc2626;
    font-size: 13px;
    font-weight: 900;
}

.terms-optional {
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
}

.terms-content {
    display: none;
    margin-top: 12px;
    max-height: 180px;
    overflow-y: auto;
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    line-height: 1.75;
    white-space: pre-line;
    font-size: 14px;
}

.terms-content.is-open {
    display: block;
}

.terms-view-btn {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    font-weight: 850;
    cursor: pointer;
}

.status-withdraw {
    background: #f1f5f9;
    color: #475569;
}

.status-block {
    background: #fef2f2;
    color: #dc2626;
}

.status-deleted {
    background: #111827;
    color: #ffffff;
}

/* =========================================================
   Admin sidebar group menu + mobile hamburger
   기준 HTML: /admin/inc/admin_header.asp
========================================================= */

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 0;
    background: #f8fafc;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    width: 260px;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.22), transparent 16rem),
        linear-gradient(180deg, #0f172a, #020617);
    color: #ffffff;
    border-right: 1px solid rgba(255,255,255,0.08);
    z-index: 1000;
}

.admin-sidebar-head {
    min-height: 68px;
    padding: 18px 16px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.admin-sidebar .admin-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    margin: 0;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.admin-sidebar .admin-menu {
    display: grid;
    gap: 6px;
    padding: 10px 12px 24px;
    overflow: visible;
    white-space: normal;
}

.admin-sidebar .admin-menu a {
    display: flex;
    color: inherit;
}

.admin-sidebar .admin-menu-link,
.admin-sidebar .admin-menu-parent {
    width: 100%;
    min-height: 42px;
    padding: 0 13px;
    margin: 0;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
    text-align: left;
    white-space: normal;
    box-shadow: none;
}

.admin-sidebar .admin-menu-link:hover,
.admin-sidebar .admin-menu-parent:hover,
.admin-sidebar .admin-menu-link.is-active,
.admin-sidebar .admin-menu-group.is-open > .admin-menu-parent {
    background: rgba(37, 99, 235, 0.22);
    color: #ffffff;
}

.admin-sidebar .admin-menu-group {
    position: static;
    display: block;
    margin: 0;
}

.admin-sidebar .admin-menu-arrow {
    margin-left: auto;
    font-size: 13px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.admin-sidebar .admin-menu-group.is-open > .admin-menu-parent .admin-menu-arrow,
.admin-sidebar .admin-menu-group.mobile-open > .admin-menu-parent .admin-menu-arrow {
    transform: rotate(180deg);
}

.admin-sidebar .admin-submenu {
    position: static;
    display: none;
    gap: 4px;
    min-width: 0;
    max-height: none;
    padding: 5px 0 6px 12px;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.admin-sidebar .admin-menu-group.is-open .admin-submenu,
.admin-sidebar .admin-menu-group.mobile-open .admin-submenu {
    display: grid;
}

.admin-sidebar .admin-sub-link {
    width: 100%;
    min-height: 36px;
    padding: 0 12px;
    margin: 0;
    border: 0;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    white-space: normal;
    box-shadow: none;
}

.admin-sidebar .admin-sub-link:hover,
.admin-sidebar .admin-sub-link.is-active {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
}

.admin-sidebar .admin-menu-logout {
    margin-top: 8px;
    background: rgba(239, 68, 68, 0.16);
    color: #fecaca;
}

.admin-sidebar .admin-menu-logout:hover {
    background: rgba(239, 68, 68, 0.28);
    color: #ffffff;
}

.admin-main {
    min-width: 0;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 30rem),
        #f9fafb;
}

.admin-top {
    position: sticky;
    top: 0;
    z-index: 800;
    min-height: 68px;
    padding: 14px 22px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.admin-top-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-content {
    padding: 24px;
}

.admin-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 14px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    box-shadow: none;
}

.admin-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #0f172a;
}

.admin-menu-close {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.admin-mobile-overlay {
    display: none;
}

body.admin-menu-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .admin-shell {
        display: block;
        min-height: 100vh;
    }

    .admin-sidebar {
        position: fixed;
        left: -310px;
        top: 0;
        width: 300px;
        max-width: 84vw;
        height: 100vh;
        transition: left 0.24s ease;
        box-shadow: 24px 0 60px rgba(15, 23, 42, 0.35);
        z-index: 2000;
    }

    .admin-sidebar.is-show {
        left: 0;
    }

    .admin-menu-toggle {
        display: inline-flex;
    }

    .admin-menu-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .admin-mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 1900;
        background: rgba(15, 23, 42, 0.52);
    }

    .admin-mobile-overlay.is-show {
        display: block;
    }

    .admin-top {
        min-height: auto;
        padding: 12px 14px;
        align-items: center;
    }

    .admin-top > div:last-child {
        gap: 6px !important;
    }

    .admin-top .btn {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 13px;
    }

    .admin-content {
        padding: 16px 14px;
    }

    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .admin-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   지역알바 / 직종알바
========================================================= */

.job-filter-hero {
    padding: 34px 28px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 26rem),
        linear-gradient(135deg, #eff6ff, #ffffff);
    border: 1px solid #dbeafe;
    margin-bottom: 22px;
}

.job-filter-hero h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 950;
    color: #0f172a;
    letter-spacing: -0.06em;
}

.job-filter-hero p {
    margin: 10px 0 0;
    color: #475569;
    line-height: 1.7;
}

.filter-chip-box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 22px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 850;
}

.filter-chip:hover,
.filter-chip.is-active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.job-list-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 20px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
    margin-bottom: 12px;
}

.job-list-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.10);
}

.job-list-title {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 950;
    color: #0f172a;
    letter-spacing: -0.04em;
}

.job-list-company {
    margin: 0;
    color: #475569;
    font-size: 14px;
}

.job-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

@media (max-width: 720px) {
    .job-filter-hero {
        padding: 26px 20px;
        border-radius: 22px;
    }

    .job-filter-hero h1 {
        font-size: 26px;
    }

    .job-list-card {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   메인 슬라이딩 배너
   PC: 동그라미 인디케이터 표시
   모바일: 손가락 좌우 스와이프 가능, 인디케이터 숨김
========================================================= */

.main-banner-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.055);
}

.main-banner-viewport {
    overflow: hidden;
    border-radius: 20px;
}

.main-banner-track {
    display: flex;
    width: 100%;
    transition: transform 0.42s ease;
    will-change: transform;
}

.main-banner-slide {
    flex: 0 0 100%;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    background: #f8fafc;
    text-decoration: none;
}

.main-banner-slide img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.main-banner-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.main-banner-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.main-banner-dots button.is-active {
    width: 28px;
    background: #2563eb;
}

@media (max-width: 780px) {
    .main-banner-slider {
        padding: 10px;
        border-radius: 22px;
        touch-action: pan-y;
    }

    .main-banner-viewport,
    .main-banner-slide {
        border-radius: 16px;
    }

    .main-banner-slide img {
        height: 180px;
    }

    .main-banner-dots {
        display: none;
    }
}

@media (max-width: 480px) {
    .main-banner-slide img {
        height: 150px;
    }
}


.main-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 42px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.24), transparent 28rem),
        linear-gradient(135deg, #eff6ff, #ffffff);
    border: 1px solid #dbeafe;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.06);
}

.main-hero-content {
    max-width: 720px;
}

.main-hero-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 13px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 950;
}

.main-hero h1 {
    margin: 0 0 16px;
    color: #0f172a;
    font-size: 44px;
    font-weight: 950;
    line-height: 1.18;
    letter-spacing: -0.075em;
}

.main-hero p {
    margin: 0 0 26px;
    color: #475569;
    font-size: 18px;
    line-height: 1.75;
}

.main-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.premium-section {
    margin: 34px 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-title {
    margin: 0;
    color: #0f172a;
    font-size: 26px;
    font-weight: 950;
    letter-spacing: -0.055em;
}

.section-desc {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.premium-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.065);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.premium-card:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 24px 54px rgba(37, 99, 235, 0.16);
}

.premium-thumb {
    position: relative;
    height: 150px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.25), transparent 12rem),
        linear-gradient(135deg, #eff6ff, #ffffff);
    overflow: hidden;
}

.premium-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.premium-thumb-empty {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-thumb-empty span {
    display: inline-flex;
    width: 76px;
    height: 76px;
    border-radius: 24px;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #ffffff;
    font-weight: 950;
    letter-spacing: -0.03em;
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.premium-ribbon {
    position: absolute;
    left: 12px;
    top: 12px;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 12px;
    font-weight: 950;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
}

.premium-top {
    background: #2563eb;
}

.premium-urgent {
    background: #ef4444;
}

.premium-highlight {
    background: #f59e0b;
}

.premium-banner {
    background: #7c3aed;
}

.premium-body {
    padding: 17px 17px 18px;
}

.premium-company {
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 7px;
}

.premium-title {
    margin: 0;
    min-height: 50px;
    color: #0f172a;
    font-size: 17px;
    font-weight: 950;
    line-height: 1.45;
    letter-spacing: -0.04em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.premium-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.premium-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

.premium-pay {
    margin-top: 14px;
    color: #334155;
    font-size: 14px;
    font-weight: 850;
}

.premium-pay strong {
    margin-left: 4px;
    color: #dc2626;
    font-size: 18px;
    font-weight: 950;
}

.premium-deadline {
    margin-top: 8px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
}

.main-join-card {
    min-height: 180px;
}

@media (max-width: 1100px) {
    .premium-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .main-hero {
        padding: 34px 24px;
        border-radius: 26px;
    }

    .main-hero h1 {
        font-size: 34px;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .premium-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .premium-thumb {
        height: 130px;
    }
}

@media (max-width: 520px) {
    .main-hero {
        padding: 28px 20px;
    }

    .main-hero h1 {
        font-size: 30px;
    }

    .premium-grid {
        grid-template-columns: 1fr;
    }

    .premium-title {
        min-height: auto;
    }
}

/* =========================================================
   메인 레이어 팝업
========================================================= */

.layer-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(4px);
}

.layer-popup-overlay.is-hide {
    display: none;
}

body.layer-popup-open {
    overflow: hidden;
}

.layer-popup-stack {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    max-width: 1180px;
}

.layer-popup {
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.32);
}

.layer-popup.is-hide {
    display: none;
}

.layer-popup-head {
    min-height: 56px;
    padding: 0 16px 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.layer-popup-head strong {
    color: #0f172a;
    font-size: 17px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.layer-popup-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: #f1f5f9;
    color: #0f172a;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.layer-popup-close:hover {
    background: #e2e8f0;
}

.layer-popup-body {
    overflow-y: auto;
    background: #ffffff;
}

.layer-popup-img {
    display: block;
    width: 100%;
    height: auto;
}

.layer-popup-content {
    padding: 22px;
    color: #334155;
    font-size: 15px;
    line-height: 1.75;
}

.layer-popup-content img {
    max-width: 100%;
    height: auto;
}

.layer-popup-content p {
    margin-top: 0;
}

.layer-popup-foot {
    min-height: 56px;
    padding: 10px 14px 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.layer-popup-today {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.layer-popup-today input {
    width: 16px;
    height: 16px;
}

.layer-popup-close-btn {
    min-height: 36px;
    padding-left: 16px;
    padding-right: 16px;
}

@media (max-width: 780px) {
    .layer-popup-overlay {
        align-items: flex-end;
        padding: 12px;
    }

    .layer-popup-stack {
        display: grid;
        gap: 12px;
        max-width: none;
    }

    .layer-popup {
        max-width: 100% !important;
        border-radius: 22px;
    }

    .layer-popup-head {
        min-height: 52px;
    }

    .layer-popup-body {
        max-height: 62vh !important;
    }

    .layer-popup-content {
        padding: 18px;
        font-size: 14px;
    }

    .layer-popup-foot {
        align-items: stretch;
        flex-direction: column;
    }

    .layer-popup-close-btn {
        width: 100%;
    }
}

/* =========================================================
   프리미엄 채용관 - 상품별 구역
========================================================= */

.premium-product-section {
    margin-top: 22px;
    padding: 22px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 22rem),
        #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.055);
}

.premium-product-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.premium-product-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 950;
}

.premium-product-label span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 950;
}

.premium-product-head h3 {
    margin: 0;
    color: #0f172a;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -0.055em;
}

.premium-product-head p {
    margin: 8px 0 0;
    max-width: 720px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.premium-product-price {
    min-width: 150px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-align: right;
}

.premium-product-price span {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.premium-product-price strong {
    color: #dc2626;
    font-size: 20px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.premium-empty-box {
    grid-column: 1 / -1;
    padding: 26px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

@media (max-width: 720px) {
    .premium-product-section {
        padding: 18px;
        border-radius: 24px;
    }

    .premium-product-head {
        display: block;
    }

    .premium-product-price {
        margin-top: 14px;
        width: 100%;
        text-align: left;
    }

    .premium-product-head h3 {
        font-size: 21px;
    }
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 14px;
    font-weight: 800;
}

.footer-links a {
    color: #334155;
    text-decoration: none;
}

.footer-links a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.footer-info,
.footer-copy {
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}

/* =========================================================
   공통 배너 출력 영역
========================================================= */

.site-banner-area {
    margin: 0 0 22px;
}

.site-banner-list {
    display: grid;
    gap: 12px;
}

.site-banner-item {
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
}

.site-banner-item a {
    display: block;
}

.site-banner-item img {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.site-banner-item:hover img {
    transform: scale(1.012);
}

.job-banner-area .site-banner-list,
.company-banner-area .site-banner-list {
    grid-template-columns: 1fr;
}

.mobile-banner-area {
    display: none;
}

@media (max-width: 780px) {
    .mobile-banner-area {
        display: block;
        margin-bottom: 16px;
    }

    .mobile-banner-area .site-banner-list {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-banner-area .site-banner-item {
        min-width: 86%;
        border-radius: 20px;
        scroll-snap-align: start;
    }

    .site-banner-item img {
        max-height: 160px;
    }
}

@media (min-width: 781px) {
    .mobile-banner-area {
        display: none !important;
    }
}

.mobile-banner-area {
    display: none;
}

@media (max-width: 780px) {
    .mobile-banner-area {
        display: block;
        margin-bottom: 16px;
    }

    .mobile-banner-area .site-banner-list {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-banner-area .site-banner-item {
        min-width: 86%;
        border-radius: 20px;
        scroll-snap-align: start;
    }

    .mobile-banner-area .site-banner-item img {
        max-height: 160px;
        width: 100%;
        object-fit: cover;
    }
}

@media (min-width: 781px) {
    .mobile-banner-area {
        display: none !important;
    }
}

/* =========================================================
   사이트 로고 이미지
========================================================= */

.logo-img-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    min-height: 44px;
}

.site-logo-img {
    display: block;
    width: auto;
    height: 42px;
    max-width: 190px;
    object-fit: contain;
}

@media (max-width: 720px) {
    .logo-img-link {
        min-height: 38px;
    }

    .site-logo-img {
        height: 34px;
        max-width: 150px;
    }
}

/* =========================================================
   사용자 헤더 모바일 햄버거 메뉴
   로고 왼쪽 / 버튼 오른쪽 같은 선상
========================================================= */

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-menu-panel {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.mobile-menu-btn,
.mobile-menu-head,
.mobile-menu-close,
.mobile-menu-backdrop {
    display: none;
}

.logo-img-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.site-logo-img {
    display: block;
    width: auto;
    height: 42px;
    max-width: 190px;
    object-fit: contain;
}

body.mobile-menu-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .header-inner {
        min-height: 64px;
        padding: 11px 14px;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
    }

    .logo-img-link {
        min-height: 42px;
        max-width: calc(100% - 58px);
    }

    .site-logo-img {
        height: 34px;
        max-width: 150px;
    }

    .mobile-menu-btn {
        flex: 0 0 42px;
        display: inline-flex !important;
        width: 42px;
        height: 42px;
        margin-left: auto;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        background: #ffffff;
        cursor: pointer;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    }

    .mobile-menu-btn span {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: #0f172a;
    }

    .mobile-menu-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 3990;
        background: rgba(15, 23, 42, 0.50);
        backdrop-filter: blur(3px);
    }

    .mobile-menu-backdrop.is-open {
        display: block;
    }

    .header-menu-panel {
        position: fixed;
        top: 0;
        right: -320px;
        z-index: 4000;
        display: block;
        width: 300px;
        max-width: 86vw;
        height: 100vh;
        padding: 20px;
        margin-left: 0;
        background: #ffffff;
        box-shadow: -24px 0 60px rgba(15, 23, 42, 0.22);
        transition: right 0.22s ease;
        overflow-y: auto;
    }

    .header-menu-panel.is-open {
        right: 0;
    }

    .mobile-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding-bottom: 18px;
        margin-bottom: 16px;
        border-bottom: 1px solid #e2e8f0;
    }

    .mobile-menu-head strong {
        color: #0f172a;
        font-size: 18px;
        font-weight: 950;
        letter-spacing: -0.04em;
    }

    .mobile-menu-close {
        display: inline-flex;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 999px;
        background: #f1f5f9;
        color: #0f172a;
        font-size: 26px;
        line-height: 1;
        cursor: pointer;
    }

    .header-menu-panel .nav {
        width: 100%;
        display: grid !important;
        gap: 8px;
        margin: 0 0 18px;
        padding: 0;
        overflow: visible;
        white-space: normal;
    }

    .header-menu-panel .nav a {
        display: flex;
        align-items: center;
        min-height: 46px;
        padding: 0 14px;
        border-radius: 14px;
        background: #f8fafc;
        color: #0f172a;
        font-size: 15px;
        font-weight: 900;
    }

    .header-menu-panel .nav a:hover {
        background: #eff6ff;
        color: #2563eb;
    }

    .header-menu-panel .user-menu {
        width: 100%;
        display: grid !important;
        justify-content: stretch !important;
        gap: 8px;
        padding-top: 16px;
        border-top: 1px solid #e2e8f0;
        white-space: normal;
    }

    .header-menu-panel .user-menu strong {
        display: block;
        margin-bottom: 6px;
        color: #0f172a;
        font-size: 15px;
        font-weight: 950;
    }

    .header-menu-panel .user-menu a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 0 14px;
        border-radius: 14px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        color: #334155;
        font-size: 14px;
        font-weight: 850;
    }

    .header-menu-panel .user-menu a:hover {
        border-color: #bfdbfe;
        background: #eff6ff;
        color: #2563eb;
    }
}

/* =========================================================
   사용자 모바일 메뉴 강제 숨김/열림 보정
   문제: 클릭 전 메뉴가 보이는 현상 해결
========================================================= */

/* PC 기본 */
.mobile-menu-btn,
.mobile-menu-head,
.mobile-menu-close,
.mobile-menu-backdrop {
    display: none !important;
}

.header-menu-panel {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

/* 모바일 */
@media (max-width: 900px) {
    .header {
        z-index: 3000;
    }

    .header-inner {
        max-width: 1180px;
        min-height: 64px;
        margin: 0 auto;
        padding: 11px 14px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
    }

    .logo-img-link {
        flex: 0 1 auto;
        min-width: 0;
        max-width: calc(100% - 58px);
    }

    .site-logo-img {
        height: 34px;
        max-width: 150px;
    }

    .mobile-menu-btn {
        flex: 0 0 42px;
        display: inline-flex !important;
        width: 42px;
        height: 42px;
        margin-left: auto;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        background: #ffffff;
        cursor: pointer;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
        position: relative;
        z-index: 3001;
    }

    .mobile-menu-btn span {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: #0f172a;
    }

    .mobile-menu-backdrop {
        display: none !important;
        position: fixed;
        inset: 0;
        z-index: 3990;
        background: rgba(15, 23, 42, 0.50);
        backdrop-filter: blur(3px);
    }

    .mobile-menu-backdrop.is-open {
        display: block !important;
    }

    /*
       핵심:
       right:-320px 대신 transform으로 완전히 화면 밖으로 이동
       visibility/pointer-events까지 막아서 클릭 전 노출 방지
    */
    .header-menu-panel {
        position: fixed !important;
        top: 0;
        right: 0;
        z-index: 4000;
        display: block !important;
        width: 300px;
        max-width: 86vw;
        height: 100vh;
        padding: 20px;
        margin-left: 0 !important;
        background: #ffffff;
        box-shadow: -24px 0 60px rgba(15, 23, 42, 0.22);
        overflow-y: auto;

        transform: translateX(110%);
        visibility: hidden;
        opacity: 0;
        pointer-events: none;

        transition:
            transform 0.22s ease,
            opacity 0.18s ease,
            visibility 0s linear 0.22s;
    }

    .header-menu-panel.is-open {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transition:
            transform 0.22s ease,
            opacity 0.18s ease,
            visibility 0s;
    }

    .mobile-menu-head {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding-bottom: 18px;
        margin-bottom: 16px;
        border-bottom: 1px solid #e2e8f0;
    }

    .mobile-menu-head strong {
        color: #0f172a;
        font-size: 18px;
        font-weight: 950;
        letter-spacing: -0.04em;
    }

    .mobile-menu-close {
        display: inline-flex !important;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 999px;
        background: #f1f5f9;
        color: #0f172a;
        font-size: 26px;
        line-height: 1;
        cursor: pointer;
    }

    .header-menu-panel .nav {
        width: 100%;
        display: grid !important;
        gap: 8px;
        margin: 0 0 18px;
        padding: 0;
        overflow: visible !important;
        white-space: normal !important;
    }

    .header-menu-panel .nav a {
        display: flex;
        align-items: center;
        min-height: 46px;
        padding: 0 14px;
        border-radius: 14px;
        background: #f8fafc;
        color: #0f172a;
        font-size: 15px;
        font-weight: 900;
    }

    .header-menu-panel .user-menu {
        width: 100%;
        display: grid !important;
        justify-content: stretch !important;
        gap: 8px;
        padding-top: 16px;
        border-top: 1px solid #e2e8f0;
        white-space: normal !important;
    }

    .header-menu-panel .user-menu strong {
        display: block;
        margin-bottom: 6px;
        color: #0f172a;
        font-size: 15px;
        font-weight: 950;
    }

    .header-menu-panel .user-menu a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 0 14px;
        border-radius: 14px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        color: #334155;
        font-size: 14px;
        font-weight: 850;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }
}

/* =========================================================
   모바일 헤더 공간 제거 최종 보정
   닫힌 메뉴는 공간 자체를 차지하지 않게 처리
========================================================= */

@media (max-width: 900px) {
    .header {
        z-index: 3000;
    }

    .header-inner {
        max-width: 1180px;
        min-height: 64px;
        margin: 0 auto;
        padding: 11px 14px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
    }

    .logo-img-link {
        flex: 0 1 auto !important;
        min-width: 0;
        max-width: calc(100% - 58px);
    }

    .site-logo-img {
        height: 34px;
        max-width: 150px;
    }

    .mobile-menu-btn {
        flex: 0 0 42px !important;
        display: inline-flex !important;
        width: 42px;
        height: 42px;
        margin-left: auto !important;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        background: #ffffff;
        cursor: pointer;
        position: relative;
        z-index: 3001;
    }

    .mobile-menu-btn span {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: #0f172a;
    }

    /*
       핵심:
       닫힌 상태에서는 display:none으로 공간 자체 제거
    */
    .header-menu-panel {
        display: none !important;
        position: fixed !important;
        top: 0;
        right: 0;
        z-index: 4000;
        width: 300px;
        max-width: 86vw;
        height: 100vh;
        padding: 20px;
        margin: 0 !important;
        background: #ffffff;
        box-shadow: -24px 0 60px rgba(15, 23, 42, 0.22);
        overflow-y: auto;
    }

    .header-menu-panel.is-open {
        display: block !important;
    }

    .mobile-menu-backdrop {
        display: none !important;
        position: fixed;
        inset: 0;
        z-index: 3990;
        background: rgba(15, 23, 42, 0.50);
        backdrop-filter: blur(3px);
    }

    .mobile-menu-backdrop.is-open {
        display: block !important;
    }

    .mobile-menu-head {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding-bottom: 18px;
        margin-bottom: 16px;
        border-bottom: 1px solid #e2e8f0;
    }

    .mobile-menu-close {
        display: inline-flex !important;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 999px;
        background: #f1f5f9;
        color: #0f172a;
        font-size: 26px;
        line-height: 1;
        cursor: pointer;
    }

    .header-menu-panel .nav {
        width: 100%;
        display: grid !important;
        gap: 8px;
        margin: 0 0 18px;
        padding: 0;
        overflow: visible !important;
        white-space: normal !important;
    }

    .header-menu-panel .nav a {
        display: flex;
        align-items: center;
        min-height: 46px;
        padding: 0 14px;
        border-radius: 14px;
        background: #f8fafc;
        color: #0f172a;
        font-size: 15px;
        font-weight: 900;
    }

    .header-menu-panel .user-menu {
        width: 100%;
        display: grid !important;
        justify-content: stretch !important;
        gap: 8px;
        padding-top: 16px;
        border-top: 1px solid #e2e8f0;
        white-space: normal !important;
    }

    .header-menu-panel .user-menu a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 0 14px;
        border-radius: 14px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        color: #334155;
        font-size: 14px;
        font-weight: 850;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }
}
/* =========================================================
   Yesoft UI Polish v2 - 사용자/관리자 공통 디자인 정리
   목적: 큰 폰트/투박한 간격 축소, 카드/테이블/헤더 세련화,
         모바일 사용자 햄버거 메뉴 클릭 전 공간 제거
========================================================= */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-soft: #eff6ff;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --radius: 16px;
    --shadow: 0 10px 28px rgba(15, 23, 42, 0.055);
    --shadow-hover: 0 16px 38px rgba(15, 23, 42, 0.085);
}

html {
    font-size: 15px;
}

body {
    color: var(--ink);
    font-size: 14px;
    line-height: 1.6;
    background:
        radial-gradient(circle at 10% -5%, rgba(37, 99, 235, 0.08), transparent 28rem),
        radial-gradient(circle at 92% 6%, rgba(14, 165, 233, 0.055), transparent 24rem),
        linear-gradient(180deg, #f8fbff 0%, #f7f8fb 45%, #f8fafc 100%);
}

/* 사용자 헤더 */
.header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(226, 232, 240, 0.88);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035);
    z-index: 3000;
}

.header-inner {
    min-height: 68px;
    padding: 12px 18px;
    align-items: center;
}

.logo {
    font-size: 22px;
    letter-spacing: -0.055em;
}

.logo-img-link {
    min-height: 40px;
}

.site-logo-img {
    height: 38px;
    max-width: 170px;
}

.header-menu-panel {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.nav {
    gap: 4px;
    font-size: 14px;
    font-weight: 760;
}

.nav a {
    padding: 8px 11px;
    border-radius: 999px;
    color: #475569;
}

.user-menu {
    gap: 6px;
    font-size: 13px;
    font-weight: 720;
}

.user-menu a {
    padding: 7px 9px;
    border-radius: 999px;
}

.container {
    max-width: 1160px;
    padding: 24px 18px;
}

/* 제목/카드/버튼 공통 */
.page-head {
    padding: 18px 20px;
    margin-bottom: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow);
}

.page-title {
    font-size: 25px;
    line-height: 1.25;
    letter-spacing: -0.055em;
}

.page-desc {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.card,
.card-flat,
.board-card,
.faq-item,
.stat-card,
.job-card,
.resume-card,
.resume-search-card,
.noti-card,
.msg-card,
.job-list-card,
.premium-card,
.premium-product-section,
.mypage-action-card,
.company-action-card {
    border-radius: 18px;
    border-color: rgba(226, 232, 240, 0.95);
    box-shadow: var(--shadow);
}

.card {
    padding: 22px;
}

.card-flat {
    padding: 19px;
}

.btn {
    min-height: 38px;
    padding: 0 15px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 820;
    box-shadow: none;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 9px 20px rgba(15, 23, 42, 0.07);
}

.input,
.select {
    height: 44px;
    border-radius: 12px;
    font-size: 14px;
}

.textarea {
    border-radius: 12px;
    font-size: 14px;
}

.search-box {
    padding: 14px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

/* 메인 화면 */
.main-banner-slider {
    padding: 10px;
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.main-banner-viewport,
.main-banner-slide {
    border-radius: 16px;
}

.main-banner-slide img {
    height: 210px;
}

.main-hero {
    padding: 40px 36px;
    border-radius: 28px;
    box-shadow: var(--shadow);
    background:
        radial-gradient(circle at 86% 18%, rgba(37, 99, 235, 0.16), transparent 24rem),
        linear-gradient(135deg, #f8fbff, #ffffff);
}

.main-hero-badge,
.mypage-hero-badge,
.pay-ready-badge {
    min-height: 28px;
    padding: 0 11px;
    font-size: 12px;
    font-weight: 850;
}

.main-hero h1 {
    margin-bottom: 12px;
    font-size: 36px;
    line-height: 1.22;
    letter-spacing: -0.075em;
}

.main-hero p {
    margin-bottom: 22px;
    color: #475569;
    font-size: 16px;
}

.section-head {
    margin-bottom: 14px;
}

.section-title {
    font-size: 22px;
    letter-spacing: -0.055em;
}

.section-desc {
    font-size: 13px;
}

.premium-section {
    margin: 28px 0;
}

.premium-product-section {
    margin-top: 16px;
    padding: 18px;
    border-radius: 22px;
}

.premium-product-head h3 {
    font-size: 20px;
}

.premium-grid {
    gap: 12px;
}

.premium-thumb {
    height: 132px;
}

.premium-body {
    padding: 14px;
}

.premium-title {
    min-height: 42px;
    font-size: 15px;
}

.premium-pay strong {
    font-size: 16px;
}

/* 채용 목록 */
.job-card {
    grid-template-columns: 112px 1fr auto;
    gap: 14px;
    padding: 15px;
    border-radius: 16px;
}

.job-thumb {
    width: 112px;
    height: 82px;
    border-radius: 13px;
    font-size: 15px;
}

.job-title,
.job-list-title,
.board-title,
.msg-title,
.noti-title {
    font-size: 17px;
    line-height: 1.42;
    letter-spacing: -0.045em;
}

.job-company,
.job-list-company {
    font-size: 13px;
}

.badge,
.apply-status {
    min-height: 24px;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 760;
}

.job-pay-amount {
    font-size: 18px;
}

/* 테이블 */
.table-wrap {
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.data-table th,
.data-table td {
    padding: 12px 10px;
    font-size: 13px;
}

.data-table th {
    font-weight: 850;
}

.data-table .btn {
    min-height: 32px !important;
    padding: 0 11px;
    font-size: 12px;
}

/* 개인/기업 대시보드 */
.mypage-hero,
.company-hero,
.pay-ready-hero {
    padding: 30px 28px;
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.mypage-hero h1,
.company-hero h1,
.pay-ready-hero h1 {
    font-size: 29px;
    line-height: 1.26;
}

.mypage-hero p,
.company-hero p,
.pay-ready-hero p {
    font-size: 14px;
}

.mypage-card-grid,
.company-action-grid {
    gap: 12px;
}

.mypage-action-card,
.company-action-card {
    min-height: 150px;
    padding: 20px;
    border-radius: 22px;
}

.mypage-action-card h2,
.company-action-card h2 {
    font-size: 17px;
}

/* 관리자 전체 톤 */
.admin-shell {
    grid-template-columns: 240px minmax(0, 1fr);
    background: #f8fafc;
}

.admin-sidebar {
    width: 240px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 14rem),
        linear-gradient(180deg, #111827, #020617);
}

.admin-sidebar-head {
    min-height: 62px;
    padding: 14px 14px 10px;
}

.admin-sidebar .admin-logo {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 15px;
}

.admin-sidebar .admin-menu {
    gap: 4px;
    padding: 8px 10px 20px;
}

.admin-sidebar .admin-menu-link,
.admin-sidebar .admin-menu-parent {
    min-height: 38px;
    padding: 0 11px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 760;
}

.admin-sidebar .admin-submenu {
    padding-left: 9px;
}

.admin-sidebar .admin-sub-link {
    min-height: 32px;
    padding: 0 11px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 720;
}

.admin-top {
    min-height: 62px;
    padding: 12px 20px;
}

.admin-top strong {
    font-size: 14px;
}

.admin-content {
    padding: 20px;
}

.stat-grid {
    gap: 12px;
}

.stat-card {
    padding: 17px;
    border-radius: 16px;
}

.stat-label {
    font-size: 12px;
}

.stat-value {
    font-size: 26px;
}

/* 푸터 */
.footer {
    margin-top: 54px;
}

.footer-inner {
    padding: 28px 18px;
    font-size: 12px;
}

.footer-links {
    font-size: 13px;
}

/* 사용자 모바일 헤더 최종 보정 */
.mobile-menu-btn,
.mobile-menu-head,
.mobile-menu-close,
.mobile-menu-backdrop {
    display: none !important;
}

@media (max-width: 900px) {
    .header-inner {
        min-height: 58px;
        padding: 9px 14px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }

    .logo-img-link {
        flex: 0 1 auto !important;
        min-width: 0;
        max-width: calc(100% - 52px);
        min-height: 38px;
    }

    .site-logo-img {
        height: 30px;
        max-width: 138px;
    }

    .mobile-menu-btn {
        flex: 0 0 38px !important;
        display: inline-flex !important;
        width: 38px;
        height: 38px;
        margin-left: auto !important;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        background: #ffffff;
        cursor: pointer;
        position: relative;
        z-index: 3001;
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    }

    .mobile-menu-btn span {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: #0f172a;
    }

    .header-menu-panel {
        display: none !important;
        position: fixed !important;
        top: 0;
        right: 0;
        z-index: 4000;
        width: 292px;
        max-width: 86vw;
        height: 100vh;
        padding: 18px;
        margin: 0 !important;
        background: #ffffff;
        box-shadow: -24px 0 60px rgba(15, 23, 42, 0.22);
        overflow-y: auto;
    }

    .header-menu-panel.is-open {
        display: block !important;
    }

    .mobile-menu-backdrop {
        display: none !important;
        position: fixed;
        inset: 0;
        z-index: 3990;
        background: rgba(15, 23, 42, 0.48);
        backdrop-filter: blur(3px);
    }

    .mobile-menu-backdrop.is-open {
        display: block !important;
    }

    .mobile-menu-head {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding-bottom: 14px;
        margin-bottom: 14px;
        border-bottom: 1px solid #e2e8f0;
    }

    .mobile-menu-head strong {
        font-size: 16px;
        font-weight: 900;
    }

    .mobile-menu-close {
        display: inline-flex !important;
        width: 34px;
        height: 34px;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 999px;
        background: #f1f5f9;
        color: #0f172a;
        font-size: 23px;
        line-height: 1;
        cursor: pointer;
    }

    .header-menu-panel .nav {
        width: 100%;
        display: grid !important;
        gap: 7px;
        margin: 0 0 16px;
        padding: 0;
        overflow: visible !important;
        white-space: normal !important;
    }

    .header-menu-panel .nav a {
        display: flex;
        align-items: center;
        min-height: 42px;
        padding: 0 13px;
        border-radius: 12px;
        background: #f8fafc;
        color: #0f172a;
        font-size: 14px;
        font-weight: 820;
    }

    .header-menu-panel .user-menu {
        width: 100%;
        display: grid !important;
        justify-content: stretch !important;
        gap: 7px;
        padding-top: 14px;
        border-top: 1px solid #e2e8f0;
        white-space: normal !important;
    }

    .header-menu-panel .user-menu a {
        display: flex;
        align-items: center;
        min-height: 40px;
        padding: 0 13px;
        border-radius: 12px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        color: #334155;
        font-size: 13px;
        font-weight: 780;
    }

    .container {
        padding: 18px 14px;
    }

    .page-head {
        padding: 16px;
        border-radius: 16px;
    }

    .page-title {
        font-size: 22px;
    }

    .main-banner-slide img {
        height: 150px;
    }

    .main-hero {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .main-hero h1 {
        font-size: 28px;
    }

    .main-hero p {
        font-size: 14px;
    }

    .job-card {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .job-thumb {
        width: 100%;
        height: 136px;
    }

    .premium-grid {
        grid-template-columns: 1fr;
    }

    .admin-shell {
        display: block;
    }

    .admin-sidebar {
        width: 292px;
        max-width: 84vw;
    }

    .admin-content {
        padding: 16px 14px;
    }

    .admin-top {
        padding: 10px 14px;
    }
}

@media (min-width: 901px) {
    .mobile-menu-btn,
    .mobile-menu-head,
    .mobile-menu-close,
    .mobile-menu-backdrop {
        display: none !important;
    }
}
/* 채용목록 제목 축소 및 결과 정렬 도구 */
.container > .page-head { padding: 18px 22px; border-radius: 16px; }
.container > .page-head .page-title { font-size: 21px; font-weight: 750; letter-spacing: -0.035em; line-height: 1.3; }
.container > .page-head .page-desc { margin-top: 5px; font-size: 13px; font-weight: 400; line-height: 1.55; }
.job-result-toolbar { margin: 24px 0 14px; padding: 0 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #cbd5e1; }
.job-result-count { color: #64748b; font-size: 14px; font-weight: 400; }
.job-result-count strong { color: #334155; font-weight: 700; }
.job-result-options { display: flex; align-items: center; gap: 8px; }
.job-result-options select { min-width: 122px; min-height: 42px; padding: 0 36px 0 13px; border: 1px solid #d1d5db; border-radius: 10px; background-color: #fff; color: #334155; font-size: 13px; font-weight: 500; cursor: pointer; }
@media (max-width: 760px) {
    .container > .page-head { padding: 15px 16px; }
    .container > .page-head .page-title { font-size: 18px; font-weight: 700; }
    .container > .page-head .page-desc { font-size: 12px; }
    .job-result-toolbar { align-items: flex-start; flex-direction: column; }
    .job-result-options { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .job-result-options select { width: 100%; min-width: 0; padding: 0 25px 0 8px; font-size: 12px; }
}
@media (max-width: 430px) { .job-result-options { grid-template-columns: 1fr; } }

/* 인재정보 개인정보 보호 및 상세 버튼 정렬 */
.privacy-mask {
    display: inline-block;
    color: #64748b;
    font-weight: 650;
    letter-spacing: .02em;
}

.resume-private-notice {
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #eff6ff;
    color: #1e40af;
    font-size: 13px;
    line-height: 1.5;
}

.resume-private-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    margin-top: 12px;
}

.resume-private-actions form {
    display: inline-flex;
    margin: 0;
}

.resume-private-actions .btn {
    width: auto;
    white-space: nowrap;
}

@media (max-width: 430px) {
    .resume-private-actions { gap: 6px; }
    .resume-private-actions .btn {
        padding-left: 12px;
        padding-right: 12px;
        font-size: 13px;
    }
}

/* 인재정보 목록: 비교하기 쉬운 반응형 카드 배열 */
.resume-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.resume-search-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px 20px 18px;
    border-radius: 16px;
}

.resume-card-head {
    min-width: 0;
    text-align: center;
}

.resume-search-card .resume-mini-photo {
    width: 62px;
    height: 62px;
    margin: 0 auto 10px;
    border-radius: 50%;
    font-size: 12px;
}

.resume-card-name {
    margin: 0 0 7px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 750;
}

.resume-card-title {
    display: -webkit-box;
    min-height: 42px;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.45;
}

.resume-card-info {
    display: grid;
    gap: 8px;
    margin-top: 17px;
}

.resume-card-info p {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    margin: 0;
    min-width: 0;
}

.resume-info-icon {
    color: #94a3b8;
    font-size: 12px;
}

.resume-card-info strong {
    overflow: hidden;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.resume-card-badges {
    min-height: 31px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #eef2f7;
}

.resume-card-date {
    margin-left: auto;
    color: #94a3b8;
    font-size: 11px;
}

.resume-search-card .resume-action-box {
    display: block;
    margin-top: 12px;
}

.resume-search-card .resume-action-box .btn {
    width: 100%;
    min-height: 38px;
}

@media (max-width: 980px) {
    .resume-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .resume-list { grid-template-columns: 1fr; }
    .resume-search-card { padding: 18px 16px 16px; }
}

/* 사이트 전체 바탕: 컬러/그라데이션 제거 후 화이트 톤 통일 */
html,
body,
body.job-modern-layout {
    background-color: #ffffff !important;
    background-image: none !important;
}

main.container {
    background-color: transparent;
    background-image: none;
}

/* 메인 배너를 감싸는 큰 둥근 외곽 박스 제거 */
.main-banner-slider,
body.job-modern-layout .main-banner-slider {
    padding: 0 0 14px !important;
    border: 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* 유료 채용상품 전체를 감싸는 큰 둥근 외곽 박스 제거 */
.premium-product-section,
body.job-modern-layout .premium-product-section {
    padding: 0 0 28px !important;
    border: 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

.premium-product-section + .premium-product-section {
    margin-top: 30px;
}

@media (max-width: 760px) {
    .main-banner-slider,
    body.job-modern-layout .main-banner-slider {
        padding-bottom: 10px !important;
    }

    .premium-product-section,
    body.job-modern-layout .premium-product-section {
        padding-bottom: 22px !important;
    }
}

/* =========================================================
   2026-08-31 마이페이지 이력서 관리 전용 레이아웃 최종 보정
   - 공개 인재정보 목록(.resume-list)과 충돌하지 않도록 my-resume-* 전용 클래스 사용
   - /mypage/resume_list.asp 전용
========================================================= */

.my-resume-page {
    width: 100%;
    max-width: 1124px;
    margin: 0 auto;
}

.my-resume-page .page-head,
.my-resume-page-head {
    width: 100% !important;
    margin: 0 0 16px !important;
    padding: 22px 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    border: 1px solid #dde8ee !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045) !important;
}

.my-resume-list {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.my-resume-card {
    width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) 132px !important;
    gap: 18px !important;
    align-items: center !important;
    padding: 18px 20px !important;
    border: 1px solid #dde8ee !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045) !important;
}

.my-resume-photo-box,
.my-resume-photo {
    width: 96px !important;
    height: 96px !important;
}

.my-resume-photo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    object-fit: cover !important;
    background: #eaf2fd !important;
    color: #2563eb !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
}

.my-resume-main {
    min-width: 0 !important;
}

.my-resume-title-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
}

.my-resume-title-row h2 {
    min-width: 0 !important;
    margin: 0 !important;
    color: #111827 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.42 !important;
    letter-spacing: -0.03em !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.my-resume-public {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 25px !important;
    padding: 0 9px !important;
    border-radius: 999px !important;
    background: #e9fbf7 !important;
    color: #0f766e !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    line-height: 1 !important;
}

.my-resume-public.is-private {
    background: #f1f5f9 !important;
    color: #64748b !important;
}

.my-resume-member {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 5px 9px !important;
    margin: 8px 0 0 !important;
    color: #475569 !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

.my-resume-member strong {
    color: #111827 !important;
    font-weight: 650 !important;
}

.my-resume-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 11px !important;
}

.my-resume-tags span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 25px !important;
    padding: 0 9px !important;
    border-radius: 999px !important;
    background: #f3f4f6 !important;
    color: #475569 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}

.my-resume-side {
    display: grid !important;
    justify-items: end !important;
    gap: 10px !important;
}

.my-resume-date {
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

.my-resume-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
}

.my-resume-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 46px !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    border: 1px solid transparent !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    transform: none !important;
}

.my-resume-btn.is-edit {
    border-color: #bfdbfe !important;
    background: #eff6ff !important;
    color: #2563eb !important;
}

.my-resume-btn.is-delete {
    border-color: #fecaca !important;
    background: #ef4444 !important;
    color: #ffffff !important;
}

.my-resume-btn:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: brightness(0.98);
}

@media (max-width: 760px) {
    .my-resume-page .page-head,
    .my-resume-page-head {
        align-items: flex-start !important;
        flex-direction: column !important;
        padding: 18px !important;
        border-radius: 18px !important;
    }

    .my-resume-page-head .btn {
        width: 100% !important;
    }

    .my-resume-card {
        grid-template-columns: 76px minmax(0, 1fr) !important;
        align-items: start !important;
        gap: 14px !important;
        padding: 16px !important;
        border-radius: 18px !important;
    }

    .my-resume-photo-box,
    .my-resume-photo {
        width: 76px !important;
        height: 76px !important;
        border-radius: 18px !important;
    }

    .my-resume-title-row {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 7px !important;
    }

    .my-resume-title-row h2 {
        width: 100% !important;
        font-size: 16px !important;
        white-space: normal !important;
    }

    .my-resume-member {
        display: grid !important;
        gap: 3px !important;
        font-size: 13px !important;
    }

    .my-resume-side {
        grid-column: 1 / -1 !important;
        justify-items: stretch !important;
        gap: 9px !important;
        padding-top: 12px !important;
        border-top: 1px solid #eef2f7 !important;
    }

    .my-resume-actions {
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
    }
}

/* =========================================================
   /company/resume_scrap_list.asp 상세보기/삭제 버튼 최종 보정
   기존 .resume-search-card .resume-action-box .btn { width:100%; } 규칙보다
   반드시 style.css 맨 아래에 배치해야 적용됩니다.
========================================================= */

/* 스크랩 인재 카드 버튼 영역 */
.resume-search-card .resume-action-box,
.resume-scrap-card .resume-action-box,
.scrap-resume-card .resume-action-box,
.company-resume-scrap-list .resume-action-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    margin-top: 14px !important;
}

/* 삭제 form 이 버튼 하나처럼 크게 잡히는 현상 제거 */
.resume-search-card .resume-action-box form,
.resume-scrap-card .resume-action-box form,
.scrap-resume-card .resume-action-box form,
.company-resume-scrap-list .resume-action-box form {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 상세보기/삭제 버튼 크기 최종 축소 */
.resume-search-card .resume-action-box .btn,
.resume-scrap-card .resume-action-box .btn,
.scrap-resume-card .resume-action-box .btn,
.company-resume-scrap-list .resume-action-box .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 58px !important;
    max-width: none !important;
    min-height: 26px !important;
    height: 26px !important;
    padding: 0 11px !important;
    border-radius: 999px !important;
    font-size: 10.5px !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
    box-shadow: none !important;
    transform: none !important;
    white-space: nowrap !important;
}

.resume-search-card .resume-action-box .btn:hover,
.resume-scrap-card .resume-action-box .btn:hover,
.scrap-resume-card .resume-action-box .btn:hover,
.company-resume-scrap-list .resume-action-box .btn:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* 상세보기 */
.resume-search-card .resume-action-box .btn-primary,
.resume-search-card .resume-action-box .btn-soft,
.resume-scrap-card .resume-action-box .btn-primary,
.resume-scrap-card .resume-action-box .btn-soft,
.scrap-resume-card .resume-action-box .btn-primary,
.scrap-resume-card .resume-action-box .btn-soft,
.company-resume-scrap-list .resume-action-box .btn-primary,
.company-resume-scrap-list .resume-action-box .btn-soft {
    background: #0f8f7a !important;
    border: 1px solid #0f8f7a !important;
    color: #ffffff !important;
}

/* 삭제 */
.resume-search-card .resume-action-box .btn-danger,
.resume-scrap-card .resume-action-box .btn-danger,
.scrap-resume-card .resume-action-box .btn-danger,
.company-resume-scrap-list .resume-action-box .btn-danger {
    background: #ef4444 !important;
    border: 1px solid #ef4444 !important;
    color: #ffffff !important;
}

@media (max-width: 640px) {
    .resume-search-card .resume-action-box,
    .resume-scrap-card .resume-action-box,
    .scrap-resume-card .resume-action-box,
    .company-resume-scrap-list .resume-action-box {
        justify-content: flex-start !important;
        gap: 5px !important;
        flex-wrap: wrap !important;
    }

    .resume-search-card .resume-action-box .btn,
    .resume-scrap-card .resume-action-box .btn,
    .scrap-resume-card .resume-action-box .btn,
    .company-resume-scrap-list .resume-action-box .btn {
        min-width: 54px !important;
        min-height: 25px !important;
        height: 25px !important;
        padding: 0 9px !important;
        font-size: 10px !important;
    }
}
