.spacer {
  height: 100vh;
}

/* Scroll area */
.scroll-wrapper {
  height: 200vh;
}

/* Image frame */
.image-frame {
  position: sticky;
  top: 10vh;
  height: 80vh;
  width: 85%;
  margin: auto;
  padding: var(--border, 0px);
  background: #fff;
  border-radius: 28px;
  transition: padding 0.15s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Image is STATIC */
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-radius: 18px; */
  display: block;
}
.sl-main-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    color: #253081;
    text-align: center;
}

/* Table Specific Styles */
.vessel-table-wrapper {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  padding: 20px;
  background-color: #fff;
  margin: 20px 93px;
}

.select-all {
  margin-bottom: 15px;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.select-all input[type="checkbox"] {
  margin-right: 8px;
  width: 18px;
  height: 18px;
}

table.vessel-data {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.vessel-data th,
.vessel-data td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.vessel-data th {
  background-color: #e9ecef;
  font-weight: bold;
  color: #333;
}

.vessel-data tr:nth-child(even) {
  background-color: #f8f9fa;
}

.vessel-data tr:hover {
  background-color: #e2f0ff;
}

/* Mobile Responsive Design */
@media (max-width: 992px) {
  .vessel-data,
  .vessel-data thead,
  .vessel-data tbody,
  .vessel-data th,
  .vessel-data td,
  .vessel-data tr {
    display: block;
  }
  .vessel-data thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  .vessel-data tr {
    border: 1px solid #ccc;
    margin-bottom: 15px;
  }
  .vessel-data td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
    text-align: right;
    min-height: 35px;
  }
  .vessel-data td:before {
    position: absolute;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
    color: #007bff;
  }
  /* Labels for Mobile View */
  .vessel-data td:nth-of-type(1):before {
    content: "Select:";
  }
  .vessel-data td:nth-of-type(2):before {
    content: "Vessel:";
  }
  .vessel-data td:nth-of-type(3):before {
    content: "Flag:";
  }
  .vessel-data td:nth-of-type(4):before {
    content: "Year Built:";
  }
  .vessel-data td:nth-of-type(5):before {
    content: "GRT:";
  }
  .vessel-data td:nth-of-type(6):before {
    content: "NRT:";
  }
  .vessel-data td:nth-of-type(7):before {
    content: "DWT:";
  }
  .vessel-data td:nth-of-type(8):before {
    content: "Speed (Knots):";
  }
  .vessel-data td:nth-of-type(9):before {
    content: "Capacity (TEU):";
  }
  .vessel-data td:nth-of-type(10):before {
    content: "Reefer (TEU):";
  }
  .vessel-data td:nth-of-type(11):before {
    content: "Cranes (SWL):";
  }
  .vessel-data td:nth-of-type(12):before {
    content: "IMO/Lloyd's:";
  }
  .vessel-data td:nth-of-type(13):before {
    content: "Classification:";
  }
}
