input[type="text"].form-control--password ~ .form-control--password-reveal .mdi-eye-outline,
input[type="password"].form-control--password ~ .form-control--password-reveal .mdi-eye-off-outline {
    display: none;
}

abbr.required,
label.required::after {
    padding: 0 .25em;
    color: var(--bs-danger);
}

label.required::after {
    content: '*';
}

.dropdown-insert-container {
    height: 2rem;
    padding-top: .25rem;
    display: flex;
}

.dropdown-insert-button {
    margin: auto;
}

.picture-preview {
    height: 12rem;
    padding: 1rem;
    border: 2px dashed #ced4da;
    border-radius: 6px;
    text-align: center;
    position: relative;
}

.picture-preview i.picture-preview-placeholder {
    margin-top: 1.75rem;
}

.picture-preview input[type="file"] {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.picture-preview img {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    padding: 1rem;
}

.picture-preview img[src=""] {
    display: none;
}

.picture-preview img[src*=":"] ~ .picture-preview-placeholder,
.picture-preview img[src*="."] ~ .picture-preview-placeholder {
    display: none;
}

.top-20 {
    top: 20px !important;
}

.border-dashed-round {
    border: 1px dashed #cbcbcb;
    border-radius: .25rem;
}

.custom-file-button input[type="file"] {
    margin-left: -2px !important;
}
.custom-file-button input[type="file"]::-webkit-file-upload-button {
    display: none;
}
.custom-file-button input[type="file"]::file-selector-button {
    display: none;
}
.custom-file-button:hover label {
    background-color: #dde0e3;
    cursor: pointer;
}

dl.table {
    display: table;
    border-collapse: collapse;
    margin-bottom: 0;
}

dl.table > div {
    display: table-row;
}

dl.table dt,
dl.table dd {
    display: table-cell;
    padding: .25em 1em;
}

dl.table dt {
    width: 8em;
}

.btn .fa,.btn .fas, .btn .far{
    pointer-events:none;
}

.actions ul li {
    padding-bottom: 20px;
}

#referralRA-form-p-2 legend {
    font-size: 13px;
    font-weight: 500;
}

.dropdown-insert-container {
    height: 30px;
    padding-top: 5px;
}
.dropdown-insert-button {
    cursor: pointer;
    margin-left: auto;
    margin-bottom: 5px;
    padding: 6px;
    height: 20px;
    display: block;
    width: 10rem;
    margin-right: auto;
}

.dropdown-insert-button:hover {
    background-color: rgba(85, 110, 230, .80);
    color: white;
}

.image-upload-container {
    position: relative;
    width: 10rem;
    height: 10rem;
}

.uploaded-image {
    width: 100%;
    height: 100%;
}

.image-upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pencil-icon {
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.image-upload-file {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.image-upload-container:hover .image-upload-overlay {
    opacity: 1;
}

.select2-container--open {
    z-index: 9999999 !important;
}

.bg-login-overlay {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
}

.btn-soft-primary {
    color: #556ee6;
    background-color: rgba(85, 110, 230, .1);
    border-color: transparent;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}

.btn-soft-primary:active, .btn-soft-primary:focus, .btn-soft-primary:hover {
    color: #fff;
    background-color: #556ee6;
    border-color: transparent;
}

#lineSvg {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}
