/* Case Converter — Tool-specific styles */

.page { padding: 40px 20px; max-width: 900px; margin: 0 auto; }
.page h1 { font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.page .subtitle { color: #888; margin-bottom: 20px; font-size: 14px; }

label {
  display: block; font-size: 13px; font-weight: 600; color: #aaa;
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px;
}

textarea {
  width: 100%; min-height: 150px; background: #0d0d0d; border: 1px solid #2a2a2a;
  border-radius: 8px; color: #e1e1e1;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px; line-height: 1.6; padding: 14px; resize: vertical; outline: none;
  transition: border-color 0.2s;
}
textarea:focus { border-color: #ff4444; }
textarea::placeholder { color: #444; }

.char-count { text-align: right; font-size: 12px; color: #444; margin-top: 4px; }

/* Button grid */
.btn-grid {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 20px 0;
}
.btn-grid .btn {
  padding: 10px 18px; font-size: 13px;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

/* Result */
.result-area { margin-top: 0; }
.result-text {
  background: #0d0d0d; border: 1px solid #2a2a2a; border-radius: 8px;
  padding: 14px; color: #e1e1e1; font-size: 15px; line-height: 1.6;
  min-height: 80px; white-space: pre-wrap; word-break: break-word;
  max-height: 300px; overflow-y: auto;
}
.result-actions {
  display: flex; align-items: center; gap: 10px; margin-top: 12px;
}
.btn-sm { padding: 8px 18px; font-size: 13px; }
.copy-msg { font-size: 13px; color: #4caf50; }

@media (max-width: 600px) {
  .page { padding: 24px 12px; }
  .page h1 { font-size: 22px; }
  .btn-grid .btn { padding: 8px 14px; font-size: 12px; }
}
