/* ========================================
   Modern Feedback Page Styles
   ======================================== */

/* Hero Section */
.feedback-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 30px 20px 40px;
  text-align: center;
  color: white;
  margin: 0 0 40px 0;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.feedback-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.feedback-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.feedback-form {
  background-color: white;
}

.feedback-hero-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.feedback-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.feedback-hero-subtitle {
  font-size: 0.95rem;
  opacity: 0.95;
  margin-bottom: 0;
}

/* Feedback Form Container */
.feedback-form-container {
  max-width: 800px;
  margin: 0 auto;
}

.feedback-form-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.8);
}

/* Section Headers */
.feedback-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  color: #1a202c;
  margin-bottom: 20px;
  font-weight: 600;
}

.feedback-section-header i {
  color: #764ba2;
}

/* Category Selection */
.feedback-category {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.category-btn {
  padding: 20px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 120px;
  justify-content: center;
}

.category-btn-icon {
  font-size: 32px;
  margin-bottom: 5px;
}

.category-btn-title {
  font-weight: 700;
  font-size: 1rem;
  color: #1a202c;
  margin: 5px 0;
}

.category-btn-desc {
  font-size: 0.85rem;
  color: #718096;
  margin: 0;
}

.category-btn:hover {
  border-color: #764ba2;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(118, 75, 162, 0.2);
}

.category-btn.selected {
  border-color: #764ba2;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 6px 16px rgba(118, 75, 162, 0.3);
}

.category-btn.selected .category-btn-title,
.category-btn.selected .category-btn-desc {
  color: white;
}

/* Textarea */
.feedback-textarea {
  width: 100%;
  min-height: 150px;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  transition: all 0.3s ease;
  margin-bottom: 30px;
  line-height: 1.6;
}

.feedback-textarea:focus {
  outline: none;
  border-color: #764ba2;
  box-shadow: 0 0 0 3px rgba(118, 75, 162, 0.1);
}

.feedback-textarea::placeholder {
  color: #a0aec0;
}

/* Email Input */
.feedback-email-input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.feedback-email-input:focus {
  outline: none;
  border-color: #764ba2;
  box-shadow: 0 0 0 3px rgba(118, 75, 162, 0.1);
}

/* Submit Button */
.feedback-submit {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(118, 75, 162, 0.3);
  width: 100%;
}

.feedback-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(118, 75, 162, 0.4);
}

.feedback-submit:disabled {
  background: #cbd5e0;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Status Messages */
.success-message {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #c3e6cb;
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.success-message i {
  font-size: 24px;
}

.error-message {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  color: #721c24;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #f5c6cb;
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.error-message i {
  font-size: 24px;
}

/* Info Box */
.feedback-info-box {
  background: #edf2f7;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
  border-left: 4px solid #764ba2;
}

.feedback-info-box p {
  margin: 0;
  color: #4a5568;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .feedback-hero {
    padding: 30px 20px 40px;
    margin: 0 0 30px 0;
  }
  
  .feedback-hero-title {
    font-size: 1.6rem;
  }
  
  .feedback-hero-icon {
    font-size: 40px;
  }
  
  .feedback-form-card {
    padding: 25px 20px;
  }
  
  .feedback-category {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .category-btn {
    padding: 15px 10px;
    min-height: 100px;
  }
  
  .category-btn-icon {
    font-size: 28px;
  }
  
  .category-btn-title {
    font-size: 0.9rem;
  }
  
  .category-btn-desc {
    font-size: 0.75rem;
  }
  
  .feedback-section-header {
    font-size: 1.1rem;
  }
}

@media (max-width: 500px) {
  .feedback-category {
    grid-template-columns: 1fr;
  }
  
  .category-btn {
    min-height: 90px;
  }
  
  .feedback-submit {
    font-size: 1rem;
    padding: 14px 30px;
  }
}

/* Animation on load */
.fade-in {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }
