/* reserve-lightbox.css */

.reserve-vehicle-image {
  max-width: 100%;
  height: auto !important;
}


#reserveLightbox.lightbox .lightbox-content.reserve-form .reserve-container .reserve-left {
  width: 40%;
  padding: 10px;
  background-color: #f9f9f9;
}

#reserveLightbox.lightbox .lightbox-content.reserve-form .reserve-container .reserve-right {
  width: 60%;
  padding: 10px;
  border-left: 1px solid #ddd;
  background-color: #f9f9f9;
  padding-bottom: 30px;
}




/* Reserve Lightbox */
#reserveLightbox.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 20px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    transition: opacity 0.3s ease;
}

#reserveLightbox.lightbox .lightbox-content.reserve-form .reserve-container .reserve-left h2 {
	color: #2c3e50;
  margin-bottom: 15px;
  font-size: 23px;
}

#reserveLightbox.lightbox .lightbox-content {
	background-color: #fefefe;
  margin: 5% auto;
  padding: 30px;
  border: 1px solid #888;
  width: 80%;
  max-width: 700px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  max-height: 80vh;
  overflow-y: auto;
}

/*
#reserveLightbox.lightbox .lightbox-content.reserve-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
}
*/

#reserveLightbox.lightbox .lightbox-content .close {
    color: #333;
    position: absolute;
    right: 10px;
    top: 0px;
    font-size: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    font-family: Fabriga regular, Lato, sans-serif;
}



#reserveLightbox.lightbox .lightbox-content .close:hover,
#reserveLightbox.lightbox .lightbox-content .close:focus {
    color: #007bff;
}

#reserveLightbox.lightbox .lightbox-content.reserve-form .reserve-container {
	display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
}

.reserve-left p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 15px;
}

.reserve-right form label::after, 
.trade-in-right form label::after {
  content: " *";
  color: red;
  font-size: 14px;
}

.reserve-right .terms-note, 
.reserve-container .terms-note {
  font-size: 12px;
  color: #555;
  margin-top: 10px;
  line-height: 1.5;
}

 .reserve-right form label {
  font-weight: bold;
  font-size: 14px;
  color: #333;
  margin-bottom: 0;
  margin-top: 0.5em;
}

.checkbox-label.nostar.required {
  font-size: 13px !important;
  line-height: 2.5em;
}


.reserve-right form input[type="checkbox"] {
  width: 21px !important;
  height: 21px !important;
  cursor: pointer;
}

.reserve-right form input[type="checkbox"] {
  margin-right: 7px;
  vertical-align: middle;
  margin-top: 0;
  margin-bottom: 3px;
  width: 24px;
  height: 24px;
  transform: scale(1.2);
}

.trade-in-right form label.checkbox-label.nostar::after, 
.reserve-right form label.checkbox-label.nostar::after {
  content: " *";
  color: white;
  font-size: 14px;
}

.reserve-container h3 {
  font-weight: normal;
  margin-bottom: 15px;
  font-size: 16px;
  color: #555;
  line-height: 1.5;
  font: 16px/1.6625 Fabriga regular,Humanist777BT-LightB,Lato,sans-serif !important;
}



#reserveLightbox.lightbox .lightbox-content.reserve-form .reserve-container .reserve-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#reserveLightbox.lightbox .lightbox-content.reserve-form .reserve-container .reserve-right label {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    display: flex;
}

#reserveLightbox.lightbox .lightbox-content.reserve-form .reserve-container .reserve-right input,
#reserveLightbox.lightbox .lightbox-content.reserve-form .reserve-container .reserve-right select {
    margin-top: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

#reserveLightbox.lightbox .lightbox-content.reserve-form .reserve-container .reserve-right input:focus,
#reserveLightbox.lightbox .lightbox-content.reserve-form .reserve-container .reserve-right select:focus {
    border-color: #007bff;
    outline: none;
}

#reserveLightbox.lightbox .lightbox-content.reserve-form .reserve-container .reserve-right #reserveForm button.proceed-button {
    margin-top: 20px;
    padding: 12px;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    text-transform: none;
    transition: background-color 0.3s ease;
    text-shadow: none;
    width: 100%;
    min-height: 48px;
}

#reserveLightbox.lightbox .lightbox-content.reserve-form .reserve-container .reserve-right #reserveForm button.proceed-button:hover {
    background-color: #0056b3;
}

#reserveLightbox.lightbox .lightbox-content.reserve-form .reserve-container .reserve-right #reserveForm button.proceed-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#reserveLightbox.lightbox .lightbox-content.reserve-form .reserve-container .reserve-right .error {
    font-size: 14px;
    color: #df4343;
    margin-bottom: 10px;
    font-weight: normal;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    #reserveLightbox.lightbox .lightbox-content.reserve-form .reserve-container {
        flex-direction: column;
    }

    #reserveLightbox.lightbox .lightbox-content.reserve-form .reserve-container .reserve-left,
    #reserveLightbox.lightbox .lightbox-content.reserve-form .reserve-container .reserve-right {
        flex: 1 1 100%;
        width: 100%;
    }

    #reserveLightbox.lightbox .lightbox-content.reserve-form .reserve-container .reserve-left {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
}

