/* ===========================================================
   TW: Woo Captcha – Modernes Frontend Styling
   =========================================================== */

/* Wrapper */
.tw-woo-captcha-wrapper {
    margin: 1.2em 0;
    padding: 1em 1.2em;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background: #fafafa;
}

/* Label */
.tw-woo-captcha-wrapper label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.4em;
}

/* Mathe-Frage */
.tw-woo-captcha-question {
    display: inline-block;
    background: #f0f0f0;
    padding: 0.25em 0.6em;
    margin-left: 0.5em;
    border-radius: 6px;
    font-weight: 600;
    color: #222;
}

/* Eingabefeld */
.tw-woo-captcha-input {
    display: block;
    width: 160px;
    padding: 0.45em 0.6em;
    margin-top: 0.6em;
    font-size: 14px;
    border: 1px solid #c8c8c8;
    border-radius: 5px;
    background: #fff;
    transition: all 0.15s ease-in-out;
}

.tw-woo-captcha-input:focus {
    border-color: #7da0ff;
    box-shadow: 0 0 0 2px rgba(125, 160, 255, 0.25);
    outline: none;
}

/* Hidden-Honeypot */
.tw-woo-captcha-hp {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden !important;
}

/* ------------------------------------------------------------
   Checkbox Captcha (future)
   ------------------------------------------------------------ */
.tw-woo-captcha-checkbox {
    margin-top: 0.6em;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.tw-woo-captcha-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.tw-woo-captcha-checkbox label {
    margin: 0 !important;
    font-weight: 500;
}

/* ------------------------------------------------------------
   Slider Captcha (future)
   ------------------------------------------------------------ */
.tw-woo-captcha-slider {
    margin-top: 1em;
}

.tw-woo-captcha-slider-track {
    width: 100%;
    height: 6px;
    background: #d9d9d9;
    border-radius: 6px;
    position: relative;
}

.tw-woo-captcha-slider-handle {
    width: 30px;
    height: 30px;
    background: #7da0ff;
    border-radius: 50%;
    position: absolute;
    top: -12px;
    left: 0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.tw-woo-captcha-slider-handle:hover {
    background: #5f83ff;
}

/* ------------------------------------------------------------
   Bild-Captcha (future)
   ------------------------------------------------------------ */
.tw-woo-captcha-images {
    margin-top: 0.8em;
    display: flex;
    gap: 0.8em;
    flex-wrap: wrap;
}

.tw-woo-captcha-image-option {
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border 0.2s ease, opacity 0.2s ease;
}

.tw-woo-captcha-image-option img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tw-woo-captcha-image-option:hover {
    opacity: 0.85;
}

.tw-woo-captcha-image-option.selected {
    border-color: #7da0ff;
}

.tw-woo-captcha-refresh {
    display: none !important;
}