/* feedback.css — Feedback/Bug Report page styles */

/* Screenshot upload area */
.screenshot-upload {
  width: 100%;
}

.screenshot-dropzone {
  border: 2px dashed #d0d0d0;
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: #fafafa;
}

.screenshot-dropzone:hover,
.screenshot-dropzone.drag-over {
  border-color: var(--brand-green);
  background: #f0f8f0;
}

.dropzone-text {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  margin: 10px 0 4px;
}

.dropzone-hint {
  font-size: 12px;
  color: #999;
  margin: 0;
}

.dropzone-tip {
  font-size: 12px;
  color: #888;
  margin: 12px 0 0;
  line-height: 1.5;
}

.dropzone-tip kbd {
  display: inline-block;
  padding: 1px 5px;
  font-size: 11px;
  font-family: inherit;
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 1px 0 #bbb;
  color: #555;
}

/* Preview */
.screenshot-preview {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  background: #f8f8f8;
}

.screenshot-preview img {
  display: block;
  max-width: 100%;
  max-height: 300px;
  margin: 0 auto;
  object-fit: contain;
}

.screenshot-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.screenshot-remove:hover {
  background: rgba(200, 0, 0, 0.8);
}

/* Submit status */
.submit-status {
  font-size: 14px;
  margin-top: 8px;
  min-height: 20px;
}

.submit-status.error {
  color: #c62828;
}

.submit-status.sending {
  color: #666;
}

/* Success message */
.feedback-success {
  text-align: center;
  padding: 40px 24px;
}

.feedback-success svg {
  margin-bottom: 16px;
}

.feedback-success h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--header-bg);
  margin-bottom: 8px;
}

.feedback-success p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Disabled button state */
.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .screenshot-dropzone { padding: 24px 16px; }
  .screenshot-preview img { max-height: 200px; }
}
