/* ===================================
   FEEDBACK PAGE SPECIFIC STYLES
   ==================================== */

/* Feedback Wrapper */
.feedback-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 0 0 0;
  background: linear-gradient(135deg, #050505 0%, #0a0a1a 25%, #0f0a1f 50%, #0a0a1a 75%, #050505 100%);
}

/* Light Mode Feedback Wrapper */
[data-theme="light"] .feedback-wrapper,
.light-mode .feedback-wrapper {
  background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 25%, #f5f5f7 50%, #ffffff 75%, #f5f5f7 100%);
}

/* Feedback Card */
.feedback-card {
  width: 100%;
  max-width: 600px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-ios);
  padding: 3rem;
  backdrop-filter: blur(20px);
  animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.feedback-card h2 {
  margin-bottom: 0.5rem;
}

.feedback-card > p {
  opacity: 0.6;
  margin-bottom: 2rem;
}

/* Toggle Container */
.toggle-container {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: 14px;
  margin-bottom: 2.5rem;
}

.toggle-btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  color: white;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.toggle-btn.active {
  background: var(--color-ios-blue);
  box-shadow: var(--shadow-sm);
}

/* Form Styles */
.upload-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.9;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-family: var(--font-family);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-ios-blue);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Submit Button */
.submit-button {
  width: 100%;
  padding: 1.2rem;
  background: var(--color-white);
  color: var(--color-midnight);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.submit-button:hover {
  opacity: 0.9;
}

.submit-button:active {
  transform: scale(0.92);
}

.submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Hidden Date Group */
.hidden {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Light Mode Feedback */
[data-theme="light"] .feedback-card,
.light-mode .feedback-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

[data-theme="light"] .toggle-container,
.light-mode .toggle-container {
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .toggle-btn,
.light-mode .toggle-btn {
  color: var(--color-white);
}

[data-theme="light"] .toggle-btn.active,
.light-mode .toggle-btn.active {
  background: var(--color-ios-blue);
  color: white;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
.light-mode .form-group input,
.light-mode .form-group textarea {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--color-white);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus,
.light-mode .form-group input:focus,
.light-mode .form-group textarea:focus {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--color-ios-blue);
}

[data-theme="light"] .submit-button,
.light-mode .submit-button {
  background: var(--color-white);
  color: var(--color-midnight);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .feedback-wrapper {
    padding: 5rem 1.5rem 0 1.5rem;
  }

  .feedback-card {
    padding: 2rem;
  }

  .feedback-card h2 {
    font-size: 1.5rem;
  }

  .feedback-card > p {
    font-size: 0.95rem;
  }

  .toggle-btn {
    padding: 8px;
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.9rem;
    font-size: 0.95rem;
  }

  .submit-button {
    padding: 1rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .feedback-wrapper {
    padding: 4rem 1rem 0 1rem;
  }

  .feedback-card {
    padding: 1.5rem;
  }

  .feedback-card h2 {
    font-size: 1.3rem;
  }

  .feedback-card > p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .toggle-container {
    margin-bottom: 2rem;
  }

  .toggle-btn {
    padding: 6px;
    font-size: 0.85rem;
  }

  .form-group {
    margin-bottom: 1.2rem;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .submit-button {
    padding: 0.9rem;
    font-size: 0.9rem;
  }
}

/* ====== NOTIFICATION STYLES ====== */
.notification-container {
  position: fixed;
  top: 100px;
  right: 1.5rem;
  z-index: 9999;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.notification-container > div {
  padding: 1rem 1.25rem;
  border-radius: 14px;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.4;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  animation: slideInNotification 0.3s cubic-bezier(0.15, 0, 0.15, 1) forwards;
}

@keyframes slideInNotification {
  from {
    opacity: 0;
    transform: translateX(400px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.notification-container > div:nth-child(1) {
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.95), rgba(0, 122, 255, 0.85));
}

/* Success notification (green) */
.notification-success {
  background: linear-gradient(135deg, rgba(52, 199, 89, 0.95), rgba(34, 197, 94, 0.85)) !important;
}

/* Error notification (red) */
.notification-error {
  background: linear-gradient(135deg, rgba(255, 69, 58, 0.95), rgba(255, 45, 85, 0.85)) !important;
}

[data-theme="light"] .notification-container > div,
.light-mode .notification-container > div {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .notification-container {
    top: 80px;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}
