.msg_enabled {
    display: unset;   
}

.msg_disabled {
    display: none;
}

p.helpdesk_notice {
    text-align: left;
}

p.helpdesk_notice + p {
    text-align: left;
    margin: 2em auto;
}

p.helpdesk_notice img {
    padding: 0;
    margin: -5px;
    display: block;
    height: 5em;
}

/* General form styling */
#helpdesk_form {
    max-width: 600px;
    padding: 20px 40px;
    background-color: #f7f7f7;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    display: block;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 3em;
    margin-top: 3em;
}

#helpdesk_message {
    max-width: 600px;
    padding: 20px 40px;
    background-color: #f7f7f7;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    margin: 0 auto;
    margin-bottom: 3em;
}

.preview_message {
    padding: 10px;
    font-size: .8em;
    color: #212121;
    border-radius: 2px;
    border: 1px solid;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

/* Form input fields */
form#help_form div {
    margin-bottom: 20px;
    text-align: left;
}

/* Labels */
form#help_form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: left;
}

/* Input fields */
form#help_form input[type="text"],
form#help_form input[type="email"],
form#help_form select,
form#help_form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

/* Textarea */
form#help_form textarea {
    resize: vertical;
}

/* Submit button */
#helpdesk_form .btn {
    display: inline-block;
    padding: .5em 2em;
    background-color: #03356f;
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form#help_form .btn:hover {
    background-color: #0056b3;
}

#ticket_submit_btn:disabled,
#ticket_submit_btn[disabled] {
    background-color: #524a4a;
    color: #c1c1c1;
}

/* reCAPTCHA styling */
.grecaptcha-badge {
    display: none; /* Hide the default badge */
}

/* Description paragraph */
form#help_form p {
    font-size: 14px;
    color: #666;
    margin-top: -5px;
    margin-bottom: 10px;
}

.help_block {
    color: #a03030;
    font-size: .8em;
    margin-left: 4px;
    margin-top: 0.2em;
    margin-bottom: 10px;
    transition: 300ms;
    display: none;
}

#help_form.show_warning .help_block {
    display: block;
}

/* Responsive design */
@media (max-width: 768px) {
    #helpdesk_form {
        padding: 15px;
    }

    form#help_form input[type="text"],
    form#help_form input[type="email"],
    form#help_form select,
    form#help_form textarea {
        width: calc(100% - 20px);
    }

    form#help_form .btn {
        font-size: 16px;
    }
}

