
/* MAIN WRAPPER */
.library-wrapper {
  max-width: 1200px;
  margin: auto;
}

/* HEADER BLOCK */
.library-header {
  text-align: center;
  margin-bottom: 50px;
}

.library-header h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-blue);
}

.library-header span {
  display: block;
  width: 70px;
  height: 4px;
  background: var(--accent-red);
  margin: 10px auto 0;
  border-radius: 10px;
}

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

/* TEXT */
.library-text {
  color: #444;
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 20px;
}

/* ICON HEADING */
.icon-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.icon-heading i {
  color: var(--accent-red);
  font-size: 18px;
}

.icon-heading h4 {
  margin: 0;
  color: var(--primary-blue);
  font-weight: 700;
}

/* TABLE CARD */
.table-card {
  background: #f9fbff;
  border-radius: 15px;
  padding: 15px;
  margin-top: 20px;
  overflow-x: auto;
}

/* TABLE */
.table-card table {
  width: 100%;
  border-collapse: collapse;
}

.table-card th {
  background: var(--primary-blue);
  color: #fff;
  padding: 12px;
  font-size: 14px;
}

.table-card td {
  padding: 10px;
  font-size: 14px;
  border-bottom: 1px solid #eee;
}

/* STRIPES */
.table-card tr:nth-child(even) {
  background: #ffffff;
}

/* HOVER */
.table-card tr:hover {
  background: #eef2ff;
}

/* IMAGE SIDE */
.library-image-box {
  position: relative;
}

.library-image-box img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* FLOAT BADGE */
.library-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-red);
  color: #fff;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 500;
}

/* RESPONSIVE */
@media(max-width:992px){
  .library-card {
    padding: 25px;
  }
}

@media(max-width:768px){
  .library-header h3 {
    font-size: 24px;
  }

  .icon-heading {
    justify-content: center;
  }

  .library-text {
    text-align: center;
  }
}