body {margin:0;font-family:'Segoe UI';background:#f4f6fb;display:flex;}
.sidebar {width:240px;background:#fff;height:100vh;padding:8px 15px 15px 15px;border-right:1px solid #ddd;}
.tool {
  padding: 6px 8px;
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 8px;

  font-size: 12px;
  font-weight: 600;

  background: linear-gradient(135deg, #dbeafe, #d1fae5);
  color: #1e293b;

  /* 🔥 ADD THIS BORDER */
  border: 1px solid #94a3b8;

  transition: all 0.2s ease;
}
.tool:hover {
  background: linear-gradient(135deg, #bfdbfe, #bbf7d0);

  /* ✅ subtle movement */
  transform: translateY(-1px);

  /* ✅ light shadow (not heavy) */
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.tool {
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}
.tool.active {
  background: linear-gradient(135deg, #3b82f6, #34d399);
  color: white;
}

.main {flex:1;display:flex;flex-direction:column;}
.header {background:white;padding:12px 20px;border-bottom:1px solid #ddd;font-weight:bold;}
.content {display:flex;gap:10px;padding:10px;height:calc(100vh - 120px);}

.panel {flex:1;display:flex;flex-direction:column;}

textarea,input {
  border:1px solid #ddd;
  border-radius:6px;
  padding:8px;
  font-family:monospace;
  margin-top:5px;
}

textarea {flex:1;}

.row {
  display:flex;
  gap:10px;
  margin-top:8px;
  margin-bottom:6px;   /* 🔥 ADD THIS LINE */
}
.row > div {
  flex:1;
  display:flex;
  flex-direction:column;
  min-width: 0;   /* 🔥 THIS FIXES YOUR ISSUE */
}

button {
  padding:8px 12px;
  margin-right:5px;
  border:none;
  border-radius:5px;
  cursor:pointer;
}

.run{background:#22c55e;color:white;}
.copy{background:#3b82f6;color:white;}
.download{background:#10b981;color:white;}
.clear{background:#ef4444;color:white;}


#toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #16a34a; /* green */
  color: white;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 9999;
}
/* ONLY Schema Compatibility textarea size increase */
#oldSchema, #newSchema {
  flex: none !important;
  width: 100%;
  height: calc(100vh - 260px);   /* 🔥 same approach as lag */
  box-sizing: border-box;
  resize: vertical;
}
#dlqInput {
  flex: none !important;
  width: 100%;
  height: calc(100vh - 260px);   /* same as schema */
  box-sizing: border-box;
  resize: vertical;
}
/* 🔥 Data Generator textarea size */
#dgSchema {
  flex: none !important;
  width: 100%;
  height: calc(100vh - 260px);   /* same as schema */
  box-sizing: border-box;
  resize: vertical;
}
#lagInput {
  flex: none !important;
  width: 100%;
  height: 300px;
  min-height: 300px;
  max-height: calc(100vh - 300px);  /* 🔥 increase gap */
  box-sizing: border-box;
  resize: vertical;
}
/* Base button 
.modern-btn {
  padding: 10px 18px;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  color: white;
}
.modern-btn {
  padding: 6px 10px;   
  font-size: 13px;     
  border-radius: 20px;
  white-space: nowrap;
}*/

.modern-btn {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 20px;
  border: 1px solid transparent;
  font-weight: 500;
  transition: all 0.2s ease;
}

/* Behind the Tool (Purple → Premium) */
.btn-about {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

/* Get in Touch (Green → Friendly) */
.btn-contact {
  background: linear-gradient(135deg, #10b981, #059669);
}

/* Hover 
.modern-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}*/
.modern-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
/* Smooth animation for all buttons */
button {
  transition: all 0.2s ease;
}

/* Hover effect (subtle lift + glow) */
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

/* Click (press) effect */
button:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Focus glow (when clicked via keyboard/mouse) */
button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}
.banner-container {
  margin-top: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.banner-container img {
  width: 95%;
  height: auto;              /* ✅ keep full image */
  object-fit: contain;       /* ✅ no cropping */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
#infoPage h2 {
  margin-top: 5px;   /* 🔥 reduce space above title */
}

#infoPage p {
  margin-top: 8px;   /* tighter spacing */
}
.group-title {
  font-size:13px;
  font-weight:700;
  margin-top:12px;
  margin-bottom:6px;
  color:#374151;
}
/* 🏠 Home - light blue */
.btn-home {
  background: #e0f2fe;
  color: #0369a1;
}

/* ✨ Behind Tool - light purple */
.btn-about {
  background: #ede9fe;
  color: #5b21b6;
}

/* 📬 Contact - light green */
.btn-contact {
  background: #dcfce7;
  color: #166534;
}

/* 🔐 Privacy - light orange */
.btn-privacy {
  background: #ffedd5;
  color: #c2410c;
}

/* 📜 Terms - light grey */
.btn-terms {
  background: #f3f4f6;
  color: #374151;
}
/* NAV CONTAINER */
.nav-container {
  display: flex;
  gap: 10px;
  padding: 6px;
  background: #e2e8f0;
  border-radius: 30px;

  /* 🔥 ADD THIS */
  overflow-x: auto;
}

/* BUTTON BASE */
.nav-btn {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 20px;
  border: none;

  background: linear-gradient(135deg, #93c5fd, #86efac);
  color: #0f172a;

  font-weight: 600;

  /* 🔥 ADD THIS */
  white-space: nowrap;
}
/* HOVER EFFECT */
.nav-btn:hover {
  background: linear-gradient(135deg, #3b82f6, #34d399);
  color: white;
}
/* ACTIVE BUTTON (IMPORTANT) */
.nav-btn.active {
  box-shadow: 0 0 0 2px white inset,
              0 3px 10px rgba(0,0,0,0.15);
}
#infoPage h3 {
  margin-top: 18px;
}

#infoPage ul {
  margin-top: 6px;
  margin-bottom: 10px;
}