/**
 * Stylesheet for the TechMansion Frontend Comparison Tool.
 *
 * @package TechMansion
 * @subpackage DeviceComparison
 */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables for Consistent Theming */
:root {
    --tm-primary: #114070;
    --tm-primary-light: #1a5490;
    --tm-primary-dark: #0a2040;
    --tm-accent: #ff6600;
    --tm-accent-hover: #e55a00;
    --tm-accent-light: #ff8533;
    --tm-secondary: #cbd5e0;
    --tm-secondary-dark: #6e8ba8;
    --tm-background: #ffffff;
    --tm-surface: #f8fafc;
    --tm-border: #e2e8f0;
    --tm-text-primary: #1a202c;
    --tm-text-secondary: #4a5568;
    --tm-text-muted: #718096;
    --tm-gradient-primary: linear-gradient(135deg, #114070 0%, #0a2040 100%);
    --tm-gradient-accent: linear-gradient(135deg, #ff6600 0%, #e55a00 100%);
    --tm-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --tm-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --tm-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --tm-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --tm-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --tm-border-radius: 0.75rem;
    --tm-border-radius-lg: 1rem;
    --tm-transition: all 0.2s ease-in-out;
}

/* Main container and animations */
#tm-comparison-root {
    background: var(--tm-background);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    padding: 1rem;
    margin: 2rem 0;
    border-radius: var(--tm-border-radius-lg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    position: relative;
}

@media (min-width: 640px) {
    #tm-comparison-root {
        padding: 2rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.skeleton {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 400% 100%;
    animation: shimmer 1.5s infinite;
}

/* Enhanced Color Palette and Theming */
.tm-primary {
    color: var(--tm-primary) !important;
}

.tm-accent {
    color: var(--tm-accent) !important;
}

.tm-secondary {
    color: var(--tm-secondary) !important;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--tm-text-primary);
}

.text-gradient {
    background: var(--tm-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern Card Design */
.card-shadow {
    background: var(--tm-surface);
    border-radius: var(--tm-border-radius);
    box-shadow: var(--tm-shadow-md);
    border: 1px solid var(--tm-border);
    transition: var(--tm-transition);
    position: relative;
    overflow: hidden;
}

.card-shadow:hover {
    box-shadow: var(--tm-shadow-lg);
    transform: translateY(-2px);
}

.card-shadow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tm-gradient-accent);
    opacity: 0;
    transition: var(--tm-transition);
}

.card-shadow:hover::before {
    opacity: 1;
}

/* Enhanced Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.25rem;
    border-radius: var(--tm-border-radius);
    transition: var(--tm-transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-primary {
    background: var(--tm-gradient-accent);
    color: white;
    box-shadow: var(--tm-shadow);
}

.btn-primary:hover:not(:disabled) {
    box-shadow: var(--tm-shadow-lg);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--tm-surface);
    color: var(--tm-text-primary);
    border-color: var(--tm-border);
    box-shadow: var(--tm-shadow-sm);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--tm-background);
    border-color: var(--tm-accent);
    color: var(--tm-accent);
}

.btn-accent {
    background: var(--tm-accent);
    color: white;
    box-shadow: var(--tm-shadow);
}

.btn-accent:hover:not(:disabled) {
    background: var(--tm-accent-hover);
    box-shadow: var(--tm-shadow-lg);
    transform: translateY(-1px);
}

/* Modern Input Styles */
.tm-select,
input[type="search"],
input[type="text"],
input[type="email"],
textarea {
    background: var(--tm-surface);
    border: 2px solid var(--tm-border);
    border-radius: var(--tm-border-radius);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    transition: var(--tm-transition);
    width: 100%;
}

.tm-select:focus,
input:focus,
textarea:focus {
    outline: none;
    border-color: var(--tm-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Enhanced Hero Section */
#hero-section {
    position: relative;
    background: var(--tm-gradient-primary);
    border-radius: var(--tm-border-radius-lg);
    overflow: hidden;
    margin-bottom: 3rem;
}

#hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-weight: 400;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}

.bg-tm-primary {
    background-color: var(--tm-primary);
}

.tm-accent {
    color: var(--tm-accent);
}

.bg-tm-accent {
    background-color: #ff6600;
}

.border-tm-accent {
    border-color: #ff6600;
}

/* Card and Button Styling */
.card-shadow {
    box-shadow: 0 4px 12px -1px rgba(0, 0, 0, 0.07), 0 2px 8px -2px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card-shadow:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1), 0 4px 10px -4px rgba(0, 0, 0, 0.08);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none !important;
}

.btn i {
    margin-right: 0.5rem;
}

.btn-primary {
    background-color: #114070;
    color: white;
    border-color: #114070;
}

.btn-primary:hover {
    background-color: #0d3358;
    color: white;
}

.btn-accent {
    background-color: #ff6600;
    color: white;
    border-color: #ff6600;
}

.btn-accent:hover {
    background-color: #e65c00;
    color: white;
}

.btn-secondary {
    background-color: #e5e7eb;
    color: #1f2937;
    border-color: #d1d5db;
}

.btn-secondary:hover {
    background-color: #d1d5db;
    color: #1f2937;
}

.btn:disabled {
    background-color: #9ca3af;
    color: #e5e7eb;
    border-color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Filter and List Styling */
.filter-btn {
    background-color: #e5e7eb;
    color: #374151;
}

.filter-btn.active {
    background-color: #114070;
    color: white;
}

/* NEW: Custom Select Dropdown Styling */
.tm-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    padding-left: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
}

.tm-select:focus {
    outline: none;
    border-color: #ff6600;
    box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.2);
}


.device-list-item {
    transition: all 0.2s ease-in-out;
    border: 2px solid transparent;
    border-left-width: 4px;
}

.device-list-item:hover {
    border-color: #d1d5db;
    background-color: #f9fafb;
    transform: translateY(-2px);
}

.device-list-item.selected-view {
    border-color: #114070;
    background-color: #f0f4f8;
}

.device-list-item.selected-compare {
    border-left-color: #ff6600;
}

/* Similar Devices Section */
.similar-devices-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--tm-border);
}

.similar-device-card {
    background: var(--tm-surface);
    border-radius: var(--tm-border-radius);
    padding: 1rem;
    box-shadow: var(--tm-shadow);
    border: 1px solid var(--tm-border);
    transition: var(--tm-transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.similar-device-card:hover {
    box-shadow: var(--tm-shadow-lg);
    border-color: var(--tm-accent);
    transform: translateY(-2px);
}

.similar-device-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tm-gradient-accent);
}

.similarity-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--tm-gradient-accent);
    color: white;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    z-index: 10;
    box-shadow: var(--tm-shadow-sm);
}

.similar-device-card h4 {
    color: var(--tm-primary);
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.similar-device-card img {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
    margin: 0 auto 0.5rem;
    border-radius: 0.375rem;
    background: var(--tm-background);
    padding: 0.25rem;
    transition: var(--tm-transition);
}

.similar-device-card:hover img {
    transform: scale(1.05);
}

.similar-device-card .tm-primary {
    color: var(--tm-accent);
}

.similar-device-card button {
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.5rem;
    font-size: 0.75rem;
    background: var(--tm-background);
    color: var(--tm-text-primary);
    border: 1px solid var(--tm-border);
    border-radius: 0.375rem;
    font-weight: 500;
    transition: var(--tm-transition);
    cursor: pointer;
}

.similar-device-card button:hover {
    background: var(--tm-accent);
    color: white;
    border-color: var(--tm-accent);
}

.similar-device-card .space-y-2 > div {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    color: var(--tm-text-secondary);
    margin-bottom: 0.5rem;
}

.similar-device-card .space-y-2 > div:last-child {
    margin-bottom: 0;
}

.similar-device-card .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100px;
}

.similar-device-card .text-tm-accent {
    color: var(--tm-accent);
    font-weight: 600;
}

/* Responsive grid for similar devices */
@media (max-width: 640px) {
    .similar-devices-section .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .similar-device-card {
        padding: 0.75rem;
    }
    
    .similar-device-card h4 {
        font-size: 0.75rem;
        min-height: 2rem;
    }
    
    .similar-device-card img {
        width: 3rem;
        height: 3rem;
    }
}

@media (min-width: 1024px) {
    .similar-devices-section .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Smart Recommendations Styles */
.smart-recommendations-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--tm-border-radius);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.recommendation-category {
    margin-bottom: 1rem;
}

.recommendation-category:last-child {
    margin-bottom: 0;
}

.compact-device-card {
    transition: var(--tm-transition);
    border: 1px solid var(--tm-border);
}

.compact-device-card:hover {
    background: var(--tm-surface) !important;
    border-color: var(--tm-accent);
    box-shadow: var(--tm-shadow-md);
    transform: translateY(-1px);
}

/* Quick Compare Modal */
.modal-backdrop {
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease-out;
}

.quick-compare-modal {
    animation: slideUp 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(20px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

/* Enhanced device card buttons */
.similar-device-card .flex.gap-2 button {
    border: none;
    outline: none;
    cursor: pointer;
}

.similar-device-card .flex.gap-2 button:focus {
    box-shadow: 0 0 0 2px var(--tm-accent), 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Tooltip styles */
.similar-device-card[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--tm-primary);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 20;
    margin-bottom: 0.5rem;
    box-shadow: var(--tm-shadow-lg);
}

.similar-device-card[title]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--tm-primary);
    z-index: 20;
}

/* View transition styling */
.view {
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.view.hidden {
    opacity: 0;
    position: absolute;
    left: -9999px;
    transform: scale(0.98);
}

/* Comparison Table Styling */
.comparison-table th,
.comparison-table td {
    padding: 0.75rem;
    vertical-align: top;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 10;
    background-color: #f9fafb;
    font-weight: 600;
}

.comparison-table tr.highlight-difference td {
    background-color: #fffbe6;
    font-weight: 600;
}

/* Comparison Tray Styling */
#comparisonTray {
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

#comparisonTray.visible {
    transform: translateY(0);
}

.tray-device-slot.placeholder {
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

/* Modal Styling */
#priceModal,
#shareModal {
    transition: opacity 0.3s ease;
}

#priceModal .price-item:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
}

/* Spec and Review Styling */
.spec-row dt i {
    color: #114070;
    width: 1.25em;
    text-align: center;
}

.tm-star-rating {
    color: #facc15;
}

.tm-star-rating .fa-star-half-alt {
    color: #facc15;
}

.tm-star-rating .far {
    color: #d1d5db;
}

.tm-review-form .star-input {
    display: none;
}

.tm-review-form .star-label {
    color: #d1d5db;
    font-size: 1.75rem;
    cursor: pointer;
    transition: color 0.2s;
}

.tm-review-form .star-input:checked ~ .star-label,
.tm-review-form:not(:checked) > .star-label:hover,
.tm-review-form:not(:checked) > .star-label:hover ~ .star-label {
    color: #facc15;
}

.tm-comment-item {
    border-left: 3px solid #e5e7eb;
}

.tm-comment-item:hover {
    border-left-color: #114070;
}

.form-input-review {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
}

.form-input-review:read-only {
    background-color: #f3f4f6;
    cursor: not-allowed;
}

/* Enhanced Device List Styles */
.device-list-item {
    background: var(--tm-surface);
    border: 2px solid var(--tm-border);
    border-radius: var(--tm-border-radius);
    padding: 1rem;
    transition: var(--tm-transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.device-list-item:hover {
    border-color: var(--tm-accent);
    transform: translateY(-2px);
    box-shadow: var(--tm-shadow-lg);
}

.device-list-item.selected {
    border-color: var(--tm-accent);
    background: rgba(59, 130, 246, 0.05);
}

.device-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--tm-border-radius);
    transition: var(--tm-transition);
}

.device-image:hover {
    transform: scale(1.05);
}

/* Enhanced Specs Display */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.spec-category {
    background: var(--tm-surface);
    border-radius: var(--tm-border-radius);
    padding: 1.5rem;
    border: 1px solid var(--tm-border);
    transition: var(--tm-transition);
}

.spec-category:hover {
    box-shadow: var(--tm-shadow-md);
    transform: translateY(-2px);
}

.spec-category-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--tm-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--tm-border);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 500;
    color: var(--tm-text-secondary);
    flex: 1;
}

.spec-value {
    font-weight: 600;
    color: var(--tm-text-primary);
    text-align: right;
    flex: 1;
}

/* Enhanced Comparison Tray */
#comparisonTray {
    background: var(--tm-gradient-primary);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--tm-shadow-xl);
}

.tray-device {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--tm-border-radius);
    padding: 0.75rem;
    color: white;
    font-weight: 500;
    position: relative;
    transition: var(--tm-transition);
}

.tray-device:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 400% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--tm-border-radius);
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    #tm-comparison-root {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .spec-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8rem;
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease-out;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --tm-background: #0f172a;
        --tm-surface: #1e293b;
        --tm-border: #334155;
        --tm-text-primary: #f1f5f9;
        --tm-text-secondary: #cbd5e1;
        --tm-text-muted: #64748b;
    }
}

/* Device List Links */
.device-list-item a {
    color: inherit;
    text-decoration: none;
    transition: var(--tm-transition);
}

.device-list-item:hover a {
    color: var(--tm-primary);
}

.device-list-item.selected-view a {
    color: var(--tm-primary);
    font-weight: 600;
}

.device-list-item a:hover,
.device-list-item a:focus {
    color: var(--tm-primary);
    text-decoration: none;
}

/* Device Cards Grid Layout */
#deviceList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

@media (max-width: 768px) {
    #deviceList {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 0.75rem;
    }
}

/* Device Card Styling */
.device-card {
    transition: all 0.2s ease-in-out;
    border: 1px solid #e5e7eb;
}

.device-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.device-card .device-image {
    transition: transform 0.2s ease-in-out;
}

.device-card:hover .device-image {
    transform: scale(1.05);
}

/* Device Details Section */
#specsContainer {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    margin-top: 1.5rem;
}

#specsContainer.hidden {
    display: none;
}

@media (max-width: 768px) {
    #specsContainer {
        padding: 1rem;
        margin-top: 1rem;
    }
}
