/* =========================================================
   CYRTIX LAB — TOOLS PAGE
========================================================= */


.lab-tools {
  min-height: 100%;
  width: 100%;
}

.lab-tools-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--cx-space-12);
  gap: var(--cx-space-6);
}

.lab-tools-title {
  font-size: var(--cx-text-3xl);
  color: var(--cx-slate-50);
}

.lab-tools-sub {
  color: var(--cx-slate-400);
  max-width: 520px;
}

/* Search */
.lab-tools-search {
  position: relative;
  right:30px;
  width: 260px;
}

.lab-tools-search i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cx-slate-500);
}

.lab-tools-search input {
  width: 100%;
  padding: 0.6rem 0.8rem 0.6rem 2.4rem;
  background: var(--cx-steel-900);
  border: 1px solid var(--cx-steel-800);
  border-radius: var(--cx-radius-md);
  color: var(--cx-slate-300);
}

/* Section */
.lab-tool-section {
  margin-bottom: var(--cx-space-14);
}

.lab-tool-section-title {
  font-size: var(--cx-text-xl);
  color: var(--cx-slate-100);
  margin-bottom: var(--cx-space-6);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Grid */
.lab-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--cx-space-6);
}

/* Card */
.lab-tool-card {
  background: var(--cx-glass-dark);
  border: 1px solid var(--cx-steel-800);
  border-radius: var(--cx-radius-lg);
  padding: var(--cx-space-6);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: var(--cx-space-4);
  transition: all 0.25s ease;
}

.lab-tool-card:hover {
  border-color: var(--cx-cyan-400);
  transform: translateY(-4px);
  box-shadow: var(--cx-glow-cyan-soft);
}

/* Icon */
.lab-tool-icon {
  font-size: 1.8rem;
  color: var(--cx-cyan-400);
}

/* Body */
.lab-tool-body h3 {
  font-size: var(--cx-text-lg);
  color: var(--cx-slate-100);
  margin-bottom: 0.25rem;
}

.lab-tool-body p {
  font-size: var(--cx-text-sm);
  color: var(--cx-slate-500);
}

/* Meta */
.lab-tool-meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--cx-text-xs);
  margin-top: auto;
}

.tool-type {
  color: var(--cx-slate-400);
}

.tool-status {
  padding: 0.2rem 0.6rem;
  border-radius: var(--cx-radius-full);
  font-weight: var(--cx-weight-semibold);
}

.tool-status.available {
  background: var(--cx-success-bg);
  color: var(--cx-success);
}

.tool-status.coming {
  background: var(--cx-warning-bg);
  color: var(--cx-warning);
}

.tool-status.locked {
  background: var(--cx-danger-bg);
  color: var(--cx-danger);
}

/* Locked tool */
.lab-tool-card.locked {
  opacity: 0.6;
  pointer-events: none;
}
