/* 📌 بردکرامب مدرن و زیبا */
.exercise-breadcrumb {
    font-size: 14px;
    color: #444;
    margin-bottom: 20px;
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 8px;
    display: flex;
    align-items: right;
    gap: 10px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    margin-top: 20px;
    flex-direction: column;
}
/* 📌 استایل عنوان داخل بردکرامب */
.breadcrumb-title {
    font-size: 14px;
    font-weight: bold;
    color: #444;
}
/* 📌 لینک‌های بردکرامب */
.exercise-breadcrumb a {
    color: #222;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 6px 12px;
    border-radius: 5px;
    background: rgba(255, 229, 0, 0.2);
    font-size: 14px;
    font-weight: bold;
}

.exercise-breadcrumb a:hover {
    background: #ffe500;
    color: #222;
    transform: scale(1.05);
}

/* 📌 استایل بخش فعلی */
.exercise-breadcrumb span {
    font-weight: bold;
    color: #000;
    background: #ffe500;
    padding: 6px 12px;
    border-radius: 5px;
}


/* 📌 استایل ریسپانسیو */
@media (max-width: 600px) {
    .exercise-breadcrumb {
        font-size: 12px;
        padding: 10px 5px;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .exercise-breadcrumb a {
        padding: 5px 10px;
        font-size: 12px;
    }

    .exercise-breadcrumb span {
        padding: 5px 10px;
    }

    .exercise-breadcrumb a::after {
        margin-left: 5px;
        font-size: 10px;
    }
}

/* ✅ دکمه‌ها و لینک‌ها هماهنگ با رنگ‌بندی جدید */
.search-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ffe500 0%, #ffea00 100%); /* گرادینت زرد زیبا */
    color: #000000;
    font-size: 18px;
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px; /* گوشه‌های گردتر برای حس مدرن‌تر */
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin-top: 25px;
}

.search-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 200%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-30deg);
    transition: all 0.5s ease;
}

.search-btn:hover::before {
    left: 100%;
}

.search-btn:hover {
    background: #000000;
    color: #ffe500;
    transform: translateY(-3px) scale(1.05); /* انیمیشن بلند شدن و بزرگ شدن */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.search-btn:hover {
    background: #000000; /* مشکی */
    color: #ffe500; /* زرد */
}
/* کانتینر کلی */
.exercise-container {
    width: 100%;
    margin: 0px auto;
    padding: 10px;
    box-sizing: border-box;
}
/* استایل برای سربرگ با گرادینت آبی شاد */
.exercise-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    padding: 15px 20px;
    color: white;
    background: linear-gradient(135deg, #0099ff, #00ccff); /* گرادینت آبی شاد */
    border-radius: 12px;
    display: inline-block;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: shadowMove 3s infinite ease-in-out;
}

/* افکت سایه متحرک از سمت راست */
@keyframes shadowMove {
    0% {
        box-shadow: 4px 4px 10px rgba(0, 153, 255, 0.3);
    }
    50% {
        box-shadow: 8px 8px 15px rgba(0, 153, 255, 0.5);
    }
    100% {
        box-shadow: 4px 4px 10px rgba(0, 153, 255, 0.3);
    }
}

/* انیمیشن برای نمایش خط */
@keyframes underlineFadeIn {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* استایل برای تصویر */
.exercise-media {
    margin: 20px 0; /* فاصله از بالا و پایین */
    text-align: center; /* برای وسط‌چین کردن تصویر */
}

/* اطمینان از وسط‌چین بودن تصویر */
.exercise-media img {
    display: block;
    margin: 0 auto;
}
/* جدول مرتب با خط نازک دور کل باکس */
.exercise-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    border: 5px solid rgba(0, 0, 0.2, 0.2); /* خط نازک دور کل جدول */
    margin-bottom: 20px; /* فاصله از پایین */
}

/* سلول‌های جدول */
.exercise-table th,
.exercise-table td {
    padding: 12px 15px;
    text-align: right; /* راست‌چین کردن متن داخلی */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* خطوط نازک بین ردیف‌ها */
    color: #333; /* متن‌ها مشکی‌تر برای خوانایی بهتر */
}

/* استایل عنوان‌های جدول */
.exercise-table th {
    background: rgba(0, 153, 255, 0.2); /* پس‌زمینه آبی کم‌رنگ‌تر شد */
    font-weight: bold;
    color: #003c9c;
    width: 30%; /* کاهش عرض ستون عنوان‌ها */
}

/* ردیف‌های جدول */
.exercise-table tr:last-child td {
    border-bottom: none;
}

/* افکت هاور برای جدول */
.exercise-table tr:hover {
    background: rgba(0, 153, 255, 0.05); /* تغییر رنگ پس‌زمینه در هاور */
}

/* ریسپانسیو برای موبایل */
@media screen and (max-width: 768px) {
    .exercise-table th,
    .exercise-table td {
        padding: 10px;
        font-size: 14px;
    }
}

/* استایل عنوان توضیحات */
.custom-title {
    font-weight: bold;
    color: #333333;
    font-size: 22px;
    position: relative;
    display: inline-block;
    padding: 15px 20px; /* افزودن پدینگ به داخل باکس */
    width: 100%;
    margin: 20px auto;
    text-align: center;
    letter-spacing: 1px; /* فاصله بین حروف */
    background-color: #ffffff; /* پس‌زمینه سفید */
    border-radius: 12px; /* گوشه‌های گرد */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* سایه ملایم */
}
/* خط نازک زیر عنوان توضیحات */
.custom-title::after {
    content: "";
    display: block;
    width: 20%;
    height: 1px;
    background: #ffe500;
    margin: 8px auto 0;
    border-radius: 5px;
}

/* استایل کلی برای لینک‌های دسته‌بندی در جدول */
.category-link {
    display: inline-block;
    background: rgba(0, 153, 255, 0.1);
    color: #007acc;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 2px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* افکت هاور */
.category-link:hover {
    background: #007acc;
    color: #fff;
}
/* 📌 باکس اشتراک‌گذاری */
.share-container {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
}

.share-container p {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

/* 📌 دکمه‌های اشتراک‌گذاری */
.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* 📌 استایل دکمه‌های اشتراک */
.share-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 22px;
    color: #fff;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
    text-decoration: none;
}

/* 📌 استایل هر دکمه بر اساس برند */
.share-btn.whatsapp { background: #25D366; }
.share-btn.telegram { background: #0088cc; }
.share-btn.twitter { background: #000000; } /* توییتر جدید (X) */
.share-btn.instagram { background: #E1306C; }

.share-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 📌 استایل برای موبایل */
@media (max-width: 768px) {
    .share-container {
        padding: 10px;
    }

    .share-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* ✅ دکمه‌ها و لینک‌ها هماهنگ با رنگ‌بندی جدید */
.search-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ffe500 0%, #ffea00 100%); /* گرادینت زرد زیبا */
    color: #000000;
    font-size: 18px;
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px; /* گوشه‌های گردتر برای حس مدرن‌تر */
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.search-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 200%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-30deg);
    transition: all 0.5s ease;
}

.search-btn:hover::before {
    left: 100%;
}

.search-btn:hover {
    background: #000000;
    color: #ffe500;
    transform: translateY(-3px) scale(1.05); /* انیمیشن بلند شدن و بزرگ شدن */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.search-btn:hover {
    background: #000000; /* مشکی */
    color: #ffe500; /* زرد */
}
/* ✅ استایل کلی بخش دیدگاه‌ها */
.exercise-comments {
    margin-top: 40px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

