/* Disclosures Shortcode Styles */

/* .disclosures-shortcode-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #FFFFFF;
    color: #333333;
} */
    .disclosures-shortcode-container {
        padding: 60px 15px;
    }
.disclosure-tabs-nav {
    margin-bottom: 30px;
    /* border-bottom: 2px solid #e0e0e0; */
}

.tabs-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.disclosure-tab-btn {
    background: #ffffff;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    color: #1c447e;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #1c447e;
    margin-bottom: -2px;
    font-family: "Graphik-Font", Sans-serif;
    font-weight: 600;
}

.disclosure-tab-btn:hover {
    color: #ffffff;
    background: #1c447e;
}

.disclosure-tab-btn.active {
    color: #ffffff;
    background: #1c447e;
}

/* .disclosure-tabs-content {
    min-height: 400px;
} */

.disclosure-tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.disclosure-tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.disclosure-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.disclosure-card-item {
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: #ffffff;
}

.disclosure-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.disclosure-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.disclosure-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.disclosure-card-item:hover .disclosure-featured-img {
    transform: scale(1.05);
}

.disclosure-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px;
    color: #ffffff;
}

.disclosure-card-info h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
}

.pdf-count {
    font-size: 14px;
    opacity: 0.9;
}

.disclosure-card-image.no-image {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ddd;
}

.disclosure-placeholder {
    text-align: center;
    color: #1a1b1d;
}

.placeholder-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.disclosure-placeholder h4 {
    margin: 10px 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.no-disclosures-found {
    text-align: center;
    color: #1a1b1d;
    font-size: 18px;
    padding: 40px;
}

/* Modal Styles */
.disclosure-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.disclosure-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.disclosure-modal-content {
    background-color: #ffffff;
    margin: 20px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.disclosure-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: #1C447E;
}
.disclosure-modal-body {
    padding:10px 20px 20px 20px;
}
.disclosure-modal-header h3 {
    margin: 0;
    color: #ffffff;
    font-family: "Graphik-Font", Sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: capitalize;
    line-height: 28px;
}
.disclosure-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #ffffff;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.disclosure-modal-close:hover {
    background: #1C447E;
    color: #FFFFFF;
}

/* .disclosure-modal-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
    background: #ffffff;
} */


#modal-pdf-list {
    padding-top: 10px;
}
#modal-pdf-list a {
    border: 1px solid #1c447e;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1a1b1d;
    transition: all 0.3s ease;
    gap: 10px;
}

#modal-pdf-list a:hover {
    background: #1C447E;
    /* transform: translateX(5px); */
    text-decoration: none;
    color: #FFFFFF;
    border-color: #1C447E;
} 
#modal-pdf-list a:hover .pdf-arrow-modal {
    color: #ffffff;
}


.pdf-title-modal {
    flex: 1;
    font-family: "Graphik-Font", Sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
}

.pdf-arrow-modal {
    font-size: 18px;
    color: #1C447E;
    margin-left: 10px;
}

.no-pdfs-message {
    text-align: center;
    color: #1a1b1d;
    font-size: 16px;
    padding: 40px 20px;
}

.loading-spinner {
    text-align: center;
    padding: 40px 20px;
    color: #1a1b1d;
    font-size: 16px;
}

.loading-spinner:after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-radius: 50%;
    border-top-color: #0073aa;
    animation: spin 1s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-categories-found {
    text-align: center;
    color: #1a1b1d;
    font-size: 18px;
    padding: 40px;
}

















/* Responsive Design */
@media (max-width: 768px) {
    .disclosures-shortcode-container {
        padding:40px 15px;
    }

    .disclosure-tab-btn {
        padding: 12px 18px;
        font-size: 14px;
    }

    .disclosure-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .disclosure-modal-content {
        width: 95%;
        margin: 10px;
    }

    .disclosure-modal-header h3 {
        font-size: 18px;
    }


    .pdf-item-modal {
        padding: 12px 15px;
    }
}
