.fib.input_response,
.pc.input_response {
    border-bottom: 1px solid #333 !important;
    margin: 5px auto;
}

.pc.input_response + .pc.input_response {
    margin-left: 0.45em;
}

.pc_spoken_blank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    min-width: 92px;
    cursor: pointer;
    vertical-align: middle;
    padding: 0 8px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    outline: none;
    border-radius: 8px 8px 2px 2px;
    transition: box-shadow 0.18s ease, background-color 0.18s ease,
        color 0.18s ease, opacity 0.18s ease;
}

.pc_spoken_blank_content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    width: 100%;
}

.pc_spoken_blank_recording_feedback {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 22px;
}

.pc_spoken_blank_meta,
.pc_spoken_blank_confidence {
    width: 100%;
    display: none;
}

.pc_spoken_blank_confidence.high {
    color: #34A853;
}

.pc_spoken_blank_confidence.medium {
    color: #D66B00;
}

.pc_spoken_blank_confidence.low {
    color: #d9534f;
}

.pc_spoken_blank_meta {
    display: none;
}

.pc_spoken_blank_visualizer {
    display: block;
    width: 120px;
    height: 16px;
    border-radius: 4px;
    background: rgba(0, 101, 171, 0.06);
}

.pc_spoken_blank_timer {
    display: none;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #5b5b5b;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    flex: 0 0 auto;
    white-space: nowrap;
}

.pc_spoken_blank_timer.visible {
    display: inline-block;
}

.pc_spoken_blank.disabled {
    pointer-events: none;
    opacity: 0.72;
}

.pc_spoken_blank.selected {
    border-bottom-color: #0065AB !important;
    box-shadow: inset 0 -3px 0 #0065AB;
    background-color: rgba(0, 101, 171, 0.08);
    cursor: pointer;
}

.pc_spoken_blank.recorded {
    border-bottom-color: #2e8b57 !important;
    box-shadow: inset 0 -3px 0 #2e8b57;
}

.pc_spoken_blank.failed {
    border-bottom-color: #b23a48 !important;
    box-shadow: inset 0 -3px 0 #b23a48;
}

.pc_spoken_blank_icon {
    color: #0065AB;
    font-size: 18px;
    transition: transform 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.pc_spoken_blank.recorded .pc_spoken_blank_icon {
    color: #2e8b57;
}

.pc_spoken_blank.failed .pc_spoken_blank_icon {
    color: #b23a48;
}

.pc_spoken_blank.recording {
    border-bottom-color: #d66b00 !important;
    box-shadow: inset 0 -3px 0 #d66b00, 0 0 0 2px rgba(214, 107, 0, 0.16);
    background-color: rgba(214, 107, 0, 0.08);
}

.pc_spoken_blank.uploading {
    border-bottom-color: #6f5bd6 !important;
    box-shadow: inset 0 -3px 0 #6f5bd6, 0 0 0 2px rgba(111, 91, 214, 0.12);
    background-color: rgba(111, 91, 214, 0.08);
}

@keyframes pc_spoken_mic_pulse {
    0% {
        opacity: 0.72;
        transform: scale(0.96);
    }
    50% {
        opacity: 1;
        transform: scale(1.16);
    }
    100% {
        opacity: 0.72;
        transform: scale(0.96);
    }
}

.pc_response_type_toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    margin-right: 16px;
}

.pc_response_type_label {
    color: #777;
    cursor: pointer;
    font-family: 'source_sans_prolight';
    font-size: 0.9em;
    margin: 0;
    user-select: none;
}

.pc_response_type_label.active {
    color: #0065AB;
}

.pc_response_type_switch {
    display: inline-flex;
    align-items: center;
    height: 34px;
}

.pc_response_type_switch:focus {
    outline: none;
}

.pc_response_type_switch .toggle {
    margin-bottom: 0;
}

.pc_response_type_switch .toggle,
.pc_response_type_switch .toggle-on,
.pc_response_type_switch .toggle-off,
.pc_response_type_switch .toggle-on:hover,
.pc_response_type_switch .toggle-off:hover {
    background-color: #EBEBEB;
    background-image: none !important;
    border-color: #ADADAD;
    box-shadow: none;
}

.pc_response_type_switch .toggle.ios,
.pc_response_type_switch .toggle-on.ios,
.pc_response_type_switch .toggle-off.ios {
    border-radius: 10000px;
}

.pc_response_type_switch .toggle.ios .toggle-handle {
    border-radius: 100px;
    height: 23px;
    margin-top: 3px;
}

.pc_response_type_switch .toggle-handle {
    left: 14px;
    top: 1px;
}

.pc_response_type_switch .toggle-handle:hover {
    background-color: white !important;
}

.pc_response_type_switch .toggle-left {
    left: 14px;
}

.pc_response_type_switch .toggle-right {
    left: auto !important;
    right: 14px;
}

.pc_question_controls {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.pc_question_controls_spacer {
    min-height: 1px;
}

.pc_question_controls #check_btn {
    grid-column: 2;
    justify-self: center;
    margin-left: 0;
    margin-right: 0;
    min-width: 128px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0, 101, 171, 0.22);
}

.pc_question_controls #check_btn.disabled {
    box-shadow: none;
    opacity: 0.6;
}

.pc_question_controls .pc_response_type_toggle {
    grid-column: 3;
    justify-self: end;
}

.matching.input_response {
    padding-left: 5px;
    padding-right: 5px;
    text-overflow: ellipsis;
}

.matching.input_response_wrapper {
    display: flex;
    align-items: center;
}

.matching.input_response_close {
    margin-left: 5px;
    color: white;
    font-size: 1.2em;
}
