/* Sidebar Styles for PressPective Viewer */

/* Metadata Sidebar */
#metadata-sidebar {
    position: fixed;
    right: 0;
    top: 60px;
    bottom: 0;
    width: 0;
    background: rgba(26, 26, 26, 0.95);
    transition: width 0.3s ease;
    z-index: 2000;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.25);
}

#metadata-sidebar.open {
    width: 360px;
}

.metadata-content {
    width: 360px;
    height: 100%;
    overflow-y: auto;
    padding: 20px;
    color: #fff;
}

.metadata-section {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.metadata-section h3 {
    color: #4a9eff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.metadata-grid {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
    font-size: 13px;
    line-height: 1.4;
}

.metadata-label {
    color: rgba(255, 255, 255, 0.7);
}

.metadata-value {
    color: rgba(255, 255, 255, 0.9);
}

.metadata-value a {
    color: #4a9eff;
    text-decoration: none;
}

.metadata-value a:hover {
    text-decoration: underline;
}

.metadata-notes {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metadata-notes h4 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 8px;
}

.metadata-notes p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.5;
}

/* Add smooth scrollbar for webkit browsers */
.metadata-content::-webkit-scrollbar {
    width: 8px;
}

.metadata-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.metadata-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.metadata-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Help Overlay */
#help-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 4000;
    backdrop-filter: blur(5px);
    padding: 40px;
    overflow-y: auto;
}

.help-content {
    max-width: 800px;
    margin: 0 auto;
    color: white;
    font-size: 16px;
    line-height: 1.6;
}

.help-content h2 {
    color: #4a9eff;
    margin: 24px 0 16px;
    font-size: 24px;
}

.help-content h3 {
    color: #4a9eff;
    margin: 20px 0 10px;
    font-size: 18px;
}

.help-content p {
    margin-bottom: 16px;
}

.help-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.help-content li {
    margin-bottom: 8px;
}

.help-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
}

.help-example {
    display: flex;
    align-items: center;
    margin: 16px 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.help-example img {
    max-width: 180px;
    margin-right: 20px;
}

.help-example-text {
    flex: 1;
}
