/* Start custom CSS for shortcode, class: .elementor-element-202b79b *//* wp-content/plugins/user-product-submission/css/user-product-form.css */

#user-product-form {
    max-width: 800px;
    margin: 3rem auto;
    padding: 3rem;
    background: #121212;
    border-radius: 20px;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.3);
    font-family: 'Tahoma', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(36, 206, 255, 0.15);
    color: #e0e0e0;
}

#user-product-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: #24CEFF;
    background-size: 200% auto;
    animation: gradientBG 8s ease infinite;
}

/* استایل فیلدهای فرم */
#user-product-form input[type="text"],
#user-product-form input[type="number"],
#user-product-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #333;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: #1e1e1e;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#user-product-form textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.6;
}

#user-product-form input[type="text"]:focus,
#user-product-form input[type="number"]:focus,
#user-product-form select:focus,
#user-product-form textarea:focus {
    border-color: #24CEFF;
    background-color: #252525;
    box-shadow: 0 4px 12px rgba(36, 206, 255, 0.2);
    outline: none;
}

/* استایل دسته‌بندی‌ها */
#user-product-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2324CEFF' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#product_category {
    background-color: #1e1e1e;
    border-color: rgba(36, 206, 255, 0.3);
    color: #ffffff;
}

#product_category option {
    padding: 10px;
    background: #252525;
    color: #ffffff;
}

#product_category option:hover {
    background-color: #24CEFF !important;
    color: #121212;
}

/* دکمه‌های لوکس */
#user-product-form .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.3rem;
    background: linear-gradient(135deg, #24CEFF 0%, #6C5CE7 100%);
    color: #121212;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    letter-spacing: 0.5px;
    margin-top: 2rem;
    box-shadow: 0 6px 20px rgba(36, 206, 255, 0.25);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

#user-product-form .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
    z-index: -1;
}

#user-product-form .button:hover {
    background: linear-gradient(135deg, #1EB1E8 0%, #5D4AEC 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(36, 206, 255, 0.4);
    color: #ffffff;
}

#user-product-form .button:hover::before {
    left: 100%;
}

#user-product-form .button i {
    margin-left: 0.8rem;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

#user-product-form .button:hover i {
    transform: translateX(5px);
}

/* افکت پالس برای دکمه */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(36, 206, 255, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(36, 206, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(36, 206, 255, 0); }
}

#user-product-form .button.pulse {
    animation: pulse 1.5s infinite;
}

/* استایل‌های جدید برای بخش‌های دیگر */
#user-product-form .form-field {
    margin-bottom: 2rem;
}

#user-product-form label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #24CEFF;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

#user-product-form label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #24CEFF;
    border-radius: 50%;
}

/* انیمیشن‌ها */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

#user-product-form {
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* رسپانسیو */
@media (max-width: 768px) {
    #user-product-form {
        padding: 2rem;
        margin: 1.5rem;
        border-radius: 16px;
    }
    
    #user-product-form .button {
        padding: 1.2rem;
    }
}

/* استایل برای پیام‌ها */
.property-message {
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem auto;
    max-width: 800px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.property-message.success {
    background: rgba(36, 206, 255, 0.1);
    border-left: 4px solid #24CEFF;
    color: #24CEFF;
}

.property-message.error {
    background: rgba(255, 71, 87, 0.1);
    border-left: 4px solid #FF4757;
    color: #FF4757;
}/* End custom CSS */