fieldset {
    border: 1px solid #000;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
}

legend {
    display: inline;
    width: auto;
    margin-left: 0.75rem;
    padding: 0 0.25rem;
    font-size: 1.15rem;
    text-align: left;
}

.custom-select {
    cursor: pointer;
}

.custom-select[size="5"] {
    height: 5rem;
}

.custom-file {
    position: relative;
    display: inline-block;
    width: 100%;
    height: calc(2.25rem + 2px);
    margin-bottom: 0;
}

.custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(2.25rem + 2px);
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.custom-file-label::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    height: calc(calc(2.25rem + 2px) - 1px * 2);
    padding: .375rem .75rem;
    line-height: 1.5;
    color: #495057;
    content: "Buscar";
    background-color: #e9ecef;
    border-left: 1px solid #ced4da;
    border-radius: 0 .25rem .25rem 0;
}

.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

.is-valid~.custom-file-label {
    border: 1px solid #28a745 !important
}

.is-invalid~.custom-file-label {
    border: 1px solid #dc3545 !important
}

.form-check input[type="checkbox"].is-invalid~label {
    color: #dc3545 !important
}

.form-check input[type="checkbox"].is-invalid~.invalid-feedback, 
.form-group input[type="hidden"].is-invalid~.invalid-feedback {
    margin-top: 0;
    display: block;
}

.swal2-title {
    border: none;
}

.star {
    bottom: 8px;
    font-size: 7px;
    position: relative;
}

.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    vertical-align: -.125em;
    border: .15em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: .75s linear infinite spinner-border;
    animation: .75s linear infinite spinner-border;
}

@keyframes spinner-border {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.visually-hidden, .visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute!important;
    width: 1px!important;
    height: 1px!important;
    padding: 0!important;
    margin: -1px!important;
    overflow: hidden!important;
    clip: rect(0,0,0,0)!important;
    white-space: nowrap!important;
    border: 0!important;
}

.custom-field-satisfaction-level {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.custom-field-satisfaction-level button.btn.btn-light {
    border-radius: 10%;
    width: 7.5rem;
    height: 6rem;
    font-size: 1.5rem;
    padding: 0.5rem;
    background-color: transparent!important;
    border-color: transparent!important;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 0.5rem;
}

.custom-field-satisfaction-level button.btn.btn-light:hover {
    border: 1px solid transparent !important;
    background-color: #00000010!important;
}

.custom-field-satisfaction-level button.btn.btn-light.active {
    border: 1px solid transparent !important;
    background-color: #00000010!important;
}

.custom-field-satisfaction-level button.btn.btn-light img{
    display: block;
    margin: 0 auto;
    height: 70%;
    width: auto;
}

.custom-field-satisfaction-level button.btn.btn-light span {
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
    font-weight: 400;
}

.text-end {
    text-align: end;
}

.result-btn {
    background-color: #3948b7;
    color: white;
    border: transparent;
}

.result-btn:hover {
    background-color: #3948b7F1;
    color: white !important;
}

.text-sm {
    font-size: 14px;
}

@media (max-width: 510px) {
    .custom-field-satisfaction-level {
        flex-direction: column;
        gap: 0.5rem;
    }
}