@import url('reset.css');
html,
body {
  font-size: 16px;
  color: #000;
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  line-height: 1;
}

/* ---- Search Filter ---- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.filter-bar .filter-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.filter-bar .filter-field label {
    font-size: 12px;
    font-weight: 500;
    color: #888;
}

.filter-bar .filter-field select,
.filter-bar .filter-field input {
    padding: 7px 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    box-sizing: border-box;
    min-width: 120px;
}

.filter-bar .filter-field select:focus,
.filter-bar .filter-field input:focus {
    border-color: #005bab;
    outline: none;
}

.filter-bar .filter-actions {
    display: flex;
    gap: 6px;
}

@media screen and (max-width: 480px) {
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-bar .filter-field select,
    .filter-bar .filter-field input {
        width: 100%;
    }
}

/* ---- Tag (공통 보충) ---- */
.tag-danger {
    background: #ffebee;
    color: #c62828;
}

/* ---- Pagination ---- */
.paging-wrap {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.paging {
    list-style: none;
    display: flex;
    gap: 0;
    padding: 0;
    margin: 0;
}

.paging .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.paging .page-item + .page-item .page-link {
    margin-left: -1px;
}

.paging .page-item:first-child .page-link {
    border-radius: 6px 0 0 6px;
}

.paging .page-item:last-child .page-link {
    border-radius: 0 6px 6px 0;
}

.paging .page-item .page-link:hover {
    background: #f0f0f0;
}

.paging .page-item.active .page-link {
    background: #005bab;
    color: #fff;
    border-color: #005bab;
    z-index: 1;
}

.paging .page-item.disabled .page-link {
    color: #ccc;
    pointer-events: none;
    background: #fafafa;
}
