
body, html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 70px;
}


/* INDEX PAGE STYLE */


.hero {
  position: relative;
  background: url('./images/seaice2.jpg') no-repeat center center/cover;
  height: 30vh;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); /* color and transparency (rgba) */
  z-index: 0;
}


.btn {
    margin-top: 10px;
}



.hero .container {
  z-index: 1;
  position: relative;
}
    .navbar {
      /* background-color: rgba(57, 123, 209, 1.0); */
      background-color: #2c6ead;
    }
    .section {
      padding: 30px 0;
    }
    footer {
      background-color:  rgba(57, 123, 209, 1);
      color: #fff;
      text-align: center;
      padding: 20px 0;
      margin-top: auto;
    }

/* Override Bootstrap default styles of dark theme */
 .navbar .nav-link {
  color: #ffffff;
}

.navbar .nav-link:hover {
  color: #d3d3d3;
}

.card-icon {
  color: #cccccc !important;
}




/* STAC PAGE STYLE */


.custom-navbar { background-color: #2c6ead; }
.custom-navbar .nav-link { color: #ffffff; }
.custom-navbar .nav-link:hover { color: #d3d3d3; }
.page-content { padding-top: 96px; }
.topbar { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 8px; align-items: flex-start; }
.status { margin: 0; color: #4b5563; }
.browser-grid { display: grid; grid-template-columns: 360px 1fr; gap: 16px; }
.panel { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 14px; margin-bottom: 16px; }
.panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.actions input { min-width: 260px; }
.dataset-list { display: flex; flex-direction: column; gap: 8px; max-height: 700px; overflow-y: auto; }
.dataset-item { width: 100%; text-align: left; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; padding: 10px; cursor: pointer; }
.dataset-item.active { border-color: #2c6ead; background: #e9f2fb; }
.dataset-title { font-weight: 600; margin-bottom: 4px; }
.dataset-id { color: #6b7280; font-size: 12px; margin: 0; overflow-wrap: anywhere; }
.dataset-id-line { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.service-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #e9f2fb; border: 1px solid #b7d0ea; color: #1f4f84; font-size: 12px; font-weight: 600; }
.count { background: #f3f4f6; color: #374151; border-radius: 999px; padding: 2px 8px; font-size: 12px; }
.bbox-map { width: 100%; height: 280px; border: 1px solid #d1d5db; border-radius: 8px; }
.empty { color: #6b7280; }
.error { color: #b91c1c; }
footer { background-color: #2c6ead; color: #fff; text-align: center; padding: 20px 0; margin-top: auto; }
@media (max-width: 980px) {
  .browser-grid { grid-template-columns: 1fr; }
  .topbar { flex-direction: column; }
  .actions input { min-width: 0; width: 100%; }
  .page-content { padding-top: 86px; }
}
 


/* TRAINING PAGE STYLE */


.training-card {
  height: 260px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.card-overlay {
  background: rgba(10,20,35,0.75);
  color: white;
  padding: 30px;
  width: 100%;
}

/* Background images */
.code-card {
  background-image: url("/images/code.jpg");
}

.training-card-bg {
  background-image: url("/images/training.jpg");
}