/*ContactForm Menu Container*/

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  color: #000; /* Add this line for black text color */
  opacity: 1;
  font-size: 12px;
}

.contact-form input:not([type="date"]):not([type="time"]),
.contact-form textarea {
  color: #000;
}

.contact-form select
{
  color: #000 !important;
  border: none;
}

.contact-form textarea {
  color: #000 !important;
}

.contact-form button {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: auto;
  width: 100%;
} 

.contact-form select {
  border: none;
}

.contact-form button:hover {
  background: #007bff;
  border-radius: 0;

}


/* Responsive fix for mobile */


@media (max-width: 768px) {
  .map-form-container {
    flex-direction: column;
    width: 100%;
    gap: 16px;
    padding: 0;
  }

  .parentOfggmap {
    flex: 0 0 auto;
    height: 400px;
    width: 100%;
    overflow: visible;
    border-radius: 0;
    position: relative;
  }

  .parentOfggmap iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }

  .contact-form {
    flex: 0 0 auto;
    width: 99%;
    
    min-height: auto;
  }

  .form-row {
    flex-direction: column;
    gap: 12px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {

  font-size: 13px;
}
}


/* Time input wrapper for placeholder */
.time-input-wrapper {
  position: relative;
  width: 100%;
}

.time-placeholder {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
  font-size: 16px;
  display: none;
}

/* Fix for mobile date/time inputs */

@media (max-width: 768px) {
  .contact-form input[type="date"]:invalid:before,
  .contact-form input[type="time"]:invalid:before {
    content: attr(placeholder);
    color: #999;
    margin-right: 8px;
  }
  
  .contact-form input[type="date"],
  .contact-form input[type="time"] {
    font-size: 16px;
    min-height: 44px;
  }
}

/* Fix for mobile time placeholder */
@media (max-width: 768px) {
  .contact-form input[type="time"]:invalid:before {
    content: attr(placeholder);
    color: #999;
    margin-right: 8px;
  }

  .contact-form input[type="date"],
  .contact-form input[type="time"] {
  border: none;
  }
}