/* Disclosure page — accordion, tables, document lists. Variables: site.css */

.custom-accordion .accordion-item {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.custom-accordion .accordion-button {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--main-blue);
    padding: 20px;
    background-color: #fff;
    box-shadow: none !important;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: var(--bg-gray);
    color: var(--main-red);
    border-bottom: 1px solid #eaeaea;
}

.custom-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23041f4a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e61010'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.custom-accordion .accordion-body {
    padding: 30px;
    background-color: #fff;
}

.info-table {
    margin-bottom: 0;
}

.info-table th {
    background-color: var(--bg-gray);
    color: var(--main-blue);
    font-weight: 600;
    width: 35%;
    border-color: #eaeaea;
}

.info-table td {
    border-color: #eaeaea;
    color: #555;
}

.houses-table th {
    background-color: var(--main-blue);
    color: #fff;
    font-weight: 600;
    border: none;
}

.houses-table td {
    vertical-align: middle;
}

.doc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doc-list li {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    background: #fff;
}

.doc-list li:hover {
    border-color: var(--main-blue);
    box-shadow: 0 4px 10px rgba(4, 31, 74, 0.08);
    transform: translateX(5px);
}

.doc-icon {
    font-size: 2rem;
    color: var(--main-red);
    margin-right: 20px;
}

.doc-info {
    flex-grow: 1;
}

.doc-title {
    font-weight: 600;
    color: var(--main-blue);
    text-decoration: none;
    display: block;
    margin-bottom: 3px;
    font-size: 1.05rem;
}

.doc-title:hover {
    color: var(--main-red);
}

.doc-meta {
    font-size: 0.8rem;
    color: #888;
}

.doc-download-btn {
    background-color: var(--bg-gray);
    color: var(--main-blue);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}

.doc-download-btn:hover {
    background-color: var(--main-blue);
    color: #fff;
}

@media (max-width: 768px) {
    .info-table th {
        width: 40%;
    }
}

.custom-accordion .table-responsive {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .custom-accordion .table {
        font-size: 0.85rem;
    }
}
