.frc-captcha * {
    /* Mostly a CSS reset so existing website styles don't clash */
    margin: 0;
    padding: 0;
    border: 0;
    text-align: initial;
    border-radius: 0;
    filter: none !important;
    transition: none !important;
    font-weight: normal;
    line-height: 1.2;
    text-decoration: none;
    background-color: initial;
    color: #222;
}

.frc-captcha {
    position: relative;
    min-width: 250px;
    border: 1px solid #f4f4f4;
    padding: 12px;
    background-color: #fff;
    box-shadow: 0 15px 35px 0 rgba(0,0,0,.1);
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.frc-captcha.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.frc-captcha.large {
    font-size: 18px;
    width: 312px;
}

.frc-captcha b {
    font-weight: bold;
}

.frc-container {
    display: flex;
    align-items: center;
    min-height: 52px;
}

.frc-icon {
    fill: #222;
    stroke: #222;
    flex-shrink: 0;
    margin: 8px 8px 0 8px;
}

.frc-icon.frc-warning {
    fill: #C00;
}

.frc-success .frc-icon {
    animation: frc-fade-in 1s both ease-in;
}

.frc-content {
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    margin: 4px 6px 0 0;
    overflow-x: auto;
    flex-grow: 1;
}

.frc-banner {
    position: absolute;
    bottom: 6px;
    right: 6px;
    line-height: 1;
}

.frc-banner * {
    font-size: 10px;
    opacity: 0.8;
    text-decoration: none;
}

.frc-progress {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 3px 0;
    height: 4px;
    border: none;
    background-color: #eee;
    color: #222;
    width: 100%;
    transition: all 0.5s linear;
}

.frc-progress::-webkit-progress-bar {
    background: #eee;
}

.frc-progress::-webkit-progress-value {
    background: #222;
}

.frc-progress::-moz-progress-bar {
    background: #222;
}

.frc-button {
    cursor: pointer;
    padding: 2px 6px;
    background-color: #f1f1f1;
    border: 1px solid transparent;
    text-align: center;
    font-weight: 600;
    text-transform: none;
}

.frc-button:focus {
    border: 1px solid #333;
}

.frc-button:hover {
    background-color: #ddd;
}

.frc-captcha-solution {
    display: none;
}

.frc-err-url {
    text-decoration: underline;
    font-size: 0.9em;
}

/* Dark theme */

.dark.frc-captcha {
    color: #fff;
    background-color: #222;
    border-color: #333;
}

.dark.frc-captcha * {
    color: #fff;
}

.dark.frc-captcha button {
    background-color: #444;
}

.dark .frc-icon {
    fill: #fff;
    stroke: #fff;
}

.dark .frc-progress {
    background-color: #444;
}

.dark .frc-progress::-webkit-progress-bar {
    background: #444;
}

.dark .frc-progress::-webkit-progress-value {
    background: #ddd;
}

.dark .frc-progress::-moz-progress-bar {
    background: #ddd;
}

@keyframes frc-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}