﻿
#jobFormContainer
{
    max-width: 1000px;
}

.successMessage {
    border: 1px solid #8ec9b2;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.successMessage p
{
    margin: 0;
    padding: 0;
}

.form-error-summary {
    display: none;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 12px 15px;
    border: 1px solid var(--AlertColor);
    background-color: #f8d7da;
    color: #721c24;
    border-radius: 4px;
    font-size: 15px;
}

.text-danger {
    font-size: 15px;
}

.form-group {
    margin-bottom: 25px;
}

.ckEditorField {
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    width: 100%;
    transition: border .3s ease;
    padding: 2px 2px 2px 7px;
    background-color: #fff;
    min-height: 200px;
}

#descriptionEditor {
    min-height: 350px;
}

.addNewJobButton {
    margin-right: 20px;
}

#shortDescriptionCounter {
    font-size: 15px;
    color: #6c757d;
}

.form-row-half {
    display: flex;
    flex-wrap: wrap; /* ensures responsiveness on small screens */
    gap: 20px; /* space between the two fields */
    margin-bottom: 20px; /* spacing between rows */
}

.form-row-half .form-group {
    flex: 1; /* each field takes equal space */
    min-width: 0; /* prevent overflow on small screens */
}

.helpTextSmall {
    font-size: 14px;
    color: #6c757d;
    display: block;
    margin-top: 3px;
    margin-bottom: 8px;
}

.form-group > label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 18px;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
}

.form-check-input {
    margin-right: 8px;
}

.form-check-label {
    font-weight: 400;
    margin-bottom: 0;
    font-size: 15px;
}

@media screen and (max-width: 600px) {
    #successMessage button {
        width: 100%;
        margin-right: 0;
    }

    .form-row-half {
        flex-direction: column; /* stack fields vertically on small screens */
        gap: 0; /* smaller gap on mobile */
        margin-bottom: 0;
    }



}