.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50;
    transition: opacity 0.3s;
}

.rating-stars .fa-star {
    color: #e5e7eb;
}

.rating-stars .fa-star.text-yellow-400 {
    color: #facc15;
}

.type-selector input[type="radio"] {
    display: none;
}

.type-selector label {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.type-selector input[type="radio"]:checked + label {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
    font-weight: 600;
}

[title] {
    cursor: help;
}

/* 탭 스타일 */
.tab-btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: #64748b;
    background: transparent;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.tab-btn:hover {
    color: #3b82f6;
    background: #f1f5f9;
}

.tab-btn.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
    background: #eff6ff;
}

.badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    margin-left: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    background-color: #94a3b8;
    border-radius: 9999px;
    min-width: 1.5rem;
    text-align: center;
}

.tab-btn.active .badge {
    background-color: #3b82f6;
}

/* 업로드 진행 상황 표시 */
.upload-progress {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 100;
    min-width: 300px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.3s;
}

/* 모바일 반응형 테이블 */
@media (max-width: 767px) {
    .responsive-table thead {
        display: none;
    }
    
    .responsive-table tbody,
    .responsive-table tr {
        display: block;
    }
    
    .responsive-table tr {
        margin-bottom: 1.5rem;
        border: 1px solid #e5e7eb;
        border-radius: 0.5rem;
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }
    
    .responsive-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        text-align: right;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .responsive-table td:last-child {
        border-bottom: none;
    }
    
    .responsive-table td::before {
        content: attr(data-label);
        font-weight: 600;
        text-align: left;
        margin-right: 1rem;
        color: #4b5563;
    }
    
    .responsive-table .rating-stars {
        justify-content: flex-end;
    }
}
