﻿/* Referral Access Criteria Styling */

.rac_search-title {
    margin-top: 10px;
}

.rac_search-container, .rac_button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.rac_search-input {
    flex: 1;
    min-width: 200px;
    max-width: 65%;
    height: 30px;
    font-size: 14px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.rac_search-button, .rac_reset-button {
    height: 40px;
    font-size: 16px;
    padding: 0 20px;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}

.rac_search-button {
    background-color: #005031;
}

.rac_reset-button {
    background-color: #696969;
}

.rac_radio-list {
    margin-top: 5px;
    table-layout: fixed;
    width: 65%;
}

.rac_radio-item {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    padding: 0;
}

    .rac_radio-item > input {
        -webkit-appearance: auto;
        -moz-appearance: auto;
        appearance: auto;
    }

@media (max-width: 990px) {
    .rac_search-button, .rac_reset-button {
        height: 30px;
    }
}

@media (max-width: 600px) {
    .rac_radio-list {
        width: 100%;
        border-top: none;
    }
}

@media (max-width: 500px) {

    .rac_search-input {
        min-width: 100%;
    }

    .rac_button-container {
        min-width: 100%;
        justify-content: center;
    }

    .rac_search-button, .rac_reset-button {
        min-width: 48%;
    }
}