/* PSS S3 Documents Styling */

.pss-s3-documents {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pss-s3-documents .pss-document-item {
    display: flex;
    position: relative;
    margin-bottom: 8px; /* Reduced from 15px */
    padding: 0;
    border: none;
    background: none;
}

.pss-s3-documents .pss-document-item:last-child {
    margin-bottom: 0;
}

.pss-s3-documents .pss-document-icon {
    display: inline-block;
    vertical-align: top;
    margin-right: 10px; /* Reduced from 15px */
    width: 25px; /* Reduced from 30px */
    text-align: center;
    flex-shrink: 0;
}

.pss-s3-documents .pss-document-content {
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 35px); /* Adjusted for smaller icon */
    flex: 1;
}

.pss-s3-documents .iconlist_icon {
    display: inline-block;
    text-decoration: none;
    line-height: 0.8; /* Reduced from 0.7 */
}

.pss-s3-documents .iconlist_icon .iconlist-char {
    display: inline-block;
    line-height: 0.8; /* Reduced from 0.7 */
}

.pss-s3-documents .iconlist_title_small {
    line-height: 1.1; /* Reduced from 1 */
    margin: 0; /* Remove default margins */
}

.pss-s3-documents .iconlist_title_small a {
    text-decoration: none;
    font-weight: 500;
}

.pss-s3-documents .iconlist_title_small a:hover {
    text-decoration: underline;
}

.pss-s3-documents .entry-content-header p {
    margin: 0;
    line-height: 1.1; /* Reduced from 1 */
    font-size: 13px; /* Slightly smaller for remarks */
}

.pss-s3-documents .iconlist-timeline {
    display: none; /* Hide timeline for cleaner look */
}

/* Sub-document styling */
.pss-s3-documents .pss-document-item[data-indentation="1"] .pss-document-icon {
    margin-left: 30px; /* Reduced from 40px */
}

.pss-s3-documents .pss-document-item[data-indentation="2"] .pss-document-icon {
    margin-left: 60px; /* Reduced from 80px */
}

/* Responsive design */
@media (max-width: 768px) {
    .pss-s3-documents .pss-document-icon {
        width: 20px; /* Reduced from 25px */
        margin-right: 8px; /* Reduced from 10px */
    }
    
    .pss-s3-documents .pss-document-content {
        width: calc(100% - 28px); /* Adjusted for smaller icon */
    }
    
    .pss-s3-documents .pss-document-item[data-indentation="1"] .pss-document-icon {
        margin-left: 25px; /* Reduced from 30px */
    }
    
    .pss-s3-documents .pss-document-item[data-indentation="2"] .pss-document-icon {
        margin-left: 50px; /* Reduced from 60px */
    }
}

/* Error and login required messages */
.pss-s3-documents-error,
.pss-s3-documents-login-required {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 12px; /* Reduced from 15px */
    margin: 15px 0; /* Reduced from 20px */
    text-align: center;
}

.pss-s3-documents-error p,
.pss-s3-documents-login-required p {
    margin: 0;
    color: #6c757d;
    line-height: 1.3; /* Reduced line height */
}

.pss-s3-documents-login-required a {
    color: #007cba;
    text-decoration: none;
}

.pss-s3-documents-login-required a:hover {
    text-decoration: underline;
} 