/* Declarații de Avere și Interese – Frontend v2.0 */

.da-frontend-wrap { margin: 20px 0; }

/* Filtru */
.da-filter-front { background: #f4f8fd; border: 1px solid #d0e4f7; border-radius: 6px; padding: 10px 14px; margin-bottom: 16px; }
.da-filter-front form { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.da-filter-group { display: flex; align-items: center; gap: 6px; }
.da-filter-group label { font-size: 13px; font-weight: 600; color: #1a3a5c; white-space: nowrap; }
.da-filter-group select { font-size: 13px; padding: 5px 10px; border: 1px solid #b0cce8; border-radius: 4px; background: #fff; color: #1a3a5c; cursor: pointer; }
.da-reset-btn { font-size: 12px; padding: 5px 12px; border: 1px solid #1a3a5c; border-radius: 4px; background: #fff; color: #1a3a5c; cursor: pointer; text-decoration: none; white-space: nowrap; }
.da-reset-btn:hover { background: #1a3a5c; color: #fff; }
.da-filter-badge { background: #1a3a5c; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 12px; margin-left: auto; }

/* Tabel */
.da-frontend-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); border-radius: 8px; overflow: hidden; }
.da-frontend-table thead tr { background: #1a3a5c; }
.da-frontend-table thead th { padding: 12px 16px; text-align: left; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; }
.da-sort-th { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.da-sort-th:hover { color: #a8d0f0; }
.da-th-arrow { font-size: 12px; opacity: 0.8; }
.col-nr   { width: 50px; }
.col-an   { width: 80px; }
.col-doc  { width: 180px; }
.da-frontend-table tbody tr { border-bottom: 1px solid #e9ecef; transition: background 0.12s; }
.da-frontend-table tbody tr:last-child { border-bottom: none; }
.da-frontend-table tbody tr:hover { background: #f4f8fd; }
.da-frontend-table tbody td { padding: 11px 16px; color: #333; vertical-align: middle; }
.da-frontend-table tbody td:first-child { color: #999; font-size: 12px; }

.da-btn-pdf { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; text-decoration: none !important; transition: filter 0.15s; }
.da-btn-avere    { background: #1a3a5c; color: #fff !important; }
.da-btn-interese { background: #185fa5; color: #fff !important; }
.da-btn-pdf:hover { filter: brightness(1.15); }
.da-na { color: #ccc; font-size: 18px; }
.da-no-data { color: #666; font-style: italic; padding: 10px 0; }

@media (max-width: 640px) {
    .da-frontend-table thead { display: none; }
    .da-frontend-table tbody tr { display: block; margin-bottom: 14px; border: 1px solid #ddd; border-radius: 8px; padding: 12px 14px; }
    .da-frontend-table tbody td { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
    .da-frontend-table tbody td:last-child { border-bottom: none; }
}
