/* FEEDBACK SCREEN CSS */

.feedback-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 100vh;
}

.feedback-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feedback-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.feedback-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feedback-split-row {
  display: flex;
  justify-content: center;
  width: 100%;
}

.feedback-form-col {
  width: 100%;
  max-width: 960px;
}

.feedback-form-body-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: stretch;
}

.feedback-form-left-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feedback-form-right-panel {
  display: flex;
  flex-direction: column;
}

.feedback-form-right-panel .feedback-form-group {
  height: 100%;
}

.feedback-form-right-panel .feedback-textarea-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.feedback-form-right-panel textarea {
  flex-grow: 1;
  min-height: 310px;
  height: 100%;
}


/* Form Column */
.feedback-form-card {
  background: rgba(25, 22, 53, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feedback-form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feedback-form-group label {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Custom Select Dropdown */
.feedback-select-wrapper {
  position: relative;
  width: 100%;
}

.feedback-select-wrapper select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  font-family: inherit;
  transition: all var(--transition);
}

.feedback-select-wrapper select:focus {
  border-color: var(--purple-main);
  background: rgba(255, 255, 255, 0.04);
}

.feedback-select-wrapper .select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  
}
.feedback-select-wrapper select,
.feedback-select-wrapper select option {
    background: #181630;
    color: #fff;
}

/* Star Rating */
.feedback-stars-container {
  display: flex;
  gap: 8px;
}

.star-icon {
  cursor: pointer;
  color: #3b2c9b;
  transition: all var(--transition);
}

.star-icon svg {
  fill: transparent;
  stroke: var(--purple-main);
  stroke-width: 1.5;
  transition: all 0.15s ease;
}

.star-icon:hover svg,
.star-icon.hovered svg,
.star-icon:hover polygon,
.star-icon.hovered polygon {
  stroke: #ffb800 !important;
  fill: rgba(255, 184, 0, 0.15) !important;
}

.star-icon.selected svg,
.star-icon.selected polygon {
  stroke: #ffb800 !important;
  fill: #ffb800 !important;
}


.feedback-stars-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Textarea styling */
.feedback-textarea-wrapper {
  position: relative;
}

.feedback-textarea-wrapper textarea {
  width: 100%;
  height: 140px;
  padding: 14px 16px 36px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  resize: none;
  font-family: inherit;
  line-height: 1.5;
  transition: all var(--transition);
}

.feedback-textarea-wrapper textarea:focus {
  border-color: var(--purple-main);
  background: rgba(255, 255, 255, 0.04);
}

.feedback-textarea-wrapper .char-counter {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* File Upload Zone */
.screenshot-upload-zone {
  border: 1px dashed rgba(108, 99, 255, 0.3);
  border-radius: var(--radius-md);
  background: rgba(108, 99, 255, 0.02);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-upload-zone:hover,
.screenshot-upload-zone.dragover {
  border-color: var(--purple-main);
  background: rgba(108, 99, 255, 0.05);
}

.upload-zone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.upload-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(108, 99, 255, 0.1);
  color: var(--purple-main);
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-text {
  font-size: 0.875rem;
  color: #fff;
}

.upload-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Upload Preview */
.preview-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #181630;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.preview-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.btn-remove-preview {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 77, 106, 0.9);
  color: #fff;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.btn-remove-preview:hover {
  background: #ff4d6a;
  transform: scale(1.1);
}

/* Form Actions */
.feedback-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}

.btn-feedback-cancel {
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-feedback-cancel:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn-feedback-submit {
  padding: 12px 24px;
  background: var(--purple-main);
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}

.btn-feedback-submit:hover {
  background: #8b80ff;
  transform: translateY(-1px);
}

/* Info Column Card */
.feedback-info-card {
  background: rgba(25, 22, 53, 0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.feedback-info-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.info-card-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.feedback-graphic-container {
  display: flex;
  justify-content: center;
  padding: 12px 0;
}

.feedback-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feedback-bullet-item {
  display: flex;
  gap: 16px;
}

.bullet-icon-wrapper {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bullet-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.bullet-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.feedback-thankyou-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 16px;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .feedback-form-body-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feedback-form-right-panel textarea {
    min-height: 160px;
  }
  
  .feedback-container {
    padding: 16px;
  }
  
  .feedback-form-card,
  .feedback-info-card {
    padding: 24px;
  }
}
