/* Resolution PDFs Styles */

/* Main container styling - extra specificity for Bricks theme */
html body .brxe-container .gs2025-resolution-pdfs,
html body .gs2025-resolution-pdfs,
html body .resolution-pdfs {
    font-size: 14px !important;
    margin: 20px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* List styling */
html body .gs2025-resolution-pdfs ul,
html body .gs2025-resolution-pdfs-list,
html body .resolution-pdfs ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Item container */
html body .gs2025-pdf-item,
html body .pdf-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid #ddd !important;
    width: 100% !important;
}

html body .gs2025-pdf-item:last-child,
html body .pdf-item:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

/* PDF Icon as Bullet - Improved */
html body .gs2025-pdf-icon,
html body .pdf-icon {
    flex-shrink: 0 !important;
    width: 32px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 3px !important; /* Align with text */
}

html body .gs2025-pdf-icon svg,
html body .pdf-icon svg {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

/* PDF Content Wrapper */
html body .gs2025-pdf-content,
html body .pdf-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    width: 100% !important;
    padding-top: 2px !important; /* Align better with icon */
}

/* First Line: PDF Name */
html body .gs2025-pdf-link,
html body .pdf-link {
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-bottom: 3px !important;
}

html body .gs2025-pdf-link a,
html body .pdf-link a {
    color: var(--blue) !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

html body .gs2025-pdf-link a:hover,
html body .pdf-link a:hover {
    color: var(--text) !important;
    text-decoration: none !important;
}

/* Second Line: Current Version + Status */
html body .gs2025-pdf-meta,
html body .pdf-meta {
    display: flex !important;
    gap: 6px !important; /* Reduced from 10px to 6px (40% closer) */
    align-items: center !important;
    flex-wrap: wrap !important;
    margin-bottom: 4px !important;
}

/* Shared styles for both current and status labels */
html body .gs2025-pdf-current,
html body .pdf-current {
    background: var(--alert_red) !important;
    color: #fff !important;
    padding: 3px 12px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    width: max-content !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
    display: inline-block !important;
    line-height: 1.5 !important;
}

/* Specific styles for PDF status - grey color scheme */
html body .gs2025-pdf-status,
html body .pdf-status {
    background: #999999 !important; /* Medium grey background */
    color: #ffffff !important; /* White text */
    padding: 3px 12px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    width: max-content !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
    display: inline-block !important;
    line-height: 1.5 !important;
}

/* Third Line: Note */
html body .gs2025-pdf-note,
html body .pdf-note {
    color: #666 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin-top: 2px !important;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    html body .gs2025-pdf-item,
    html body .pdf-item {
        gap: 8px !important;
    }
    
    html body .gs2025-pdf-icon,
    html body .pdf-icon {
        width: 28px !important;
        height: 35px !important;
    }
    
    html body .gs2025-pdf-link,
    html body .pdf-link {
        font-size: 16px !important;
    }
}