/* ============================================================
   SK AX 스타일 공통 CSS (skax.co.kr 디자인 참고)
   - 메인 컬러  : #F5280B (레드) → #FB9136 (오렌지) 그라데이션
   - 텍스트     : #111111 / #363636 / #808080
   - 테두리/배경: #E6E6E6 / #F9F9F9
   - 폰트       : Pretendard
   ============================================================ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Pretendard", "Pretendard Variable", -apple-system, "Malgun Gothic", sans-serif;
    color: #111111;
    background-color: #f9f9f9;
    line-height: 1.6;
}

/* ── 상단 내비게이션 바 ─────────────────────────────── */
.topbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e6e6e6;
    position: sticky;
    top: 0;
    z-index: 10;
}

.topbar-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: #111111;
}

.logo .accent {
    color: #f5280b;
}

.topbar nav a {
    display: inline-block;
    margin-left: 28px;
    padding: 19px 0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: #363636;
    border-bottom: 3px solid transparent;
}

.topbar nav a:hover {
    color: #f5280b;
}

.topbar nav a.active {
    color: #f5280b;
    border-bottom-color: #f5280b;
}

/* ── 본문 레이아웃 ──────────────────────────────────── */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.page-title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.page-desc {
    color: #808080;
    font-size: 15px;
    margin-bottom: 28px;
}

/* 제목 왼쪽의 포인트 그라데이션 바 */
.page-title::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 24px;
    margin-right: 12px;
    border-radius: 3px;
    background: linear-gradient(180deg, #f5280b, #fb9136);
}

/* ── 카드 ───────────────────────────────────────────── */
.card {
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 24px;
}

.card h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* ── 폼 요소 ────────────────────────────────────────── */
input[type="text"],
input[type="number"],
input[type="email"],
select {
    height: 42px;
    padding: 0 14px;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #111111;
    background-color: #ffffff;
    outline: none;
}

input:focus,
select:focus {
    border-color: #f5280b;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #363636;
    margin-bottom: 6px;
}

/* ── 버튼 ───────────────────────────────────────────── */
.btn {
    display: inline-block;
    height: 42px;
    padding: 0 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    line-height: 42px;
}

/* 메인 버튼: SK AX 레드 → 오렌지 그라데이션 */
.btn-primary {
    background: linear-gradient(90deg, #f5280b, #fb9136);
    color: #ffffff;
}

.btn-primary:hover {
    opacity: 0.85;
}

/* 보조 버튼: 흰 배경 + 테두리 */
.btn-outline {
    background-color: #ffffff;
    border: 1px solid #cfcfcf;
    color: #363636;
    line-height: 40px;
}

.btn-outline:hover {
    border-color: #f5280b;
    color: #f5280b;
}

/* 삭제 버튼: 작고 옅은 스타일, hover 시 레드 */
.btn-delete {
    height: 32px;
    padding: 0 14px;
    line-height: 30px;
    font-size: 13px;
    background-color: #ffffff;
    border: 1px solid #cfcfcf;
    color: #808080;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
}

.btn-delete:hover {
    border-color: #f5280b;
    color: #f5280b;
}

/* 작은 버튼 (테이블 안) */
.btn-sm {
    height: 34px;
    padding: 0 16px;
    line-height: 34px;
    font-size: 13px;
}

/* ── 테이블 ─────────────────────────────────────────── */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

thead th {
    background-color: #f9f9f9;
    color: #555555;
    font-weight: 700;
    text-align: left;
    padding: 12px 16px;
    border-top: 2px solid #111111;
    border-bottom: 1px solid #e6e6e6;
}

tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid #e6e6e6;
    color: #363636;
}

tbody tr:hover {
    background-color: #fff6f2;   /* 브랜드 컬러 계열의 옅은 하이라이트 */
}

.empty-row td {
    text-align: center;
    color: #808080;
    padding: 28px;
}

/* ── 상태 배지 ──────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.badge-done {
    background-color: #fff0eb;
    color: #f5280b;
    border: 1px solid #fb9136;
}

/* ── 메인 화면(index) 전용 ──────────────────────────── */
.hero {
    padding: 56px 0 40px;
}

.hero h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.3;
}

.hero h1 .gradient {
    background: linear-gradient(90deg, #f5280b, #fb9136);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    margin-top: 12px;
    font-size: 16px;
    color: #808080;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.menu-card {
    display: block;
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    padding: 28px;
    text-decoration: none;
    color: #111111;
    transition: border-color 0.15s, transform 0.15s;
}

.menu-card:hover {
    border-color: #f5280b;
    transform: translateY(-3px);
}

.menu-card .num {
    font-size: 14px;
    font-weight: 800;
    color: #f5280b;
}

.menu-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 8px 0 6px;
}

.menu-card p {
    font-size: 14px;
    color: #808080;
}

.menu-card .go {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 700;
    color: #f5280b;
}
