/* Artwork Detail Styles */

.artwork-detail-container {
    max-width: 1400px;
    margin: 0 auto;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
}

.detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

/* Artwork Viewer */
.artwork-viewer {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.viewer-container {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.artwork-image-full {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.timelapse-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.timelapse-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 1rem;
}

.timelapse-video {
    width: 100%;
    border-radius: 8px;
}

/* Details Sidebar */
.details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.detail-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 1.5rem;
}

.detail-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 1rem;
}

.detail-section {
    margin-bottom: 1.5rem;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.info-value {
    font-size: 0.9375rem;
    color: #2d3748;
    font-weight: 500;
}

/* Critiques */
.critique-card {
    background: #f7fafc;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.critique-card:last-child {
    margin-bottom: 0;
}

.critique-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.critique-header strong {
    color: #667eea;
    font-size: 0.875rem;
}

.critique-date {
    font-size: 0.75rem;
    color: #a0aec0;
}

.critique-text {
    font-size: 0.875rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0 0 0.5rem;
}

.critique-model {
    font-size: 0.75rem;
    color: #a0aec0;
}

/* Hotspots */
.hotspot-item {
    padding: 0.75rem;
    background: #f7fafc;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.hotspot-item strong {
    display: block;
    font-size: 0.875rem;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.hotspot-item p {
    font-size: 0.8125rem;
    color: #718096;
    margin: 0;
}

/* Version Timeline */
.version-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.version-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f7fafc;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.version-item:hover {
    background: #edf2f7;
}

.version-item.current {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid #667eea;
}

.version-thumbnail {
    width: 60px;
    height: 60px;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
    border-radius: 6px;
    flex-shrink: 0;
}

.version-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.version-info strong {
    font-size: 0.875rem;
    color: #2d3748;
}

.version-type {
    font-size: 0.75rem;
    color: #667eea;
    font-weight: 500;
}

.version-date {
    font-size: 0.75rem;
    color: #a0aec0;
}

.current-badge {
    padding: 0.25rem 0.5rem;
    background: #667eea;
    color: white;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Version Manager Styles */
.version-manager-container {
    max-width: 1000px;
    margin: 0 auto;
}

.manager-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.manager-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.5rem;
}

.help-text {
    color: #718096;
    margin: 0 0 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 1.5rem;
}

.link-arrow {
    font-size: 2rem;
    color: #667eea;
    padding-bottom: 0.5rem;
}

.preview-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.preview-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 1.5rem;
}

.preview-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.preview-card {
    text-align: center;
}

.preview-card h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 1rem;
}

.preview-image {
    width: 100%;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.preview-card p {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 0.25rem;
}

.preview-date {
    font-size: 0.8125rem;
    color: #a0aec0;
}

.preview-arrow {
    font-size: 2.5rem;
    color: #667eea;
}

/* Responsive */
@media (max-width: 968px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .link-arrow {
        display: none;
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }

    .preview-arrow {
        transform: rotate(90deg);
    }
}