
.user-feedback-section .container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.user-feedback-section .header {
    background: linear-gradient(135deg, #181d6c 0%, #45a049 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.user-feedback-section .header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.user-feedback-section .header p {
    font-size: 1.1em;
    opacity: 0.9;
}

.form-container{
  background-image: url('./images/feedback-bg.png');
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.user-feedback-section .form-container {
    padding: 40px;
}

.user-feedback-section .form-group {
    margin-bottom: 25px;
}

.user-feedback-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.user-feedback-section input[type="text"],
.user-feedback-section input[type="email"],
.user-feedback-section select,
.user-feedback-section textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.user-feedback-section input[type="text"]:focus,
.user-feedback-section input[type="email"]:focus,
.user-feedback-section select:focus,
.user-feedback-section textarea:focus {
    outline: none;
    border-color: #181d6c;
    background: white;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.user-feedback-section textarea {
    resize: vertical;
    min-height: 120px;
}

.user-feedback-section .rating-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.user-feedback-section .star-rating {
    display: flex;
    gap: 5px;
}

.user-feedback-section .star {
    font-size: 30px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.user-feedback-section .star:hover,
.user-feedback-section .star.active {
    color: #ffc107;
    transform: scale(1.1);
}

.user-feedback-section .rating-text {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.user-feedback-section .checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-feedback-section input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #181d6c;
}

.user-feedback-section .submit-btn {
    background: linear-gradient(135deg, #181d6c 20%, #181e6cc0 70%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.user-feedback-section .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.4);
}

.user-feedback-section .submit-btn:active {
    transform: translateY(0);
}

.user-feedback-section .submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.user-feedback-section .floating-feedback-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #181d6c;
    color: white;
    border: 1px solid white;
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-feedback-section .floating-feedback-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.6);
}

.user-feedback-section .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.user-feedback-section .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

.user-feedback-section .modal-header {
    background: linear-gradient(135deg, #181d6c 20%, #181e6cc5 70%);
    /* background: #4CAF50; */
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-feedback-section .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.user-feedback-section .close-btn:hover {
    background: rgba(255,255,255,0.2);
}

.user-feedback-section .success-message,
.user-feedback-section .error-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.user-feedback-section .success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.user-feedback-section .error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translate(-50%, -60%); opacity: 0; }
    to { transform: translate(-50%, -50%); opacity: 1; }
}

@media (max-width: 768px) {
  .user-feedback-section .container {
    margin: 10px;
    border-radius: 10px;
  }
  
  .user-feedback-section .header {
    padding: 20px;
  }
  
  .user-feedback-section .header h1 {
    font-size: 2em;
  }
  
  .user-feedback-section .form-container {
    padding: 20px;
  }
  
  .user-feedback-section .floating-feedback-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .user-feedback-section .container {
    max-width: 100%;
    margin: 5px;
    border-radius: 8px;
  }

  .user-feedback-section .header {
    padding: 15px;
  }

  .user-feedback-section .header h1 {
    font-size: 1.4em;
    margin-bottom: 0;
  }

  .user-feedback-section .header p {
    font-size: 0.9em;
  }

  .user-feedback-section .form-container {
    padding: 15px;
  }

  .user-feedback-section .form-group {
    margin-bottom: 15px;
  }

  .user-feedback-section input[type="text"],
  .user-feedback-section input[type="email"],
  .user-feedback-section select,
  .user-feedback-section textarea {
    padding: 8px 10px;
    font-size: 14px;
  }

  .user-feedback-section .submit-btn {
    padding: 12px 20px;
    font-size: 16px;
  }

  .user-feedback-section .star {
    font-size: 24px;
  }

  .user-feedback-section .floating-feedback-btn {
    padding: 10px 15px;
    font-size: 14px;
    bottom: 15px;
    right: 15px;
  }

  .user-feedback-section .modal-content {
    max-height: 80vh;
    width: 95%;
  }
}