/* Products Page Specific Styles */

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

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
}

.close-btn:hover {
    color: #343a40;
}

.tags-display {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tag {
    background: #e9ecef;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: #495057;
}

.description-box {
    min-height: 80px;
    max-height: 200px;
    overflow-y: auto;
    white-space: pre-line;
    line-height: 1.5;
}

.product-detail-img {
    border: 1px solid #dee2e6;
    background: white;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #495057;
}

/* NEW: Search method indicator */
.search-method-indicator {
    background-color: #f8f9fa;
    padding: 8px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    border-left: 4px solid #28a745;
    font-size: 14px;
}

/* NEW: Search buttons */
.search-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 5px;
}

.search-btn:hover {
    background-color: #218838;
}

.search-btn[title="通用搜索"] {
    background-color: #007bff;
}

.search-btn[title="通用搜索"]:hover {
    background-color: #0056b3;
}

/* Simple Configuration Status Badges */
.config-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    min-width: 70px;
    text-align: center;
}

.config-status-configured {
    background-color: #28a745;
    color: white;
}

.config-status-not-configured {
    background-color: #6c757d;
    color: white;
}

/* Pagination Styling */
.page-range-info {
    font-size: 16px;
    font-weight: 500;
    color: #495057;
    padding: 8px 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

/* Table header info adjustment */
.table-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}