/* 생산 관리 게시판 스킨 공통 스타일 */

/* 상태 뱃지 */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-processing {
    background: #cce5ff;
    color: #004085;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

/* 버튼 스타일 */
.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #0066cc;
    color: white;
}

.btn-primary:hover {
    background: #0052a3;
    text-decoration: none;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    text-decoration: none;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
    text-decoration: none;
}

/* 품목 구분 뱃지 */
.badge-product {
    background: #e3f2fd;
    color: #1565c0;
}

.badge-material {
    background: #fff3e0;
    color: #e65100;
}

.badge-package {
    background: #f3e5f5;
    color: #6a1b9a;
}

.badge-part {
    background: #e8f5e9;
    color: #2e7d32;
}

/* 반응형 */
@media (max-width: 768px) {
    .production-list,
    .production-write,
    .production-view {
        padding: 15px;
    }

    .prod-table {
        font-size: 13px;
    }

    .prod-table th,
    .prod-table td {
        padding: 8px 5px;
    }

    .form-row {
        flex-direction: column;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}
