/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Dec 05 2025 | 19:00:45 */
/* ==============================================
   ۱. استایل کارت اصلی (هر ردیف تخفیف)
   ============================================== */
.prop-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

/* ==============================================
   ۲. بخش رسپانسیو (موبایل - زیر 767 پیکسل)
   ============================================== */
@media (max-width: 767px) {
    .prop-card .elementor-column {
        width: 100% !important;
        min-width: 0;
        margin-bottom: 15px;
    }
    .prop-card .elementor-column:last-child {
        margin-bottom: 0;
    }
    .prop-card .elementor-widget-wrap {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: baseline;
    }
    .prop-card .elementor-widget-text-editor {
        margin: 0 !important;
        padding: 0 !important;
        order: 1;
        flex-shrink: 0;
    }
    .prop-card .elementor-widget-text-editor p {
        margin: 0 !important;
        font-weight: bold;
        font-size: 14px;
        color: #333;
    }
    .copy-code-button {
        width: fit-content;
        order: 2;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
        margin-left: 0 !important;
        margin-right: 8px !important;
    }
}

/* ==============================================
   ۳. استایل دکمه کپی کد (.copy-code-button)
   ============================================== */

/* الف) تنظیمات کلی ویجت */
.copy-code-button {
    margin-top: 5px;
    width: fit-content;
    min-width: 140px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px !important;
}

/* ب) استایل کادر داخلی (محل نمایش کد) */
.copy-code-button .elementor-widget-container {
    cursor: pointer;
    background-color: #f5f7fa;
    font-weight: bold;
    padding: 10px 18px;
    border-radius: 6px;
    border: 2px dashed #b0b8c2;

    /* تنظیمات ضروری برای موقعیت‌دهی تولتیپ */
    position: relative;
    /* overflow: hidden; را حذف کردیم تا تولتیپ بتواند بیرون بزند */
    transition: all 0.2s ease-in-out;
}

/* ج) تنظیمات متن داخل کادر */
.copy-code-button .elementor-widget-container > * {
    margin: 0 !important;
    padding: 0 !important;
    color: #0d1117 !important;
    text-align: center;
}

/* د) افکت هاور روی خود دکمه */
.copy-code-button:hover .elementor-widget-container {
    background-color: #e9eef2;
    border-color: #005fff;
}

/* ==============================================
   بخش جدید: تولتیپ "برای کپی کلیک کنید" (بالای دکمه)
   ============================================== */

/* ۱. استایل پایه تولتیپ (مخفی در حالت عادی) */
.copy-code-button .elementor-widget-container::after {
    content: "برای کپی کلیک کنید";

    /* موقعیت‌دهی مطلق نسبت به دکمه */
    position: absolute;
    bottom: 100%; /* قرارگیری در بالای دکمه */
    left: 50%;
    transform: translateX(-50%); /* وسط‌چین کردن افقی */
    
    /* فاصله اولیه از دکمه */
    margin-bottom: 10px;

    /* استایل ظاهری طبق درخواست */
    background-color: #6C0C4C; /* رنگ پس‌زمینه درخواستی شما */
    color: white; /* رنگ متن سفید */
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap; /* جلوگیری از شکستن متن */
    box-shadow: 0 4px 6px rgba(0,0,0,0.15); /* سایه برای زیبایی */
    z-index: 100; /* اطمینان از نمایش روی سایر عناصر */

    /* مخفی کردن در حالت اولیه با افکت */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* افکت فنری نرم */
}

/* ۲. نمایش تولتیپ در حالت هاور */
/* از :not(.is-copied) استفاده شده تا وقتی کپی شد، این پیام نیاید */
.copy-code-button .elementor-widget-container:hover:not(.is-copied)::after {
    opacity: 1;
    visibility: visible;
    margin-bottom: 12px; /* حرکت نهایی به سمت بالا */
}

/* ۳. اضافه کردن یک فلش کوچک زیر تولتیپ برای زیبایی بیشتر (اختیاری) */
.copy-code-button .elementor-widget-container::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    
    /* ایجاد مثلث با border */
    border-width: 6px;
    border-style: solid;
    /* رنگ فلش باید همرنگ تولتیپ باشد */
    border-color: #6C0C4C transparent transparent transparent;
    
    /* مخفی در حالت عادی */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 99;
    margin-bottom: -2px; /* تنظیم دقیق موقعیت اولیه فلش */
}

/* نمایش فلش در حالت هاور */
.copy-code-button .elementor-widget-container:hover:not(.is-copied)::before {
    opacity: 1;
    visibility: visible;
    margin-bottom: 0px; /* تنظیم موقعیت نهایی فلش */
}