.pcf-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    direction: rtl;
    font-family: 'Tahoma', Arial, sans-serif;
}

.pcf-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pcf-field {
    margin-bottom: 20px;
}

.pcf-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.pcf-field input[type="text"],
.pcf-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Tahoma', Arial, sans-serif;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.pcf-field input[type="text"]:focus,
.pcf-field textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.pcf-submit {
    background: #4CAF50;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    font-family: 'Tahoma', Arial, sans-serif;
}

.pcf-submit:hover {
    background: #45a049;
}

.pcf-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.pcf-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
}

.pcf-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.pcf-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.pcf-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .pcf-wrapper {
        padding: 10px;
    }
    
    .pcf-form {
        padding: 20px;
    }
}
