/* فرم واتساپ */
.custom-wa-form {
    position: fixed;
    bottom: -100vh;
    right: 30px;
    width: 350px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 25px;
    z-index: 9998;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
    height: auto;
    overflow: visible;
    font-family: Vazirmatn, sans-serif;
}

.custom-wa-form.active {
    bottom: 120px;
    opacity: 1;
    transform: scale(1);
}

/* دکمه واتساپ */
.custom-wa-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: transparent !important;
    border: none;
    padding: 0;
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-wa-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

/* محتوای فرم */
.custom-form-logo {
    text-align: center;
    margin-bottom: 20px;
}

.custom-form-logo img {
    max-height: 80px;
    max-width: 100%;
    border-radius: 8px;
}

.custom-form-title {
    color: #FF4D00;
    text-align: center;
    margin: 10px 0 20px 0;
    font-size: 1.4rem;
    font-weight: 700;
}

/* فیلدهای فرم */
.custom-form-group {
    margin-bottom: 20px;
}

.custom-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.custom-form-group input,
.custom-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: Vazirmatn, sans-serif;
}

.custom-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* دکمه ارسال */
.custom-submit-btn {
    width: 100% !important;
    background: linear-gradient(135deg, #FF7A45 0%, #FF4D00 100%) !important;
    color: white !important;
    border: none !important;
    padding: 15px;
    border-radius: 30px !important;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 15px 0 0 0 !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.3) !important;
    display: block;
    text-align: center;
}

.custom-submit-btn:hover {
    background: linear-gradient(135deg, #FF6B2B 0%, #E04400 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 77, 0, 0.4) !important;
}

.custom-submit-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(255, 77, 0, 0.3) !important;
}

/* فوتر */
.custom-form-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.75rem;
    color: #888;
}

.custom-form-footer a {
    color: #FF4D00;
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-form-footer a:hover {
    text-decoration: underline;
}

/* ریسپانسیو */
@media (max-width: 480px) {
    .custom-wa-form {
        width: calc(100% - 40px) !important;
        right: 20px !important;
        left: 20px !important;
        bottom: -100vh !important;
        padding: 20px !important;
    }
    
    .custom-wa-form.active {
        bottom: 80px !important;
    }
    
    .custom-wa-btn {
        right: 15px !important;
        bottom: 15px !important;
        width: 50px !important;
        height: 50px !important;
    }
}