@import url("../styles.css");

/* Page-specific tweaks */

.back{
  color: rgba(255,255,255,.82);
  text-decoration:none;
  font-weight:700;
  font-size:13px;
}

h1{
  font-size: clamp(30px, 4vw, 44px);
  margin: 10px 0 6px;
}

.lead{
  color: rgba(255,255,255,.76);
  max-width: 700px;
  margin-bottom: 22px;
}

.labs-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap:16px;
  margin-top: 12px;
}

.lab-card{
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow2);
  display:flex;
  flex-direction:column;
  gap:8px;
  text-decoration:none;
  color: var(--text);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.lab-card.active:hover{
  transform: translateY(-2px);
  border-color: rgba(51,214,255,.45);
  background: rgba(255,255,255,.09);
}

.lab-card.disabled{
  opacity:.55;
  cursor:not-allowed;
}

.lab-title{
  font-size:18px;
  font-weight:950;
  letter-spacing:.2px;
}

.lab-desc{
  font-size:13.5px;
  color: rgba(255,255,255,.78);
  line-height:1.45;
}

.lab-status{
  margin-top:8px;
  font-size:12px;
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  width:fit-content;
  border:1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
}

.lab-status.ok{
  border-color: rgba(46,229,157,.4);
  background: rgba(46,229,157,.18);
  color: rgba(255,255,255,.95);
}
