.feedback-button {
  position: fixed;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 30px 0 0 30px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feedback-button:hover {
  right: 0;
  padding-right: 25px;
  box-shadow: -6px 0 30px rgba(0, 0, 0, 0.25);
}

.feedback-button.hidden {
  transform: translateX(100%);
}

.feedback-button svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.feedback-button:hover svg {
  transform: rotate(-10deg);
}

.feedback-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.feedback-overlay.active {
  opacity: 1;
  visibility: visible;
}

.feedback-panel {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: 420px;
  background: white;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
  display: flex;
  flex-direction: column;
}

.feedback-panel.active {
  transform: translateX(0);
}

.panel-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 24px;
  position: relative;
}

.panel-header h2 {
  font-size: 24px;
  margin-bottom: 4px;
}

.panel-header p {
  opacity: 0.9;
  font-size: 14px;
}

.close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.close-button svg {
  width: 16px;
  height: 16px;
  stroke: white;
  stroke-width: 2;
}

.panel-content {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}

.form-group label {
  font-weight: 500;
  color: #4a5568;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.feedback-submit-button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 12px;
}

.feedback-submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.feedback-submit-button:active {
  transform: translateY(0);
}

.success-message {
  display: none;
  background: #10b981;
  color: white;
  padding: 16px;
  border-radius: 8px;
  margin-top: 20px;
  text-align: center;
  animation: slideIn 0.4s ease;
}

.success-message.show {
  display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .feedback-panel {
    width: 100%;
  }
}
