/* بک‌گراند و پاپ‌آپ */
#wcppf-popup-wrapper {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

#wcppf-popup {
    background: #fff;
    padding: 20px;
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    box-sizing: border-box;
}


/* دکمه بستن */
#wcppf-close {
    position: absolute;
    top: 10px; left: 10px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #000;
}


/* فرم و ورودی‌ها */
#wcppf-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    direction: rtl;
    width: 100%;
}

#wcppf-form .form-group {
    display: flex;
    flex-direction: column;
}

#wcppf-form input,
#wcppf-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
}

#wcppf-form label {
    font-weight: bold;
    margin-bottom: 6px;
}


/* دکمه ارسال */
#wcppf-form button[type="submit"] {
    background-color: #0073aa;
    color: #fff;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#wcppf-form button[type="submit"]:hover {
    background-color: #005b8c;
}


/* استایل رادیوها و لیبل‌ها */
#wcppf-form .radio-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    direction: rtl;
}

#wcppf-form .radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
}


/* واکنش‌گرا برای موبایل */
@media (max-width: 600px) {
    #wcppf-popup {
        padding: 15px;
    }

    #wcppf-form {
        gap: 12px;
    }

    #wcppf-form input,
    #wcppf-form textarea {
        font-size: 14px;
        padding: 9px;
    }

    #wcppf-form button[type="submit"] {
        font-size: 15px;
        padding: 10px 12px;
    }
}


.wcppf-captcha-wrapper {
    margin-bottom: 15px;
}
.wcppf-captcha-wrapper label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}
.wcppf-captcha-wrapper input {
    width: 100px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
