/* Premium Data Page Styling */
.table-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(33, 76, 154, 0.08);
  box-shadow: 0 20px 50px rgba(27, 50, 98, 0.06);
  padding: 24px;
  margin-bottom: 34px;
  overflow: hidden;
}

.toolbar {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.search-input {
  flex: 1;
  min-width: 260px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(33, 76, 154, 0.12);
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(33, 76, 154, 0.08);
}

.filter-select {
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(33, 76, 154, 0.12);
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-select:focus {
  border-color: var(--primary);
}

.table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(33, 76, 154, 0.06);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.data-table th {
  background: linear-gradient(135deg, rgba(33, 76, 154, 0.05) 0%, rgba(33, 76, 154, 0.02) 100%);
  color: var(--primary);
  font-weight: 700;
  padding: 16px 20px;
  border-bottom: 2px solid rgba(33, 76, 154, 0.1);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(33, 76, 154, 0.06);
  color: var(--text);
  vertical-align: middle;
}

.data-table tbody tr {
  transition: background-color 0.2s ease;
}

.data-table tbody tr:hover {
  background-color: rgba(33, 76, 154, 0.02);
}

/* Document & Actions Badges */
.doc-links-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-doc-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.btn-doc-download.proposal {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.btn-doc-download.kemajuan {
  background: rgba(245, 158, 11, 0.08);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.15);
}

.btn-doc-download.akhir {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.btn-doc-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.btn-doc-download.proposal:hover {
  background: #2563eb;
  color: #ffffff;
}

.btn-doc-download.kemajuan:hover {
  background: #d97706;
  color: #ffffff;
}

.btn-doc-download.akhir:hover {
  background: #059669;
  color: #ffffff;
}

.btn-doc-upload-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(100, 116, 139, 0.06);
  color: #64748b;
  border: 1px dashed rgba(100, 116, 139, 0.3);
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-doc-upload-placeholder:hover {
  background: rgba(33, 76, 154, 0.06);
  color: var(--primary);
  border-color: rgba(33, 76, 154, 0.4);
}

/* Info Cards */
.data-info-grid {
  align-items: stretch;
}

.info-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.info-card h3 {
  margin: 0 0 18px;
  font-size: 1rem;
}

.info-card p {
  margin: 0;
}