#base_wrap {
    min-height: 100dvh;
    /* background: #f7f7f4; */
    color: #202124;
    font-family: "Noto Sans KR", sans-serif;
}

main {
    min-height: calc(100dvh - 112px);
}

/* ======= btn ======= */
.btn_default {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.btn_default:disabled {
    background-color: #e8e8e8;
    border-color: #e8e8e8;
}

.fill_lime {
    background-color: #b0e68e;
    border-color: #b0e68e;
}

.fill_sky {
    background-color: #ace3ea;
    border-color: #ace3ea;
}


.page_layout .page_content {
    padding: 28px 36px;
}

.page_content .page_title {
    margin: 0 0 24px 0;
    font-size: 28px;
    font-weight: 700;
    color: #6f8a99;
}

.promo_table_wrap {
    margin-bottom: 16px;
}

.promo_table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.promo_table tr {
    border: 1px solid #e5e5e5;
}

.promo_table thead th {
    background: #ccc;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    text-align: left;
    border: 0;
}

.promo_table tbody tr:nth-child(odd) {
    background-color: #fff;
}

.promo_table tbody tr:nth-child(even) {
    background-color: #f1f1f1;
}

.promo_table tbody td {
    padding: 8px 12px;
    font-size: 14px;
    color: #1a1a1a;
    text-align: left;
    background: transparent;
}

.promo_table .btn_default {
    height: 24px;
    padding: 0 10px;
    background: #ededed;
    border: 1px solid #b8b8b8;
    font-size: 12px;
    color: #333333;
    border-radius: 2px;
    cursor: pointer;
}

/* ── 3:7 레이아웃 ── */
.content_layout {
    display: flex;
    gap: 20px;
}

.content_left {
    width: 30%;
    min-width: 220px;
    max-width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.content_right {
    flex: 1;
    min-width: 0;
}

/* ── 왼쪽: 그룹 목록 ── */
.group_nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
}

.group_nav_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
    border: 1px solid transparent;
}

.group_nav_item:hover {
    background: #f0f0f0;
}

.group_nav_item.active {
    background: #e8edf5;
    border-color: #667eea;
}

.group_nav_title {
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.group_nav_item.active .group_nav_title {
    font-weight: 700;
    color: #667eea;
}

.group_nav_count {
    background: #eee;
    color: #888;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.group_nav_item.active .group_nav_count {
    background: #667eea;
    color: #fff;
}

.group_nav_empty {
    color: #aaa;
    font-size: 13px;
    text-align: center;
    padding: 20px 0;
}