:root {
    --legal-primary: #5C86B8;
    --pdf-red: #e74c3c;
    --radius: 5px;
}

.site-breadcrumb {
    padding: 60px 0;
}

.legal-table-container {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    background-color: var(--legal-primary);
    color: white;
    padding: 15px;
    font-size: 14px;
    font-weight: 500;
    border: none;
}

.table thead th:first-child {
    border-top-left-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
}

.table thead th:last-child {
    border-top-right-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
}

.table tbody td {
    padding: 12px 10px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f1f1;
}

.action-wrapper {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: 0.3s;
    text-decoration: none;
    white-space: nowrap;
    width: 38px;
    height: 38px;
}

.view-icon {
    background: #e8eaf6;
    color: var(--legal-primary);
}

.view-icon:hover {
    background: var(--legal-primary);
    color: #fff;
}

.download-icon {
    background: #fff0f0;
    color: var(--pdf-red);
}

.download-icon:hover {
    background: var(--pdf-red);
    color: #fff;
}

.doc-icon-main {
    color: var(--pdf-red);
    margin-right: 10px;
}

.btn-text {
    display: none;
}

@media (max-width: 768px) {
    .legal-table-container {
        padding: 5px;
    }
    .doc-icon-main {
        display: none;
    }
    .btn-action {
        width: auto;
        height: 34px;
        padding: 0 10px;
    }
    .btn-text {
        display: inline-block;
        font-size: 11px;
        margin-left: 4px;
    }
    .action-wrapper {
        justify-content: flex-start;
    }
}