/* استایل جدول متغیرها */
.yp-variations-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-family: Tahoma, Arial, sans-serif;
}
.yp-variations-table th,
.yp-variations-table td {
    border: 1px solid #e5e5e5;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
}
.yp-variations-table thead {
    background: #09459B;
    color: #fff;
}
.yp-variations-table thead th {
    font-weight: bold;
    font-size: 14px;
}
.yp-variations-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}
.yp-variations-table tbody tr:hover {
    background: #f0f7ff;
}

/* دکمه افزودن گروهی */
.yp-btn-bulk-add {
    padding: 10px 16px;
    margin-top: 12px;
    background: #09459B;
    color: #fff;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.yp-btn-bulk-add:hover {
    background: #083a82;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(9, 69, 155, 0.2);
}
.yp-btn-bulk-add:active {
    transform: translateY(0);
}

/* دکمه‌های افزودن تکی */
.yp-add-btn {
    display: inline-block;
    padding: 6px 12px;
    background: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s ease;
}
.yp-add-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

/* چک‌باکس‌ها */
.variation-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* استایل‌های صفحه تست */
.wrap h1 {
    color: #09459B;
    margin-bottom: 30px;
    font-family: Tahoma, Arial, sans-serif;
    border-bottom: 2px solid #09459B;
    padding-bottom: 10px;
}

.notice {
    margin: 10px 0;
    padding: 10px 15px;
    border-right: 4px solid;
    border-radius: 4px;
    font-family: Tahoma, Arial, sans-serif;
}

.notice-success {
    border-right-color: #46b450;
    background: #f7fff7;
    color: #2e7d32;
}

.notice-error {
    border-right-color: #dc3232;
    background: #fff5f5;
    color: #c62828;
}

.notice-warning {
    border-right-color: #ffb900;
    background: #fff9e6;
    color: #f57c00;
}

.notice-info {
    border-right-color: #00a0d2;
    background: #f0f8ff;
    color: #0277bd;
}

/* ردیف‌های جدول در حالت انتخاب */
.yp-variations-table tbody tr.selected {
    background: #e8f4fd;
    border-left: 3px solid #09459B;
}

/* واپرسپانسیو */
@media (max-width: 768px) {
    .yp-variations-table {
        font-size: 13px;
    }
    .yp-variations-table th,
    .yp-variations-table td {
        padding: 6px 4px;
    }
    .yp-btn-bulk-add,
    .yp-add-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}