/* Contact Support Button and Form Styles */
.contact-support-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  background-color: var(--blue);
  color: white;
  border-radius: 30px;
  padding: 10px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 999;
  transition: transform 0.3s, background-color 0.3s;
}

.contact-support-button:hover {
  transform: translateY(-3px);
  background-color: #4a7ad8;
}

.contact-support-button svg {
  width: 24px;
  height: 24px;
  margin-right: 6px;
}

/* For mobile devices - just show icon */
@media (max-width: 600px) {
  .contact-support-button {
    padding: 12px;
    border-radius: 50%;
  }
  
  .contact-support-button span {
    display: none;
  }
  
  .contact-support-button svg {
    margin-right: 0;
  }
}

/* Contact Form Modal */
.contact-form-modal {
  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, visibility 0.3s;
}

.contact-form-modal.active {
  opacity: 1;
  visibility: visible;
}

.contact-form-container {
  background-color: #fff;
  border-radius: 10px;
  padding: 25px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Dark theme support - using your theme system */
:root.dark-theme .contact-form-container,
body.dark-mode .contact-form-container,
.dark-theme .contact-form-container,
[data-theme="dark"] .contact-form-container {
  background-color: #252525;
  color: #f5f5f5;
}

.close-contact-form {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.submit-contact-form {
  cursor: pointer;  
}

.close-contact-form svg {
  width: 24px;
  height: 24px;
  stroke: #555;
}

:root.dark-theme .close-contact-form svg,
body.dark-mode .close-contact-form svg,
.dark-theme .close-contact-form svg,
[data-theme="dark"] .close-contact-form svg {
  stroke: #ddd;
}

/* Form styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

:root.dark-theme .form-group input,
:root.dark-theme .form-group select,
:root.dark-theme .form-group textarea,
body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea,
.dark-theme .form-group input,
.dark-theme .form-group select,
.dark-theme .form-group textarea,
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
  background-color: #333;
  border-color: #444;
  color: #f5f5f5;
}

.form-group textarea {
  resize: vertical;
}

.submit-contact-form {
  width: 100%;
  margin-top: 10px;
}

.form-submission-message {
  margin-top: 20px;
  padding: 15px;
  background-color: #e8f5e9;
  border-radius: 5px;
  text-align: center;
}

:root.dark-theme .form-submission-message,
body.dark-mode .form-submission-message,
.dark-theme .form-submission-message,
[data-theme="dark"] .form-submission-message {
  background-color: #1b5e20;
  color: #f5f5f5;
}