/* 컨테이너 */
.hustoj-container {
    max-width: 1100px;
    margin: 20px auto;
}

/* 검색 */
.search-box {
    margin-bottom: 15px;
    display: flex;
    gap: 8px;
}

.search-box input {
    padding: 6px;
}

/* 테이블 */
.problem-table {
    width: 100%;
    border-collapse: collapse;
}

.problem-table th, .problem-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.problem-table td:nth-child(3) {
    text-align: left;
}

/* 상태 */
.status-box {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 3px;
}

.success { background: #4CAF50; }
.fail { background: #F44336; }

/* 정답률 바 */
.rate-bar {
    position: relative;
    width: 120px;
    height: 18px;
    background: #eee;
    border-radius: 9px;
    overflow: hidden;
}

.rate-fill {
    height: 100%;
    transition: width 0.3s;
}

.rate-fill.high { background: #4CAF50; }
.rate-fill.mid { background: #ff9800; }
.rate-fill.low { background: #f44336; }

/* 텍스트 */
.rate-text {
    position: absolute;
    width: 100%;
    text-align: center;
    line-height: 18px;
    font-size: 11px;
    font-weight: bold;
}
/* 페이지 */
.pagination {
    margin-top: 15px;
    text-align: center;
}

.pagination a {
    padding: 5px 8px;
    border: 1px solid #ddd;
    margin: 2px;
    text-decoration: none;
}

.pagination .active {
    background: #0073aa;
    color: white;
}