/* Reporting pages custom styles */

.special-info-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.special-info-filter {
    border: 1px solid #37c878;
    background: #fff;
    color: #37c878;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 700;
    line-height: 38px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.special-info-filter:hover,
.special-info-filter:focus {
    background: #f1fbf6;
    outline: none;
}
.special-info-filter.is-active {
    background: #37c878;
    border-color: #37c878;
    color: #fff;
}
.special-info-list {
    list-style: none;
    margin: 0;
}
.special-info-list > li {
    margin-bottom: 24px;
}
.special-info-list > li.is-hidden,
.special-info-item.is-hidden {
    display: none;
}
.special-info-list .hide + label,
.special-info-heading,
.reports-filter-heading,
.other-info-heading {
    background: #f7f7f7;
    border: 1px solid #d7d7d7;
    color: #2b2b2b;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
    padding: 10px 14px;
}
.special-info-list .hide + label {
    cursor: default;
    display: block;
    line-height: 38px;
    pointer-events: none;
}
.special-info-list .hide + label:before {
    content: none;
    display: none;
}
.special-info-list .special-info-content {
    display: block !important;
    margin: 0;
}
.special-info-list .tenderBlock,
.reports-filter-list .tenderBlock,
.reports-filter-list .zvit,
.other-info-docs,
.other-info-text {
    background: #efefef;
    box-shadow: inset 3px 3px 5px #7d8e8f;
    margin-left: 0;
}
.special-info-list .tenderBlock,
.reports-filter-list .tenderBlock,
.reports-filter-list .zvit,
.other-info-docs {
    padding: 10px;
}
.special-info-item {
    margin-bottom: 24px;
}
.special-info-heading,
.reports-filter-heading {
    line-height: 38px;
}

.reports-filter-section + .reports-filter-section {
    margin-top: 32px;
}
.reports-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.reports-filter {
    border: 1px solid #37c878;
    background: #fff;
    color: #37c878;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 700;
    line-height: 38px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.reports-filter:hover,
.reports-filter:focus {
    background: #f1fbf6;
    outline: none;
}
.reports-filter.is-active {
    background: #37c878;
    border-color: #37c878;
    color: #fff;
}
.reports-filter-list {
    margin: 0;
}
.reports-filter-item {
    margin-bottom: 24px;
}
.reports-filter-item.is-hidden {
    display: none;
}
.special-info-list .tenderBlock p,
.reports-filter-list .tenderBlock p,
.reports-filter-list .zvit p,
.other-info-docs p {
    background: none !important;
    box-sizing: border-box;
    float: none !important;
    margin: 0 0 12px;
    min-height: 0;
    padding: 0;
    width: auto;
}

.special-info-list .tenderBlock p:last-child,
.reports-filter-list .tenderBlock p:last-child,
.reports-filter-list .zvit p:last-child,
.other-info-docs p:last-child {
    margin-bottom: 0;
}

.special-info-list .tenderBlock p.doc-signed > a,
.reports-filter-list .tenderBlock p.doc-signed > a,
.reports-filter-list .zvit p.doc-signed > a,
.other-info-docs p.doc-signed > a {
    padding-right: 74px;
}

.special-info-list .tenderBlock p > a,
.reports-filter-list .tenderBlock p > a,
.reports-filter-list .zvit p > a,
.other-info-docs p > a {
    align-items: center;
    background: #fff;
    border: 1px solid #d9e8de;
    box-shadow: 0 1px 0 rgba(18, 42, 30, 0.06);
    color: #2b2b2b;
    display: flex;
    line-height: 1.5;
    min-height: 58px;
    padding: 16px 16px 16px 84px;
    position: relative;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
    word-break: break-word;
}

.special-info-list .tenderBlock p > a:hover,
.special-info-list .tenderBlock p > a:focus,
.reports-filter-list .tenderBlock p > a:hover,
.reports-filter-list .tenderBlock p > a:focus,
.reports-filter-list .zvit p > a:hover,
.reports-filter-list .zvit p > a:focus,
.other-info-docs p > a:hover,
.other-info-docs p > a:focus {
    border-color: #37c878;
    box-shadow: 0 10px 24px rgba(55, 200, 120, 0.15);
    color: #1f3c2d;
    outline: none;
    transform: translateY(-1px);
}

.special-info-list .tenderBlock p > a:before,
.reports-filter-list .tenderBlock p > a:before,
.reports-filter-list .zvit p > a:before,
.other-info-docs p > a:before {
    align-items: center;
    border-radius: 14px;
    box-shadow: 0 8px 16px rgba(43, 43, 43, 0.12);
    color: #fff;
    content: "DOC";
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    height: 44px;
    justify-content: center;
    left: 16px;
    letter-spacing: 0.08em;
    position: absolute;
    text-indent: 0.08em;
    text-transform: uppercase;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
}

.special-info-list .tenderBlock p.doc-pdf > a:before,
.special-info-list .tenderBlock p > a[href$=".pdf" i]:before,
.reports-filter-list .tenderBlock p.doc-pdf > a:before,
.reports-filter-list .tenderBlock p > a[href$=".pdf" i]:before,
.reports-filter-list .zvit p.doc-pdf > a:before,
.reports-filter-list .zvit p > a[href$=".pdf" i]:before,
.other-info-docs p.doc-pdf > a:before,
.other-info-docs p > a[href$=".pdf" i]:before {
    background: linear-gradient(135deg, #ff6b6b 0%, #cc3d3d 100%);
    content: "PDF";
}

.special-info-list .tenderBlock p.doc-zip > a:before,
.special-info-list .tenderBlock p > a[href$=".zip" i]:before,
.reports-filter-list .tenderBlock p.doc-zip > a:before,
.reports-filter-list .tenderBlock p > a[href$=".zip" i]:before,
.reports-filter-list .zvit p.doc-zip > a:before,
.reports-filter-list .zvit p > a[href$=".zip" i]:before,
.other-info-docs p.doc-zip > a:before,
.other-info-docs p > a[href$=".zip" i]:before {
    background: linear-gradient(135deg, #22c55e 0%, #0f766e 100%);
    content: "ZIP";
}

.special-info-list .tenderBlock p.doc-file > a:before,
.reports-filter-list .tenderBlock p.doc-file > a:before,
.reports-filter-list .zvit p.doc-file > a:before,
.other-info-docs p.doc-file > a:before {
    background: linear-gradient(135deg, #64748b 0%, #334155 100%);
    content: "DOC";
}

.special-info-list .tenderBlock p.doc-signed:not(.doc-pdf):not(.doc-zip) > a:before,
.special-info-list .tenderBlock p > a[href$=".p7s" i]:before,
.special-info-list .tenderBlock p > a[href$=".asice" i]:before,
.reports-filter-list .tenderBlock p.doc-signed:not(.doc-pdf):not(.doc-zip) > a:before,
.reports-filter-list .tenderBlock p > a[href$=".p7s" i]:before,
.reports-filter-list .tenderBlock p > a[href$=".asice" i]:before,
.reports-filter-list .zvit p.doc-signed:not(.doc-pdf):not(.doc-zip) > a:before,
.reports-filter-list .zvit p > a[href$=".p7s" i]:before,
.reports-filter-list .zvit p > a[href$=".asice" i]:before,
.other-info-docs p.doc-signed:not(.doc-pdf):not(.doc-zip) > a:before,
.other-info-docs p > a[href$=".p7s" i]:before,
.other-info-docs p > a[href$=".asice" i]:before {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    content: "КЕП";
    letter-spacing: 0.02em;
    text-indent: 0;
}

.special-info-list .tenderBlock p.doc-signed.doc-pdf > a:after,
.special-info-list .tenderBlock p.doc-signed.doc-zip > a:after,
.reports-filter-list .tenderBlock p.doc-signed.doc-pdf > a:after,
.reports-filter-list .tenderBlock p.doc-signed.doc-zip > a:after,
.reports-filter-list .zvit p.doc-signed.doc-pdf > a:after,
.reports-filter-list .zvit p.doc-signed.doc-zip > a:after,
.other-info-docs p.doc-signed.doc-pdf > a:after,
.other-info-docs p.doc-signed.doc-zip > a:after,
.special-info-list .tenderBlock p > a[data-doc-type="signed"]:after,
.reports-filter-list .tenderBlock p > a[data-doc-type="signed"]:after,
.reports-filter-list .zvit p > a[data-doc-type="signed"]:after,
.other-info-docs p > a[data-doc-type="signed"]:after {
    background: #2563eb;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.2);
    color: #fff;
    content: "КЕП";
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 8px;
    position: absolute;
    right: 12px;
    text-transform: uppercase;
    top: 12px;
}

.other-info-list {
    margin: 0;
}
.other-info-item {
    margin-bottom: 14px;
}
.other-info-item:last-child {
    margin-bottom: 0;
}
.other-info-item > summary {
    list-style: none;
}
.other-info-item > summary::-webkit-details-marker {
    display: none;
}
.other-info-heading {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    line-height: 1.5;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.other-info-heading:hover,
.other-info-heading:focus {
    background: #f1fbf6;
    border-color: #37c878;
    color: #37c878;
    outline: none;
}
.other-info-heading span {
    display: block;
}
.other-info-heading:after {
    align-items: center;
    border: 1px solid #37c878;
    border-radius: 50%;
    color: #37c878;
    content: "+";
    display: flex;
    flex: 0 0 auto;
    font-size: 24px;
    font-weight: 400;
    height: 32px;
    justify-content: center;
    line-height: 1;
    margin-left: auto;
    width: 32px;
}
.other-info-item[open] .other-info-heading {
    border-color: #37c878;
    color: #37c878;
}
.other-info-item[open] .other-info-heading:after {
    background: #37c878;
    color: #fff;
    content: "−";
}
.other-info-panel {
    padding-top: 12px;
}
.other-info-text {
    overflow: hidden;
    padding: 14px 16px;
}
.other-info-text:after {
    clear: both;
    content: "";
    display: table;
}
.other-info-text p {
    background: none;
    box-sizing: border-box;
    color: #2b2b2b;
    display: block;
    float: none !important;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 12px;
    min-height: 0;
    padding: 0;
    width: auto;
}
.other-info-text p:last-child {
    margin-bottom: 0;
}

.signature-verify-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.signature-verify-link {
    align-items: center;
    background: #fff;
    border: 1px solid #d9e8de;
    box-shadow: 0 1px 0 rgba(18, 42, 30, 0.06);
    color: #1f3c2d;
    display: flex;
    gap: 12px;
    min-height: 58px;
    padding: 10px 12px;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.signature-verify-link:hover,
.signature-verify-link:focus {
    border-color: #37c878;
    box-shadow: 0 10px 24px rgba(55, 200, 120, 0.15);
    color: #1f3c2d;
    outline: none;
    transform: translateY(-1px);
}
.signature-verify-icon {
    align-items: center;
    border-radius: 14px;
    box-shadow: 0 8px 16px rgba(43, 43, 43, 0.12);
    display: inline-flex;
    flex: 0 0 44px;
    height: 44px;
    justify-content: center;
    width: 44px;
}
.signature-verify-icon img {
    display: block;
    max-height: 30px;
    max-width: 30px;
}
.signature-verify-icon-diia {
    background: #111111;
}
.signature-verify-diia-wordmark {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: none;
}
.signature-verify-icon-czo {
    background: linear-gradient(135deg, #f9fbfa 0%, #e7f4ec 100%);
}
.signature-verify-icon-czo img {
    height: 30px;
    max-height: none;
    max-width: none;
    object-fit: contain;
    width: 30px;
}
.signature-verify-name {
    color: #1f3c2d;
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}
@media (max-width: 767px) {
    .special-info-filter,
    .reports-filter {
        width: 100%;
        text-align: center;
    }
    .special-info-list .hide + label,
    .special-info-heading,
    .reports-filter-heading {
        font-size: 16px;
        padding: 10px 12px;
    }
    .other-info-heading {
        font-size: 16px;
        gap: 12px;
        padding: 10px 12px;
    }
    .other-info-heading:after {
        font-size: 22px;
        height: 28px;
        width: 28px;
    }
    .special-info-list .tenderBlock p.doc-signed > a,
    .reports-filter-list .tenderBlock p.doc-signed > a,
    .reports-filter-list .zvit p.doc-signed > a,
    .other-info-docs p.doc-signed > a {
        padding-right: 62px;
    }
    .special-info-list .tenderBlock p > a,
    .reports-filter-list .tenderBlock p > a,
    .reports-filter-list .zvit p > a,
    .other-info-docs p > a {
        min-height: 52px;
        padding: 14px 12px 14px 68px;
    }
    .special-info-list .tenderBlock p > a:before,
    .reports-filter-list .tenderBlock p > a:before,
    .reports-filter-list .zvit p > a:before,
    .other-info-docs p > a:before {
        border-radius: 12px;
        font-size: 11px;
        height: 38px;
        left: 12px;
        width: 38px;
    }
    .special-info-list .tenderBlock p.doc-signed.doc-pdf > a:after,
    .special-info-list .tenderBlock p.doc-signed.doc-zip > a:after,
    .reports-filter-list .tenderBlock p.doc-signed.doc-pdf > a:after,
    .reports-filter-list .tenderBlock p.doc-signed.doc-zip > a:after,
    .reports-filter-list .zvit p.doc-signed.doc-pdf > a:after,
    .reports-filter-list .zvit p.doc-signed.doc-zip > a:after,
    .other-info-docs p.doc-signed.doc-pdf > a:after,
    .other-info-docs p.doc-signed.doc-zip > a:after,
    .special-info-list .tenderBlock p > a[data-doc-type="signed"]:after,
    .reports-filter-list .tenderBlock p > a[data-doc-type="signed"]:after,
    .reports-filter-list .zvit p > a[data-doc-type="signed"]:after,
    .other-info-docs p > a[data-doc-type="signed"]:after {
        font-size: 9px;
        padding: 3px 6px;
        right: 10px;
        top: 10px;
    }
    .other-info-text {
        padding: 12px;
    }
    .other-info-text p {
        font-size: 14px;
    }
}
