p.mgh-infoText {
    background: #58575721;
    color: #072131;
    border: 0.1rem solid #58575778;
    padding: 0.5rem 1rem;
    font-size: 1em;
    font-weight: 400;
    text-align: center;
    border-radius: 0.2rem;
}


.mgh-form {
    width: 100%;
}

option.mghOptionNoValue {
    background: #575758;
    color: white;
}

#mgh-alimgh{display: none !important;}
.MghRow {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    gap: 1rem;
}

.MghField {
    flex: 1;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.MghLabel {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 0.9em;
}

span.islandMghLabelReq {
    color: #999999;
    font-size: 0.7rem;
    font-weight: 500;
}

.MghInput,
.MghSelect,
textarea#mgh-description{
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border-radius: 0.2rem !important;
    border: 1px solid #233937 !important;
    font-size: 0.9rem;
    font-weight: 400;
}

.MghTextarea {
    min-height: 120px;
    resize: none;
}

input.MghInput::placeholder,
textarea.MghTextarea::placeholder{
    color: #919191;
    font-size: 0.9rem;
    font-weight: 400;
}

select#mgh-location,
select#mgh-birth-year,
select#mgh-subject,
select#mgh-therapist,
select#mgh-schedule{
    color: #919191;
    font-size: 0.9rem;
    font-weight: 400;
}

.mgh-submit-button,
.MghSubmitButton {
    background: linear-gradient(204deg, #3D7570 0%, #233937 100%);
    border-radius: 0.4rem !important;
    color: white !important;
    padding: 0.5rem 2rem;
    cursor: pointer;
    border: none;
}

.mgh-submit-button:hover,
.MghSubmitButton:hover {
    background: linear-gradient(204deg, #233937 0%, #3D7570 100%);
    color: white !important;
}

.mgh-error-message,
.MghErrorMessages li {
    color: #ff4040;
    font-size: 0.9em;
    margin-top: 5px;
    font-weight: 400;
}

.mgh-success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
}

.MghInput::placeholder,
.MghSelect::placeholder,
.MghTextarea::placeholder {
    font-weight: 400;
    color: #bfbfbf;
    font-size: 0.9rem;
}

div.MghSubmitRow {
    justify-content: end;
}

.mgh-error-message {
    color: #ff4040;
    font-size: 0.9em;
    margin-top: 5px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .MghRow {
        flex-direction: column;
    }
    .MghSubmitRow {
        align-items: end;
    }
    .mgh-submit-button,
    .MghSubmitButton {
        padding: 0.4rem 2rem;
        font-size: 0.7rem;
    }
    p.mgh-infoText {
        background: #58575721;
        color: #072131;
        border: 0.1rem solid #58575778;
        padding: 0.5em 0.2em;
        font-size: 1em;
        font-weight: 400;
        text-align: center;
        border-radius: 0.2rem;
    }
}
