/* TCHRBLX Branding & styles - wide layout */
.tchrblx-wrapper{
  display:flex;
  justify-content:center;
  padding:20px;
}
.tchrblx-card{
  width:100%;
  max-width:1100px;
  background:linear-gradient(180deg,#0f172a,#071029);
  color:#e6eef8;
  border-radius:12px;
  padding:18px;
  box-shadow:0 10px 30px rgba(2,6,23,0.6);
  font-family:Inter,system-ui,Arial;
}

/* Brand */
.tchrblx-brand{
  font-weight:800;
  font-size:24px;
  letter-spacing:2px;
  color:#00d1ff;
  margin-bottom:8px;
}

/* Input row: desktop side-by-side */
.tchrblx-input-row{
  display:flex;
  flex-direction:row;
  gap:10px;
  align-items:center;
  margin-bottom:12px;
}

/* Input & button */
.tchrblx-input-row input{
  flex:1;
  padding:12px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.06);
  background:rgba(255,255,255,0.02);
  color:#fff;
  min-width:0; /* prevents overflow in flex */
  font-size:14px;
}
.tchrblx-btn{
  padding:10px 16px;
  border-radius:8px;
  border:none;
  background:linear-gradient(90deg,#00d1ff,#6bffaa);
  color:#042a2b;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
}

/* Loader */
.tchrblx-loader{
  height:36px;
  width:36px;
  border-radius:50%;
  border:4px solid rgba(255,255,255,0.08);
  border-top-color:#00d1ff;
  animation:spin 1s linear infinite;
  margin:8px auto;
}
@keyframes spin{ to{ transform:rotate(360deg); } }

/* Results: vertical list of rows (each row is label + value inline on desktop) */
.tchrblx-result{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

/* Each row */
.tchrblx-row{
  display:flex;
  align-items:center;
  padding:8px;
  border-radius:6px;
  background:rgba(255,255,255,0.02);
  gap:12px;
}

/* Label / value layout */
.tchrblx-row .label{
  font-weight:700;
  width:180px;       /* fixed label width on desktop */
  flex-shrink:0;
  color: #cfefff;
}
.tchrblx-row .value{
  font-weight:500;
  flex:1;
  word-break:break-word;
}

/* Avatar row specifics */
.avatar-row img{
  width:84px;
  height:84px;
  border-radius:8px;
  object-fit:cover;
  display:block;
}

/* Error box */
.tchrblx-error{
  margin-top:10px;
  color:#ffb4b4;
  background:rgba(255,180,180,0.04);
  padding:8px;
  border-radius:6px;
}

/* --------------------------
   Mobile adjustments (<=720px)
   - stack input/button
   - stack label above value for results
   - make button / input full width
   -------------------------- */
@media (max-width:720px){
  .tchrblx-card{ padding:12px; }

  /* stack input & button vertically on mobile */
  .tchrblx-input-row{
    flex-direction:column;
    align-items:stretch;
  }
  .tchrblx-input-row input{ width:100%; }
  .tchrblx-input-row .tchrblx-btn{
    width:100%;
    margin-top:0;
    text-align:center;
  }

  /* results: each row becomes column (label above value) */
  .tchrblx-row{
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
  }
  .tchrblx-row .label{
    width:100%;
    margin-bottom:6px;
    color:#98d6ff;
  }
  .tchrblx-row .value{ width:100%; }
}
