/* 📝 Title & Description Length Checker — Advance Techie Style */
.wrap {
  max-width: 650px;
  margin: 0 auto;
  padding: 20px;
  background: transparent; /* Theme adaptive */
  font-family: 'Segoe UI', Tahoma, sans-serif;
  color: inherit;
}

.wrap h1 {
  text-align: center;
  font-size: 26px;
  color: #a855f7; /* Accent purple */
  margin-bottom: 6px;
}

.wrap p {
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 20px;
}

/* ✅ Labels */
.wrap label {
  display: block;
  margin-top: 12px;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
}

/* ✅ Inputs & Textareas */
.wrap input,
.wrap textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(170, 170, 170, 0.4);
  background: transparent;
  color: inherit;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.wrap input::placeholder,
.wrap textarea::placeholder {
  color: rgba(120, 120, 120, 0.7);
}

.wrap input:focus,
.wrap textarea:focus {
  outline: none;
  border-color: #a855f7;
  box-shadow: 0 0 4px rgba(168, 85, 247, 0.4);
}

/* ✅ Progress Bars */
.bar {
  height: 8px;
  background: rgba(170, 170, 170, 0.2);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 6px;
}

.fill {
  height: 100%;
  width: 0;
  background: #a855f7; /* Default accent color */
  transition: width 0.3s ease, background 0.3s ease;
  border-radius: 6px;
}

/* ✅ Legend Info */
.legend {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  opacity: 0.8;
  margin-top: 4px;
}

/* ✅ Copy Button */
.btn {
  background: #a855f7;
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
  margin-top: 16px;
  width: 100%;
}

.btn:hover {
  background: #9333ea;
}

.btn:active {
  transform: scale(0.98);
}

/* ✅ Responsive */
@media (max-width: 600px) {
  .wrap h1 {
    font-size: 22px;
  }
}
