/* css/style.css - Dark/black themed */
.gc-container {
  background: linear-gradient(180deg, #0b0b0b 0%, #141414 100%);
  color: #e6e6e6;
  border: 1px solid rgba(255,255,255,0.04);
  padding: 18px;
  border-radius: 12px;
  max-width: 980px;
  margin: 18px auto;
  box-shadow: 0 6px 24px rgba(0,0,0,0.6);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* Header */
.gc-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.gc-title {
  margin: 0;
  font-size: 18px;
  color: #ffffff;
}
.gc-title i {
  margin-right: 8px;
  color: #ffd166;
}

/* Textarea */
.gc-textarea {
  width: 100%;
  min-height: 160px;
  max-height: 520px;
  resize: vertical;
  padding: 12px;
  background: #0f0f10;
  color: #eaeaea;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.5;
  box-sizing: border-box;
  margin-bottom: 12px;
  outline: none;
}

/* Controls */
.gc-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.gc-right-controls {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Buttons */
.gc-btn {
  background: linear-gradient(180deg,#1f1f1f,#101010);
  color: #f1f1f1;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gc-btn i { font-size: 14px; }
.gc-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.6); }
.gc-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Spinner */
.gc-spinner {
  display: none;
  margin-left: 8px;
  color: #aab3bd;
  font-size: 13px;
}

/* Results */
.gc-results {
  margin-top: 10px;
}
.gc-summary {
  padding: 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  color: #dfe7ee;
  margin-bottom: 10px;
  font-size: 14px;
}

/* Panels */
.gc-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.gc-panel {
  background: rgba(255,255,255,0.02);
  padding: 12px;
  border-radius: 8px;
  min-height: 120px;
  box-sizing: border-box;
}
.gc-panel h4 {
  margin: 0 0 8px 0;
  font-size: 14px;
  color: #ffffff;
}

/* Corrected text area (pre) */
.gc-corrected-text {
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  font-size: 13px;
  color: #e6e6e6;
  margin: 0;
  background: transparent;
  border: none;
  padding: 4px;
}

/* Highlighted corrections (mark) */
.gc-highlighted {
  min-height: 90px;
  line-height: 1.6;
  font-size: 14px;
  color: #e6e6e6;
}
.gc-correction {
  background: rgba(255, 199, 102, 0.15);
  color: #fff;
  padding: 2px 6px;
  margin: 0 1px;
  border-radius: 4px;
  border: 1px solid rgba(255, 199, 102, 0.2);
  cursor: help;
}

/* Responsive */
@media (max-width: 800px) {
  .gc-panels { grid-template-columns: 1fr; }
  .gc-right-controls { margin-left: 0; }
}
