/* ===================================================================
   theme-refresh.css
   لایه به‌روزرسانی ظاهری — فقط گوشه‌ها، سایه‌ها، فاصله‌گذاری و
   ترنزیشن‌ها را مدرن‌تر می‌کند. هیچ font-size ای در این فایل تغییر
   نمی‌کند.
   =================================================================== */

/* --- کارت‌ها و باکس‌های خبر --- */
.panel,
.card,
.well,
.l_box,
.box_container,
.box_container_2,
.allmode_itemsbox,
.linear_itemsbox,
.box1_news_title,
.catheadline_title {
    border-radius: 10px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.panel:hover,
.card:hover,
.l_box:hover,
.box_container:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

/* --- تصاویر خبر: گوشه‌ی نرم --- */
.images-150-100,
.the_thumbnail img,
.wp-post-image,
.attachment-post-thumbnail {
    border-radius: 8px !important;
    transition: transform 0.3s ease;
}

/* --- دکمه‌ها --- */
.btn,
.button,
input[type="submit"],
input[type="button"] {
    border-radius: 8px !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.btn:hover,
.button:hover,
input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* --- لینک‌های داخل متن: ترنزیشن نرم رنگ --- */
a {
    transition: color 0.2s ease;
}

/* --- فرم‌ها (جستجو، دیدگاه) --- */
.form-control,
input[type="text"],
input[type="email"],
textarea {
    border-radius: 8px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(61, 106, 148, 0.15) !important;
}

/* --- هشدارها (alert-info و ...) --- */
.alert {
    border-radius: 10px !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* --- لیست‌ها (list-group) --- */
.list-group-item {
    border-radius: 8px !important;
    margin-bottom: 4px;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* --- فاصله‌گذاری کمی نرم‌تر بین باکس‌های اصلی --- */
.box_container,
.box_container_2,
.l_box,
.panel {
    margin-bottom: 18px !important;
}

/* --- اسکرول‌بار مدرن‌تر برای باکس‌های اسکرول‌دار --- */
.box_column_scroll::-webkit-scrollbar,
.allmode_itemsbox_scroll::-webkit-scrollbar,
.box_container_scroll::-webkit-scrollbar {
    width: 6px;
}

.box_column_scroll::-webkit-scrollbar-thumb,
.allmode_itemsbox_scroll::-webkit-scrollbar-thumb,
.box_container_scroll::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}
