/**
 * Computer Set List Styles
 * Version: 1.0.0
 */

:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary-color: #f59e0b;
    --secondary-dark: #d97706;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Container */
.comset-list-wrapper-def456 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Header */
.comset-list-header-ghi789 {
    margin-bottom: 30px;
}

.comset-list-title-jkl012 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 20px 0;
}

/* Controls */
.comset-controls-mno345 {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

/* Search */
.comset-search-pqr678 {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input-stu901 {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
    background: var(--white);
}

.search-input-stu901:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-icon-vwx234 {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

/* Filters */
.comset-filters-yza567 {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn-abc890 {
    padding: 10px 20px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn-abc890:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.filter-btn-abc890.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* Grid */
.comset-grid-container-bcd123 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* Card */
.comset-card-jkl345 {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
}

.comset-card-jkl345:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-image-container-mno678 {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--gray-100);
}

.card-image-pqr901 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.comset-card-jkl345:hover .card-image-pqr901 {
    transform: scale(1.05);
}

.card-status-badge-stu234 {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
}

.card-status-badge-stu234.status-active {
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.card-status-badge-stu234.status-maintenance {
    color: var(--warning-color);
    border: 1px solid var(--warning-color);
}

.card-status-badge-stu234.status-retired {
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

/* Card Content */
.card-content-vwx567 {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title-yza890 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.card-info-bcd345 {
    flex: 1;
    margin-bottom: 16px;
}

.card-info-bcd345 p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px 0;
    color: var(--gray-600);
    font-size: 14px;
}

.card-info-bcd345 svg {
    flex-shrink: 0;
    color: var(--gray-400);
}

.card-code-efg678 {
    font-weight: 600;
    color: var(--primary-color);
}

.card-price-klm234 {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Card Actions */
.card-actions-nop567 {
    display: flex;
    gap: 8px;
}

.btn-view-spec-qrs890,
.btn-edit-card-tuv123 {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-view-spec-qrs890 {
    background: var(--primary-color);
    color: var(--white);
}

.btn-view-spec-qrs890:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-edit-card-tuv123 {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.btn-edit-card-tuv123:hover {
    background: var(--gray-200);
    transform: translateY(-1px);
}

/* Skeleton Loading */
.comset-card-skeleton-efg456 {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.skeleton-image-hij789 {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-content-klm012 {
    padding: 20px;
}

.skeleton-title-nop345 {
    height: 20px;
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 12px;
}

.skeleton-text-qrs678 {
    height: 14px;
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-text-qrs678.short {
    width: 60%;
}

.skeleton-buttons-tuv901 {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.skeleton-button-wxy234 {
    flex: 1;
    height: 38px;
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Load More */
.comset-load-more-container-zab567 {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn-cde890 {
    padding: 12px 32px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.load-more-btn-cde890:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Modal */
.comset-modal-fgh123 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
}

.modal-overlay-ijk456 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content-lmn789 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
}

.modal-close-opq012 {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-100);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--gray-600);
    transition: var(--transition);
    z-index: 1;
}

.modal-close-opq012:hover {
    background: var(--gray-200);
    transform: rotate(90deg);
}

.modal-header-rst345 {
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
}

.modal-title-uvw678 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.modal-body-xyz901 {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.modal-footer-abc234 {
    padding: 16px 24px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-edit-modal-def567,
.btn-close-modal-ghi890 {
    padding: 10px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-edit-modal-def567 {
    background: var(--primary-color);
    color: var(--white);
}

.btn-edit-modal-def567:hover {
    background: var(--primary-dark);
}

.btn-close-modal-ghi890 {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn-close-modal-ghi890:hover {
    background: var(--gray-200);
}

/* Modal Content */
.modal-loading {
    text-align: center;
    padding: 60px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal-spec-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.spec-image-section {
    text-align: center;
}

.spec-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.spec-info-section h4,
.spec-components-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table th {
    text-align: left;
    padding: 8px 12px;
    background: var(--gray-50);
    color: var(--gray-700);
    font-weight: 500;
    font-size: 14px;
    width: 35%;
}

.spec-table td {
    padding: 8px 12px;
    color: var(--gray-600);
    font-size: 14px;
}

.spec-table tr {
    border-bottom: 1px solid var(--gray-100);
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.status-active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.status-badge.status-maintenance {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.status-badge.status-retired {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.table-responsive {
    overflow-x: auto;
}

.components-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.components-table thead {
    background: var(--gray-50);
}

.components-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: var(--gray-700);
    border-bottom: 2px solid var(--gray-200);
}

.components-table td {
    padding: 12px;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}

.components-table .text-center {
    text-align: center;
}

.components-table .text-right {
    text-align: right;
}

.components-table tfoot .total-row {
    background: var(--gray-50);
}

.components-table tfoot .total-row td {
    padding: 12px;
    font-size: 16px;
    border-top: 2px solid var(--gray-200);
    border-bottom: none;
}

/* Messages */
.error-message-container,
.no-data-container {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.error-message-container svg,
.no-data-container svg {
    color: var(--gray-300);
    margin-bottom: 16px;
}

.error-message-container p,
.no-data-container p {
    color: var(--gray-500);
    font-size: 16px;
    margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .comset-grid-container-bcd123 {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .comset-controls-mno345 {
        flex-direction: column;
        align-items: stretch;
    }

    .comset-search-pqr678 {
        max-width: none;
    }

    .comset-filters-yza567 {
        justify-content: center;
    }

    .comset-grid-container-bcd123 {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 16px;
    }

    .modal-content-lmn789 {
        width: 95%;
        max-height: 95vh;
    }

    .modal-footer-abc234 {
        flex-direction: column;
    }

    .btn-edit-modal-def567,
    .btn-close-modal-ghi890 {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .comset-grid-container-bcd123 {
        grid-template-columns: 1fr;
    }

    .filter-btn-abc890 {
        flex: 1;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .comset-controls-mno345,
    .card-actions-nop567,
    .modal-footer-abc234,
    .modal-close-opq012,
    .comset-load-more-container-zab567 {
        display: none !important;
    }
}