.hms-reg-form{
    margin: 0 auto;
    width: 80%;
}

.hms-reg-form .message{
    color: green
}
.hms-reg-form .error{
    color: red
}
/*
.hms-reg-form p.input_datetime{
    min-height: 6rem;
}*/
 
.hms-reg-form select{ 
    padding-top: 10px;
    padding-bottom: 10px;
}

.hms-reg-form .input_day,
.hms-reg-form .input_time{
    display: inline;
    width: 46%;
    /*padding: 8px 16px;*/
}

.flex-container {
  display: flex;
  gap: 20px;
}

.column {
  flex: 1; 
}

.reg-box{
    padding: 15px;
    background-color: #ffcc00;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    border-radius: 4px;
}
.reg-box .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    font-weight: bold;
}
.reg-box .close-btn:hover {
    color: #000;
}

.reg-box.errors {
    background-color: #ff6600;

}
.reg-box.success {
    background-color: #1ed26cd0;
}

@media (max-width: 768px) {
    .hms-reg-form{
        width: 100%;
    }
    .flex-container {
        flex-direction: column;
    }
}

/* dg2 */
.hms-reg-form .line_submit{
    margin-top: 10px;
}
.hms-reg-form select:disabled{
    opacity: .7;
}
.hms-reg-form .line_datetime label,
.hms-reg-form .line_staff label{
    display: block;
}


/* Book button under Therapist on desktop; on phones the columns stack, so it goes after Notes */
@media (max-width: 768px) {
    .hms-reg-form .flex-container { flex-direction: column; gap: 0; }
    .hms-reg-form .flex-container > .column { display: contents; }
    .hms-reg-form .flex-container .line_submit { order: 1; }
}


/* Book button: dark green, turns light green with "Booking..." once pressed */
.hms-reg-form #hms_btn_submit { background-color: #2e6b3a; border-color: #2e6b3a; color: #fff; transition: background-color .15s, color .15s; }
.hms-reg-form #hms_btn_submit:hover:not(:disabled) { background-color: #245530; border-color: #245530; }
.hms-reg-form #hms_btn_submit:active,
.hms-reg-form #hms_btn_submit.is-booking { background-color: #a5d6a7 !important; border-color: #a5d6a7 !important; color: #1b3d22 !important; opacity: 1; }
