/* 商品管理画面 */

.products-master-view {
    padding: 2rem;
}

.products-master-intro {
    background: linear-gradient(135deg, #EBF4FF 0%, #E0E7FF 100%);
    border-left: 4px solid #4F46E5;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.products-master-intro p {
    margin: 0;
    color: #4B5563;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.products-master-intro i {
    color: #4F46E5;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.seller-link {
    color: #4F46E5;
    text-decoration: none;
    font-weight: 500;
}

.seller-link:hover {
    text-decoration: underline;
}

.price-cell {
    font-weight: 600;
    color: #059669;
}

.products-summary {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #F9FAFB;
    border-radius: 8px;
    text-align: center;
}

.products-summary p {
    margin: 0;
    font-size: 1.1rem;
    color: #4B5563;
}

.products-summary strong {
    color: #1F2937;
    font-size: 1.3rem;
}

/* CSVアップロードモーダル */

.upload-intro {
    background: #FEF3C7;
    border-left: 4px solid var(--color-warning);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.upload-intro p {
    margin: 0;
    color: #92400E;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.upload-intro i {
    color: var(--color-warning);
}

.upload-area {
    text-align: center;
    padding: 3rem 2rem;
    border: 3px dashed #D1D5DB;
    border-radius: 12px;
    background: #F9FAFB;
    margin-bottom: 2rem;
    transition: all 0.3s;
}

.upload-area:hover {
    border-color: #4F46E5;
    background: #EBF4FF;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    color: #4B5563;
    font-size: 1.1rem;
    font-weight: 500;
}

.upload-label i {
    font-size: 3rem;
    color: #4F46E5;
}

.upload-label:hover {
    color: #4F46E5;
}

.csv-preview {
    margin-top: 2rem;
}

.csv-preview h4 {
    font-size: 1.2rem;
    color: #1F2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.upload-count {
    margin-top: 1rem;
    text-align: center;
    font-size: 1.1rem;
    color: #4B5563;
}

.upload-count strong {
    color: #059669;
    font-size: 1.3rem;
}

/* 商品ステータスバッジ */
.status-badge.status-active {
    background: #D1FAE5;
    color: #065F46;
}

.status-badge.status-paused {
    background: #FED7AA;
    color: #92400E;
}

.status-badge.status-ended {
    background: #E5E7EB;
    color: #6B7280;
}

/* データテーブル */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.data-table thead {
    background: #F3F4F6;
}

.data-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #E5E7EB;
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid #E5E7EB;
}

.data-table tbody tr:hover {
    background: #F9FAFB;
}

.data-table code {
    background: #EBF4FF;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #4F46E5;
    font-size: 0.9rem;
}

.no-data {
    text-align: center;
    padding: 3rem 2rem;
    color: #9CA3AF;
    font-size: 1.1rem;
}

.no-data i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .header-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .header-actions button {
        width: 100%;
    }
    
    .data-table {
        font-size: 0.85rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.5rem;
    }
}
