input[type="text"][name="your-date"]:not(:focus):not(:valid) {
    color: grey;
}
input[type="text"][name="your-date"]:not(:focus):valid {
    color: black;
}

html {
    scroll-behavior: smooth;
}

.modal-title {
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.modal-heading {
    font-family: 'Verdana', sans-serif;
    font-size: 18px;
    color: #555;
    margin-top: 20px;
}

.modal-content-text {
    font-family: 'Georgia', serif;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-top: 10px;
}

#insurance ul li {
    background-color: #eee;
    list-style: none;
    margin: 10px auto;
    padding: 10px;
    font-family: Arial, Helvetica, sans-serif;
}

#insurance ol li {
    list-style-type: decimal;
    background-color: #fff;
}

#insurance ul .roman ol li {
    list-style-type: upper-roman;
}

#insurance .last li {
    list-style-type: circle;
    list-style-position: inside;
    background-color: #fff;
}

.date-input-container {
    position: relative;
    display: inline-block;
}


/* Booking form: visible labels, inline errors, honeypot */
.appointment-form label {
    display: block;
    color: #ffffff;
    font-size: 13px;
    margin-bottom: 6px;
}
.appointment-form .date-input-container,
.appointment-form input[type="date"].form-control {
    display: block;
    width: 100%;
}
.appointment-form .form-control.is-invalid {
    box-shadow: inset 0 0 0 2px #ff8a80;
}
.appointment-form .field-error {
    color: #ffd6d1;
    font-size: 13px;
    margin-top: 6px;
}
.appointment-form .field-error:empty {
    display: none;
}
.appointment-form .form-alert {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 2px;
    margin-bottom: 20px;
}
.appointment-form .form-alert a {
    color: #ffffff;
    text-decoration: underline;
}
.appointment-form .hp-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.appointment-form .btn[disabled] {
    opacity: 0.7;
}
.booking-notice a {
    color: #ffffff;
    text-decoration: underline;
    white-space: nowrap;
}
#successModal .booking-summary {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}
#successModal .booking-summary li {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}
#successModal .booking-summary li span {
    display: inline-block;
    min-width: 90px;
    color: #888;
}

/* Footer contact details became links; keep them readable on the dark background */
.footer-contact a,
.footer-contact a:hover,
.footer-contact a:focus {
    color: #ffffff;
    text-decoration: underline;
}

/* Date field: dark-scheme rendering gives a white calendar icon and a readable
   native picker on the dark form; the icon is enlarged and the whole field is clickable */
.appointment-form input[type="date"] {
    color-scheme: dark;
    cursor: pointer;
}
.appointment-form input[type="date"]::-webkit-calendar-picker-indicator {
    width: 26px;
    height: 26px;
    opacity: 1;
    cursor: pointer;
}
