/* Course Counselling page - custom styles for elements that need pseudo-elements or complex selectors */

.counselling-banner {
    position: relative;
}

.counselling-banner__overlay {
    position: absolute;
    inset: 0;
}

.counselling-banner__overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #f1c05b;
    opacity: 0.9;
}

.counselling-banner__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.counselling-required {
    color: #f15c5a;
}

.counselling-field-input,
.counselling-field-select,
.counselling-field-textarea {
    width: 100%;
    border: 1px solid #e8e9e7;
    font-weight: 300;
    font-size: 14px;
    color: #0b435c;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    line-height: 1.5;
}

.counselling-field-select {
    background: #fff;
    appearance: auto;
}

.counselling-field-textarea {
    resize: vertical;
}

.counselling-submit-btn {
    background-color: #198754;
    color: #fff;
    border: 1px solid #198754;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.counselling-submit-btn:hover {
    background-color: #157347;
    border-color: #146c43;
}

.counselling-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}
