.feedback-page .header {
  height: var(--header-height);
}

.feedback-page .feedback-title-container {
  padding: var(--space-md) 0 var(--space-2xl) 0;
  width: 100%;
  max-width: 370px;
  margin: 0 auto;
  text-align: left;
}

.feedback-page .feedback-title {
  color: #fff;
  font-size: var(--text-xl);
  font-weight: 600;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  text-align: left;
}

.feedback-page .main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--space-xs) var(--space-lg) var(--space-sm);
  overflow-y: auto;
  position: relative;
  margin-bottom: var(--space-xl);
}

.feedback-page .feedback-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 370px;
  margin: 0 auto;
}

.feedback-page .form-field {
  width: 100%;
  margin-bottom: var(--space-xl);
}

.feedback-page .form-field:last-of-type {
  margin-bottom: var(--space-2xl);
}

.feedback-page .field-label {
  color: #fff;
  font-size: var(--text-md);
  font-weight: 600;
  margin: 0 0 var(--space-sm) 0;
  padding: 0;
  display: block;
}

.feedback-page .dropdown-container {
  position: relative;
  width: 100%;
}

.feedback-page .issue-dropdown {
  width: 100%;
  padding: var(--space-md) 40px var(--space-md) var(--space-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--gray-500);
  border-radius: var(--radius-md);
  color: var(--gray-300);
  font-size: var(--text-md);
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: 'Inter', Arial, sans-serif;
  outline: none;
}

.feedback-page .issue-dropdown:focus {
  border-color: var(--brand-primary);
}

.feedback-page .issue-dropdown.has-value {
  color: #fff;
}

.feedback-page .issue-dropdown option {
  font-weight: 500;
  font-size: var(--text-md);
  color: var(--gray-300);
  background-color: var(--bg-surface);
}

.feedback-page .dropdown-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--gray-300);
  pointer-events: none;
}

.feedback-page .description-textarea {
  width: 100%;
  height: 120px;
  padding: var(--space-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--gray-500);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: var(--text-md);
  font-weight: 500;
  font-family: 'Inter', Arial, sans-serif;
  resize: vertical;
  box-sizing: border-box;
  outline: none;
}

.feedback-page .description-textarea:focus {
  border-color: var(--brand-primary);
}

.feedback-page .description-textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.feedback-page .char-count {
  display: block;
  text-align: right;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-xs);
  margin-top: var(--space-xs);
}

.feedback-page .attachment-area {
  display: flex;
  align-items: center;
  width: 100%;
}

.feedback-page .attachment-input {
  display: none;
}

.feedback-page .attachment-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--gray-500);
  border-radius: var(--radius-md);
  cursor: pointer;
  height: 52px;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
  outline: none;
}

.feedback-page .attachment-wrapper:hover,
.feedback-page .attachment-wrapper:focus-within {
  border-color: var(--brand-primary);
}

.feedback-page .attach-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.feedback-page .attach-text {
  color: var(--gray-300);
  font-size: var(--text-md);
  font-weight: 500;
}

.feedback-page .attachment-preview {
  display: none;
  width: 100%;
}

.feedback-page .attachment-preview-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--brand-primary);
  border-radius: var(--radius-md);
  cursor: pointer;
  height: 52px;
  gap: var(--space-sm);
  width: 100%;
  box-sizing: border-box;
}

.feedback-page .attachment-preview-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.feedback-page .attachment-preview-text {
  color: var(--gray-300);
  font-size: var(--text-md);
  font-weight: 500;
}

.feedback-page .submit-btn {
  background-color: var(--brand-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-2xl);
  font-size: var(--text-md);
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  font-family: 'Inter', Arial, sans-serif;
  transition:
    background-color 0.2s ease,
    transform 0.1s ease;
}

.feedback-page .submit-btn:hover {
  background-color: var(--brand-primary-hover);
}

.feedback-page .submit-btn:active {
  transform: scale(0.98);
}

.feedback-page .submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.feedback-page .privacy-text {
  color: var(--gray-300);
  font-size: var(--text-sm);
  font-weight: 500;
  margin: var(--space-md) 0 0 0;
  padding: 0;
  text-align: center;
  width: 100%;
}

.feedback-page .app-icon {
  width: 24px;
  height: 24px;
  margin-right: 4px;
}

.feedback-page .header-text {
  font-size: var(--text-lg);
  font-weight: bold;
  color: #fff;
}

.feedback-page .header-center-content {
  display: flex;
  align-items: center;
  gap: 4px;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  max-width: 300px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transform: scale(0.7);
  transition: transform 0.3s ease;
}

.popup-overlay.show .popup-content {
  transform: scale(1);
}

.popup-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.popup-title {
  color: #fff;
  font-size: var(--text-lg);
  font-weight: 600;
  margin: 0 0 10px 0;
}

.popup-message {
  color: var(--gray-300);
  font-size: var(--text-base);
  margin: 0 0 var(--space-xl) 0;
  line-height: 1.4;
}

.popup-button {
  background-color: var(--brand-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-2xl);
  font-size: var(--text-md);
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  font-family: 'Inter', Arial, sans-serif;
  transition: background-color 0.2s ease;
}

.popup-button:hover {
  background-color: var(--brand-primary-hover);
}