/* استایل پاپ‌آپ نظرخواهی */
.popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    font-family: inherit;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}

.popup-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    direction: rtl;
    font-family: 'Tahoma', 'IranSans', sans-serif;
}

.popup-header {
    padding: 15px 20px 5px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #333;
}

.popup-close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: 0.2s;
    line-height: 28px;
}

.popup-close:hover {
    color: #000;
}

.popup-body {
    padding: 10px 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 3px;
    font-weight: 600;
    font-size: 0.8em;
    color: #444;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 3px rgba(0,115,170,0.3);
}

.popup-message {
    margin-top: 12px;
    font-size: 0.85rem;
    text-align: center;
}

.popup-message.success {
    color: #2c6e2c;
}

.popup-message.error {
    color: #c0392b;
}