/* Variations Tab Styles */
.variations-tab {
    padding: 20px 0;
}

.variations-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}

.variations-actions {
    display: flex;
    gap: 10px;
}

.no-variations,
.no-attributes {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #6c757d;
}

.loading-state {
    text-align: center;
    padding: 40px 20px;
}

.variations-table {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.table-header,
.table-row {
    display: grid;
    grid-template-columns: 60px 2fr 120px 120px 100px 80px 100px;
    gap: 12px;
    padding: 12px;
    align-items: center;
}

.table-header {
    background: #f8f9fa;
    font-weight: 600;
    border-bottom: 1px solid #dee2e6;
}

.table-row {
    border-bottom: 1px solid #f1f3f4;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:hover {
    background: #f8f9fa;
}

.variation-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.no-image {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 16px;
}

.price-info {
    font-size: 0.9em;
}

.sale-price {
    color: #dc3545;
    font-weight: 600;
}

.stock-status {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
}

.stock-status.in-stock {
    background: #d4edda;
    color: #155724;
}

.stock-status.out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

.status-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
}

.status-badge.enabled {
    background: #d4edda;
    color: #155724;
}

.status-badge.disabled {
    background: #f8d7da;
    color: #721c24;
}

.col-actions {
    display: flex;
    gap: 5px;
}

.btn-sm {
    padding: 4px 8px;
    font-size: 0.8em;
    min-width: auto;
}

/* Virtual Product Notice */
.virtual-product-notice {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.notice-content {
    text-align: center;
    padding: 30px;
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    max-width: 500px;
}

.notice-content h4 {
    margin: 0 0 15px 0;
    color: #1976d2;
    font-size: 1.2em;
}

.notice-content p {
    margin: 10px 0;
    color: #424242;
    line-height: 1.5;
}

/* Variation Modal Styles */
.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f3f4;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.1em;
    font-weight: 600;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
}

/* Generate Modal Styles */
.generate-confirmation {
    text-align: center;
    padding: 20px;
}

.warning-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.combinations-info {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    text-align: left;
}

.combinations-info ul {
    margin: 10px 0;
    padding-left: 20px;
}

.combinations-info li {
    margin: 8px 0;
}

.terms-preview {
    color: #6c757d;
    font-size: 0.9em;
    margin-left: 8px;
}

.combinations-count {
    background: #e9ecef;
    padding: 12px;
    border-radius: 4px;
    margin-top: 12px;
    text-align: center;
}

.error-message {
    color: #dc3545;
    font-weight: bold;
    margin-top: 8px;
}

.generation-preview {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    text-align: left;
}

.preview-list {
    margin-top: 10px;
}

.preview-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 8px 12px;
    margin: 4px 0;
    font-family: monospace;
    font-size: 0.9em;
}

.preview-more {
    color: #6c757d;
    font-style: italic;
    margin-top: 8px;
    text-align: center;
}