/* Font + Base Styles */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'DM Sans', sans-serif;
  background: #f8f9fa;
  color: #1f1f1f;
}

/* Header styles */
.custom-header {
  background: white;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.nav-pills .nav-link {
  color: #1f1f1f;
  font-weight: 600;
  padding: 8px 14px;
}

.nav-pills .nav-link.active {
  background-color: #5946E1 !important;
  color: white;
  border-radius: 0.5rem;
}

.nav-pills .nav-link:hover {
  color: #5946E1;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 80px 20px;
  max-width: 700px;
  margin: auto;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 40px;
}

/* Paraphraser Box */
.paraphraser-box {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

textarea {
  width: 100%;
  height: 150px;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  resize: vertical;
  margin-bottom: 20px;
}

button.custom-test-btn {
  background-color: #5946E1;
  color: white;
  padding: 15px 25px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

button.custom-test-btn:hover {
  background-color: #1e00ff;
}

/* Footer */
.custom-footer {
  background-color: #f0f0f0e8;
  color: #1f1f1f;
  font-size: 0.9rem;
}

.hero-split {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.column {
  flex: 1 1 500px;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

textarea {
  width: 100%;
  height: 180px;
  padding: 15px;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  margin-top: 10px;
  resize: vertical;
}

.options {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.options select, .options button {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #f8f8f8;
  font-weight: 500;
}

.word-count {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #666;
}

.btn-wrapper {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.char-count {
  font-size: 0.9rem;
  color: #999;
  margin-top: 2px;
}

.intro-description {
  text-align: center;
  padding: 30px 20px 10px;
  color: #444;
  font-size: 1.05rem;
  line-height: 1.6;
}

.intro-description strong {
  color: #5946E1;
}

.output-area {
  min-height: 180px;
  background: #f8f9fb;
  border-radius: 10px;
  padding: 15px;
  font-size: 1rem;
  margin-top: 10px;
  text-align: left;
  color: #444;
  border: 1px solid #e0e0e0;
  overflow-y: auto;
  position: relative;
}

.placeholder {
  color: #666 !important;            /* Darker gray */
  font-style: italic;
  font-size: 1rem;
  background: transparent !important; /* Remove that red background */
  display: block;
}


.copy-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 8px 14px;
  background-color: #5946E1;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0.9;
  transition: 0.2s;
}

.copy-btn:hover {
  opacity: 1;
}

.output-area-btn {
  position: relative; /* Needed to position the copy button */
}

.starter-box {
  background-color: #fdf6e3; /* Light cream */
  color: #333;
}

.starter-box .card-header {
  background-color: #ffcc00;
  color: black;
}

.dropdown-menu {
  top: 100% !important;
  transform: translateY(0) !important;
  bottom: auto !important;
}

.user-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 48px;
  background-color: white;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 8px;
  min-width: 160px;
  z-index: 1000;
  text-align: left;
}

.user-dropdown .dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
}

.user-dropdown .dropdown-menu a:hover {
  background-color: #f5f5f5;
}
