
/* =========================================
           استایل حرفه‌ای و ریسپانسیو برای جداول CKEditor
           ========================================= */
.ck-content-display {
    width: 100%;
}
/* کانتینر جدول */
.ck-content-display figure.table {
    margin: 2em 0;
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    box-sizing: border-box;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaedf1;
    -webkit-overflow-scrolling: touch;
}

/* تنظیمات جدول */
.ck-content-display table {
    border-collapse: collapse;
    min-width: 100%;
    width: max-content;
    direction: rtl;
}

    /* هدر جدول */
    .ck-content-display table thead th,
    .ck-content-display table th,
    .ck-content-display table tr:first-child td {
        background-color: #f8fafc;
        color: #334155;
        font-weight: 700;
        padding: 16px;
        border-bottom: 2px solid #e2e8f0;
        text-align: center;
        white-space: nowrap;
    }

    /* سلول‌های معمولی */
    .ck-content-display table td {
        padding: 14px 16px;
        border-bottom: 1px solid #f1f5f9;
        color: #475569;
        text-align: center;
        vertical-align: middle;
        white-space: nowrap;
    }

    /* حذف خط آخر */
    .ck-content-display table tr:last-child td {
        border-bottom: none;
    }

    /* ردیف‌های راه‌راه */
    .ck-content-display table tbody tr:nth-child(even) {
        background-color: #fbfcfd;
    }

    /* افکت هاور */
    .ck-content-display table tbody tr:hover {
        background-color: #f1f5f9;
        transition: background-color 0.3s ease;
    }

/* اسکرول زیباتر در مرورگرهای WebKit */
.ck-content-display figure.table::-webkit-scrollbar {
    height: 8px;
}

.ck-content-display figure.table::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.ck-content-display figure.table::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

    .ck-content-display figure.table::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }



/* =========================================
          استایل مربوط به راهنمای سایز قد و وزن
           ========================================= */

.size-form {
    width: 100%;
    padding: 18px 20px;
    background: linear-gradient(135deg, #e6ecf5, #d9e2ef); /* خاکستری-آبی روشن‌تر ولی پررنگ‌تر */
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    font-family: "IRANSans", sans-serif;
    text-align: center;
    color: #222;
}

.size-title {
    font-size: 14px;
    margin-bottom: 15px;
    color: #333;
}

    .size-title span {
        font-weight: bold;
        color: #007bff;
    }

.size-inputs {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

    .size-inputs div {
        flex: 1;
        text-align: right;
    }

    .size-inputs label {
        display: block;
        font-size: 12px;
        margin-bottom: 4px;
        color: #444;
    }

    .size-inputs input {
        width: 100%;
        padding: 8px 10px;
        border: 1px solid #bbb;
        border-radius: 6px;
        font-size: 13px;
        transition: all 0.3s;
    }

        .size-inputs input:focus {
            border-color: #007bff;
            outline: none;
            box-shadow: 0 0 4px rgba(0,123,255,0.25);
        }

.size-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: linear-gradient(45deg, #ff758c, #ff7eb3);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

    .size-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(255, 111, 135, 0.35);
    }

.size-result {
    margin-top: 15px;
    font-size: 14px;
    color: #333;
}

    .size-result span {
        font-weight: bold;
        font-size: 15px;
        color: #28a745;
    }
