/* ==========================================================
   Popup Lead Form — frontend styles
   ========================================================== */

.wc-popup-form {
    --wc-form-btn-bg:      #2ab34a;
    --wc-form-btn-text:    #ffffff;
    --wc-form-btn-size:    14px;
    --wc-form-btn-weight:  400;
    --wc-form-btn-radius:  30px;
    --wc-form-input-bg:    #efefef;
    --wc-form-input-text:  #222222;
    --wc-form-input-border:#e8e8e8;
}

.wc-popup-form input[type="text"],
.wc-popup-form input[type="email"] {
    width: 100%;
    margin-bottom: 10px;
    border: 0;
    background: var(--wc-form-input-bg);
    border-radius: 2px;
    padding: 12px 10px;
    color: var(--wc-form-input-text);
    font-size: 14px;
    min-height: 44px;
    box-shadow: inset 0 0 0 1px var(--wc-form-input-border);
    box-sizing: border-box;
}

.wc-popup-form__submit {
    width: 100%;
    margin-top: 25px;
    border: 0;
    border-style: none;
    border-radius: var(--wc-form-btn-radius);
    padding: 14px 5px;
    min-height: 50px;
    background: var(--wc-form-btn-bg);
    color: var(--wc-form-btn-text);
    font-size: var(--wc-form-btn-size);
    font-weight: var(--wc-form-btn-weight);
    cursor: pointer;
    transition: filter 0.15s ease;
}

.wc-popup-form__submit:hover:not(:disabled) {
    filter: brightness(1.08);
}

.wc-popup-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wc-popup-form__consent {
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 300;
    color: #6b7280;
}

.wc-popup-form__consent input[type="checkbox"] {
    margin: 2px 0 0;
    flex: 0 0 auto;
}

.wc-popup-form__consent span {
    display: block;
}

.wc-popup-form__consent a {
    color: inherit;
    text-decoration: underline;
}

.wc-popup-form__consent a:hover {
    text-decoration-thickness: 2px;
}

.wc-popup-form__status {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.4;
}

.wc-popup-form__honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Editor preview frame */
.editor-styles-wrapper .wc-popup-form {
    background: #f9f9f9;
    border: 1px dashed #c3c4c7;
    border-radius: 6px;
    padding: 16px;
}
