/* ══ BUTTONS ══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--teal-light);
  }
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover {
    background: var(--gold-light);
  }
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
}

@media (hover: hover) and (pointer: fine) {
  .btn-outline:hover {
    border-color: var(--teal);
    color: var(--teal);
  }
}

.btn-danger {
  background: #c0392b;
  color: var(--white);
}

@media (hover: hover) and (pointer: fine) {
  .btn-danger:hover {
    background: #e74c3c;
  }
}

.btn-sm {
  padding: 0.3rem 0.7rem;
  font-size: 0.76rem;
}

/* ══ CARDS ══ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  margin-bottom: 1.2rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
  }
}

.card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--navy);
  flex-shrink: 0;
}

/* ══ STAT GRID ══ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
}

.stat-card.gold::before {
  background: var(--gold);
}

.stat-card.red::before {
  background: #c0392b;
}

.stat-card.blue::before {
  background: #2980b9;
}

.stat-card.green::before {
  background: #27ae60;
}

.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* ══ TABLE ══ */
.table-wrap {
  overflow-x: auto;
  /* Eliminat flex: 1 și min-height: 0 ca să crească liber pentru scroll pe pagină */
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

thead tr {
  background: var(--cream-dark);
  border-bottom: 2px solid var(--border);
}

thead th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: sticky;
  top: 0;
  background: var(--cream-dark);
  z-index: 10;
}

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}

@media (hover: hover) and (pointer: fine) {
  tbody tr:hover {
    background: #faf9f6;
  }
}

tbody td {
  padding: 0.65rem 1rem;
  vertical-align: middle;
}

/* ══ BADGE ══ */
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 500;
}

.badge-green {
  background: #d4edda;
  color: #1a6830;
}

.badge-red {
  background: #f8d7da;
  color: #7c1b24;
}

.badge-yellow {
  background: #fff3cd;
  color: #7d5a0a;
}

.badge-blue {
  background: #d1ecf1;
  color: #0c5460;
}

.badge-gray {
  background: #e9ecef;
  color: #495057;
}

.badge-purple {
  background: #e8d5f5;
  color: #5b2d8e;
}

/* ══ FORM ══ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group.full {
  grid-column: 1/-1;
}

label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

input,
select,
textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--text);
  transition: all 0.2s ease;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(20, 143, 125, 0.15);
}

textarea {
  resize: vertical;
  min-height: 80px;
}

/* ══ MODAL ══ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 31, 61, 0.6);
  z-index: 1050;
  /* Changed from 500 to stay above sidebar (1001) and mobile btn (1000) */
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  width: 92%;
  max-width: 580px;
  box-shadow: var(--shadow-lg);
  animation: modalScaleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  margin-bottom: 1.4rem;
  color: var(--navy);
}

.modal-footer {
  margin-top: 1.4rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
}

/* ══ RAPORT ══ */
.raport-doc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  font-size: 0.88rem;
  line-height: 1.7;
  box-shadow: var(--shadow);
}

.raport-header {
  text-align: center;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.raport-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.raport-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.raport-section {
  margin: 1.2rem 0;
}

.raport-section h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.raport-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dotted var(--border);
}

.raport-row span:last-child {
  font-weight: 600;
}

.raport-total {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 2px solid var(--navy);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.semnatura-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.semnatura-box {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.semnatura-line {
  border-bottom: 1px solid var(--text);
  margin: 2.5rem 0 0.4rem;
}

/* ══ ALERT ══ */
.alert {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.83rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert-info {
  background: #d1ecf1;
  color: #0c5460;
  border-left: 4px solid #17a2b8;
}

.alert-warning {
  background: #fff3cd;
  color: #856404;
  border-left: 4px solid var(--gold);
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border-left: 4px solid #28a745;
}

.alert-danger {
  background: #f8d7da;
  color: #7c1b24;
  border-left: 4px solid #c0392b;
}

/* ══ TABS ══ */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.4rem;
}

.tab {
  padding: 0.55rem 1.2rem;
  font-size: 0.83rem;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  color: var(--text-muted);
  transition: all 0.15s;
}

@media (hover: hover) and (pointer: fine) {
  .tab:hover {
    color: var(--teal);
  }
}

.tab.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* ══ PROPRIETAR PORTAL ══ */
.portal-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6e 100%);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  color: white;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow-lg);
}

.portal-apt-badge {
  width: 80px;
  height: 80px;
  background: var(--gold);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  color: var(--navy);
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
}

.portal-apt-badge .apt-nr {
  font-size: 1.8rem;
  line-height: 1;
}

.portal-apt-badge .apt-lbl {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

.portal-info h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.portal-info p {
  font-size: 0.82rem;
  color: #8a9ab8;
}

.portal-status {
  margin-left: auto;
  text-align: right;
}

.status-plata {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 24px;
  font-size: 0.82rem;
  font-weight: 600;
}

.status-plata.ok {
  background: rgba(39, 174, 96, 0.2);
  color: #27ae60;
  border: 1px solid rgba(39, 174, 96, 0.3);
}

.status-plata.restant {
  background: rgba(192, 57, 43, 0.2);
  color: #e74c3c;
  border: 1px solid rgba(192, 57, 43, 0.3);
}

.factura-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s;
}

@media (hover: hover) and (pointer: fine) {
  .factura-card:hover {
    transform: translateX(4px);
  }
}

.factura-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.factura-icon.paid {
  background: #d4edda;
}

.factura-icon.unpaid {
  background: #f8d7da;
}

.factura-info {
  flex: 1;
}

.factura-luna {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

.factura-detalii {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.factura-suma {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: var(--navy);
  text-align: right;
}

.factura-suma .sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ══ CONTURI ══ */
.cont-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}

.cont-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.cont-avatar.admin {
  background: var(--gold);
  color: var(--navy);
}

.cont-avatar.proprietar {
  background: var(--teal);
  color: #fff;
}

.cont-info {
  flex: 1;
}

.cont-username {
  font-weight: 600;
  font-size: 0.88rem;
}

.cont-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cont-actions {
  display: flex;
  gap: 0.4rem;
}

/* ══ MISC ══ */
@media print {

  aside,
  header,
  .page-header .btn,
  .btn-group,
  .tabs,
  .nav-item,
  #login-screen {
    display: none !important;
  }

  main {
    padding: 0;
  }

  .raport-doc {
    box-shadow: none;
    border: none;
  }
}


.search-bar {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.search-bar input {
  flex: 1;
}

.progress-bar {
  height: 8px;
  background: var(--cream-dark);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--teal);
  transition: width 0.4s;
}

.progress-fill.gold {
  background: var(--gold);
}

.progress-fill.red {
  background: #c0392b;
}

.btn-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.empty-state .icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.2rem 0;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  width: 100%;
  padding-right: 2.5rem;
}

.toggle-pw {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-muted);
  background: none;
  border: none;
}

/* ══ TOAST ══ */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  padding: 0.75rem 1.2rem;
  font-size: 0.85rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.25s ease;
  max-width: 320px;
}

.toast.success {
  border-left: 4px solid #27ae60;
}

.toast.error {
  border-left: 4px solid #c0392b;
}

.toast.info {
  border-left: 4px solid #2980b9;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateX(40px);
  }
}

/* ══ HAMBURGER ══ */
.btn-hamburger {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #d0dce8;
  border-radius: 8px;
  padding: 0.3rem 0.6rem;
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 992px) {
  header {
    padding: 0 1rem;
  }

  .header-meta,
  .user-name,
  .user-role-badge {
    display: none;
  }

  .btn-hamburger {
    display: block;
  }

  aside {
    position: fixed;
    left: -240px;
    top: 0;
    bottom: 0;
    z-index: 1001;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
    display: flex !important;
    /* Ensure it's not hidden by other media queries */
    transform: translateX(0);
  }

  aside.mobile-active {
    transform: translateX(240px);
  }

  main {
    padding: 1rem;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .semnatura-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .portal-hero {
    flex-direction: column;
    padding: 1.5rem;
    text-align: center;
  }

  .portal-status {
    margin-left: 0;
    text-align: center;
    margin-top: 1rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .card {
    flex: none;
    min-height: 0;
  }

  .table-wrap {
    overflow-y: visible;
    min-height: auto;
  }
}

/* ══ NOTIF BELL ══ */
.notif-bell {
  position: relative;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #8a9ab8;
  border-radius: 8px;
  padding: 0.3rem 0.7rem;
  font-size: 1rem;
  transition: all .15s;
}

.notif-bell:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.notif-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #c0392b;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

.notif-badge.show {
  display: flex;
}

/* ══ CHART ══ */
.chart-wrap {
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 180px;
  padding: 0 4px;
}

.bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 32px;
}

.bar {
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: var(--teal);
  transition: height .4s;
  position: relative;
  min-height: 4px;
}

.bar.gold {
  background: var(--gold);
}

.bar.red {
  background: #c0392b;
}

.bar-val {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
}

.bar-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
}

/* ══ MESAJE ══ */
.msg-thread {
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 1rem 0;
}

.msg-bubble {
  max-width: 75%;
  padding: 0.6rem 1rem;
  border-radius: 14px;
  font-size: 0.84rem;
  line-height: 1.5;
}

.msg-bubble.admin {
  background: var(--navy);
  color: #fff;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.msg-bubble.prop {
  background: var(--teal);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.msg-meta {
  font-size: 0.7rem;
  opacity: .7;
  margin-top: 4px;
}

.msg-input-row {
  display: flex;
  gap: 8px;
  margin-top: 0.8rem;
}

.msg-input-row input {
  flex: 1;
}

.btn-delete-msg {
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #c0392b;
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  padding: 5px;
  border-radius: 50%;
}

.msg-bubble:hover .btn-delete-msg {
  opacity: 0.6;
  right: -35px;
}

.btn-delete-msg:hover {
  opacity: 1 !important;
  background: rgba(192, 57, 43, 0.1);
}

/* ══ DEFECT ══ */
.defect-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  box-shadow: var(--shadow);
}

.defect-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
}

.defect-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.defect-status.nou {
  background: #e74c3c;
}

.defect-status.in_lucru {
  background: var(--gold);
}

.defect-status.rezolvat {
  background: #27ae60;
}

/* ══ AUDIT ══ */
.audit-row {
  display: flex;
  gap: 10px;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
}

.audit-time {
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 130px;
}

.audit-user {
  font-weight: 600;
  color: var(--teal);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 80px;
}

.audit-action {
  color: var(--text);
}

/* ══ VOTE ══ */
.vot-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.vot-optiune {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.5rem 0.8rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  margin: 0.4rem 0;
  cursor: pointer;
  transition: border-color .15s;
}

@media (hover: hover) and (pointer: fine) {
  .vot-optiune:hover {
    border-color: var(--teal);
  }
}

.vot-optiune.selected {
  border-color: var(--teal);
  background: rgba(26, 122, 110, 0.08);
}

.vot-bar-wrap {
  background: var(--cream-dark);
  border-radius: 4px;
  height: 8px;
  flex: 1;
  overflow: hidden;
}

.vot-bar-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 4px;
  transition: width .4s;
}

/* ══ CONTOR ══ */
.contor-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr 1fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
}

/* ══ ANUNT ══ */
.anunt-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 0.8rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--teal);
}

.anunt-card.urgent {
  border-left-color: #c0392b;
}

.anunt-card.info {
  border-left-color: var(--gold);
}

.anunt-titlu {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}

.anunt-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 3px 0 8px;
}

/* ══ DOC INDEX ══ */
.doc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.doc-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.doc-info {
  flex: 1;
}

.doc-titlu {
  font-weight: 600;
  font-size: 0.88rem;
}

.doc-meta {
  font-size: 0.74rem;
  color: var(--text-muted);
}