/* Contact Modal Styles */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  overflow-y: auto;
}

.contact-modal.active {
  display: block;
}

.contact-modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.contact-modal__content {
  position: relative;
  background-color: #fff;
  max-width: 600px;
  width: 90%;
  margin: 50px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 2;
  padding: 30px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.contact-modal.active .contact-modal__content {
  transform: translateY(0);
  opacity: 1;
}

.contact-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.contact-modal__title {
  margin: 0;
  font-size: 24px;
  color: #222;
}

.contact-modal__close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
}

.contact-modal__close:hover {
  color: #ff4a17;
}

.contact-modal__body {
  max-height: 70vh;
  overflow-y: auto;
}

/* Form Styles */
.contact-modal .form-one__control input,
.contact-modal .form-one__control select,
.contact-modal .form-one__control textarea {
  width: 100%;
  height: 60px;
  background-color: #f5f0ee;
  border: none;
  outline: none;
  padding: 0 10px;
  margin-bottom: 20px;
  border-radius: 5px;
  color: #726f73;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
}

.contact-modal .form-one__control select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6"><path d="M0 0l6 6 6-6z" fill="%23726f73"/></svg>');
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 40px;
  cursor: pointer;
}

.contact-modal .form-one__control input:focus,
.contact-modal .form-one__control select:focus,
.contact-modal .form-one__control textarea:focus {
  background-color: #fff;
  box-shadow: 0 0 10px rgba(255, 74, 23, 0.1);
  border: 1px solid #ff4a17;
}

.contact-modal .form-check {
  display: flex;
  align-items: center;
}

.contact-modal input[type="checkbox"] {
  width: 5px;
  height: 20px;
  margin-right: 8px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-color: #f5f0ee;
  border: 1px solid #ddd;
  position: relative;
}

.contact-modal input[type="checkbox"]:checked {
  background-color: #ff4a17;
  border-color: #ff4a17;
}

.contact-modal input[type="checkbox"]:checked::after {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 3px;
  height: 6px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.contact-modal .form-check-label {
  color: #726f73;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 15px;
}

.checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}

.checkbox-col {
  flex: 1;
  min-width: 150px;
}

body.modal-open {
  overflow: hidden;
}

/* Button Styles */
.contact-modal .firdip-btn--base {
  background-color: #ff4a17;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact-modal .firdip-btn--base:hover {
  background-color: #e53d0d;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .contact-modal__content {
    width: 95%;
    padding: 20px;
  }
  
  .checkbox-col {
    flex: 100%;
  }
  
  .contact-modal .form-one__control input,
  .contact-modal .form-one__control select {
    height: 50px;
  }
}
