

/* CARD */
.library-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* HEADING */
.library-card h3 {
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.library-card h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-red);
  margin-top: 8px;
}

/* TABLE */
.custom-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 20px;
}

.custom-table thead th {
  background: var(--primary-blue);
  color: #fff;
  padding: 12px;
  border: none;
}

.custom-table tbody tr:nth-child(even) {
  background: #f9fafc;
}

.custom-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.custom-table td:first-child {
  font-weight: 600;
  color: var(--primary-blue);
}

.custom-table td:last-child {
  text-align: right;
  font-weight: 600;
}

/* DOCUMENT LINKS */
.doc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff, #f1f3f8);
  text-decoration: none;
  color: var(--text-black);
  border: 1px solid #e5e7eb;
  transition: 0.3s ease;
}

.doc-item i {
  font-size: 30px;
  color: #fff;
  background: var(--accent-red);
  padding: 2px;
  border-radius: 6px;
}

/* HOVER */
.doc-item:hover {
  background: linear-gradient(135deg, var(--primary-blue), #1d2a6d);
  color: #fff;
  transform: translateX(5px);
}

.doc-item:hover span {
  color: #fff;
}

.doc-item:hover i {
  background: #fff;
  color: var(--accent-red);
}

/* IMAGE */
.library-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .library-card {
    margin-top: 20px;
    padding: 20px;
  }

  .doc-item span {
    font-size: 13px;
  }
}