:root {
    --primary: #d4a057;
    --primary-dark: #b8893f;
    --dark: #0f1724;
    --dark-light: #1e2a3a;
    --text: #2c2c2c;
    --light: #f9f6f0;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(0,0,0,0.08);
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', 'Segoe UI', sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.8;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    color: #f0f4f8;
    padding: 14px 0;
    border-bottom: 3px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.logo h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #f0f4f8;
}
.logo h1 span { color: var(--primary); }
.logo .sub {
    font-size: 0.75rem;
    color: #ffffff;
}

.nav {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}
.nav a {
    color: #f0f4f8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: Yekan, Tahoma;
}
.nav a:hover { color: var(--primary); }

.lang-switch {
    display: flex;
    gap: 2px;
    background: rgba(255,255,255,0.06);
    padding: 4px 6px;
    border-radius: 30px;
}
.lang-switch button {
    background: transparent;
    border: none;
    color: #95a5a6;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}
.lang-switch button.active {
    background: var(--primary);
    color: var(--dark);
}
.lang-switch button:hover { color: var(--primary); }
.lang-switch button.active:hover { color: var(--dark); }

.cart-icon {
    position: relative;
    display: inline-block;
}
.cart-icon .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.section-title {
    font-size: 1.0rem;
    color: #ffffff;
    text-align: right;
    margin: 10px 0 8px;
    position: relative;
    background: #29012b;
    border-radius: 6px;
    padding-right: 10px;
    height: 40px;
    padding-top: 5px;
}
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 0px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    margin: 10px auto 0;
    border-radius: 4px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px;
    margin-bottom: 6px;
}

.product-card {
    background: var(-5px-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 1px solid transparent;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: var(--primary);
}
.product-card .image {
    height: 220px;
    background: #e8e0d6;
    background-size: cover;
    background-position: center;
}
.product-card .info {
    padding: 16px 18px;
}
.product-card .info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.product-card .info .price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}
.product-card .info .desc {
    font-size: 0.85rem;
    color: #6b5a48;
    margin: 4px 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .info .btn {
    display: inline-block;
    padding: 6px 20px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    font-family: Yekan , tahoma;
}
.product-card .info .btn:hover { background: var(--primary-dark); }

.footer {
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    color: #bdc3c7;
    padding: 20px 0 20px;
    border-top: 4px solid var(--primary);
    margin-top: 10px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.editor-contentpre {
    background: #1a1a2e;
    color: #e8e8e8;
    padding: 12px 16px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    direction: ltr;
    text-align: left;
    margin: 8px 0;
    position: relative;
}
.editor-contentprecode {
    background: transparent;
    padding: 0;
    color: #e8e8e8;
}

.footer-grid h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.footer-grid h4 i { color: var(--primary); margin-left: 6px; }
.footer-grid a {
    color: #bdc3c7;
    text-decoration: none;
    display: block;
    padding: 4px 0;
    transition: 0.3s;
}
.footer-grid a:hover { color: var(--primary); padding-right: 8px; }
.footer-grid .social {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}
.footer-grid .social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s;
}
.footer-grid .social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-4px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}
.footer-bottom .powered {
    margin-top: 6px;
    opacity: 0.6;
    font-size: 0.8rem;
}
.footer-bottom .powered a { color: var(--primary); }

/* Responsive */
@media (max-width: 768px) {
    .header-content { flex-direction: column; align-items: stretch; }
    .nav { justify-content: center; gap: 10px; }
    .product-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 15px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.5rem; }
}

@keyframes confirmFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes confirmFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes confirmSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.admin-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.btn {
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
.btn-primary { background: #d4a057; color: #fff; }
.btn-primary:hover { background: #b8893f; transform: translateY(-2px); }
.btn-danger { background: #e74c3c; color: #fff; }
.btn-danger:hover { background: #c0392b; }
.btn-edit { background: #3498db; color: #fff; }
.btn-edit:hover { background: #2980b9; }
.btn-success { background: #2ecc71; color: #fff; }
.btn-success:hover { background: #27ae60; }
.btn-sm { padding: 4px 12px; font-size: 0.8rem; }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.admin-table th, .admin-table td {
    padding: 10px 12px;
    text-align: right;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}
.admin-table th {
    background: #f8f9fa;
    font-weight: 700;
    color: #0f1724;
}
.admin-table tr:hover { background: #f8f9fa; }

.badge {
    padding: 2px 10px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
}
.badge-parent { background: #d1ecf1; color: #0c5460; }
.badge-child { background: #d4edda; color: #155724; }

.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: #95a5a6;
}
.empty-state i {
    font-size: 3rem;
    color: #d4a057;
    opacity: 0.3;
    display: block;
    margin-bottom: 15px;
}
.empty-state h3 { color: #0f1724; margin-bottom: 8px; }


@keyframes slideDown {
    from {
        transform: translateY(-30px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* ============================================ */
/* مودال */
/* =================-============================================================================================== */
.modal-box::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 0 0 20px 20px;
}
.modal-box::-webkit-scrollbar-thumb {
    background: #d4a057;
    border-radius: 10px;
}
.modal-box::-webkit-scrollbar {
    width: 5px;
}
.modal-overlay.active {
    display: flex !important;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 0px;
    overflow-y: auto;
}
.modal-overlay.active {
    display: flex !important;
}

.modal-box {
    background: #ffffff;
    max-width: 100%;
    width: 100%;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    overflow-y: auto;
    padding: 0;
    border-radius: 0px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
    margin: auto;
}
    
@media (max-width: 768px) {
    .modal-box { max-width: 100%; max-height: 95vh; border-radius: 16px; }
    .modal-header { padding: 16px 18px; border-radius: 16px 16px 0 0; }
    .modal-header h2 { font-size: 1.1rem; }
    .modal-body { padding: 16px 18px 8px; }
    .form-actions { padding: 14px 18px 16px; flex-direction: column; }
    .form-actions .btn { width: 100%; justify-content: center; padding: 10px; }
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 2px solid #eee;
    position: sticky;
    top: 0;
    background: #060118;
    z-index: 10;
}
@media (max-width: 600px) {
    .modal-box { padding: 20px; margin: 10px; }
}
.modal-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Vazirmatn', 'Segoe UI', sans-serif;
}
.modal-header h2 i {
    color: #d4a057;
}
.modal-close {
    background: #f5f5f5;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: #888;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-close:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: rotate(90deg);
}

.modal-body {
    padding: 20px 25px 10px;
}

@media (max-width: 600px) {
    .modal-box {
        padding: 20px;
        margin: 10px;
        max-height: 95vh;
    }
    
    .modal-header h2 {
        font-size: 1rem;
    }
    
    .modal-close {
        font-size: 1.3rem;
    }
    
    @media (max-width: 480px) {
        .modal-overlay {
            padding: 10px;
        }
        
        .modal-box {
            padding: 15px;
            border-radius: 12px;
        }
    }
    /*-----------------------------------------------*/
    /* Toast */
    /* ============================================ */

    .modal-overlay {
        display: none;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        align-items: center;
        justify-content: center;
        padding: 20px;
        overflow-y: auto;
    }
    .modal-overlay.active {
        left: 0;
        display: flex;
        top: 0;
        width: 100%;
        height: 100%;
    }
    
    .modal-box {
        background: #ffffff;
        max-width: 750px;
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
        padding: 0;
        border-radius: 20px;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
        animation: slideDown 0.3s ease;
        margin: auto;
    }
    
    @keyframes slideDown {
        from { transform: translateY(-30px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }

    .modal-header h2 {
        font-size: 1.25rem;
        font-weight: 700;
        color: #0f1724;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: 'Vazirmatn', 'Segoe UI', sans-serif;
    }
    .modal-header h2 i {
        color: #d4a057;
    }
    .modal-close {
        background: #f5f5f5;
        border: none;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        font-size: 1.2rem;
        cursor: pointer;
        color: #888;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .modal-close:hover {
        background: #fee2e2;
        color: #dc2626;
        transform: rotate(90deg);
    }
    
    .modal-body {
        padding: 20px 25px 10px;
    }
    @media (max-width: 480px) {
        .modal-overlay { padding: 10px; }
        .modal-box { border-radius: 12px; max-height: 98vh; }
        .modal-header { padding: 12px 14px; }
        .modal-header h2 { font-size: 0.95rem; }
        .modal-body { padding: 12px 14px 6px; }
    }
    .modal-box::-webkit-scrollbar {
        width: 5px;
    }
    .modal-box::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 0 0 20px 20px;
    }
    .modal-box::-webkit-scrollbar-thumb {
        background: #d4a057;
        border-radius: 10px;
    }
    
    @media (max-width: 768px) {
        .modal-box {
            max-width: 100%;
            max-height: 95vh;
            border-radius: 16px;
        }
        .modal-header {
            padding: 16px 18px;
            border-radius: 16px 16px 0 0;
        }
        .modal-header h2 { font-size: 1.1rem; }
        .modal-body { padding: 16px 18px 8px; }
        .form-row { grid-template-columns: 1fr; gap: 0; }
        .checkbox-group { flex-direction: column; gap: 8px; align-items: flex-start; }
        .form-actions { padding: 14px 18px 16px; flex-direction: column; }
        .form-actions .btn { width: 100%; justify-content: center; padding: 10px; }
    }
    /*-----------------------------------------------*/
    .admin-sidebar::-webkit-scrollbar { width: 4px; }
    .admin-sidebar::-webkit-scrollbar-thumb { background: #d4a057; border-radius: 4px; }
 /* =================-============================================================================================== */


    .form-group input,
    .form-group select {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }

}


.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.9rem;
    color: #2c3e50;
}
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #ddd;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    font-family: 'Vazirmatn', sans-serif;
    transition: var(--transition);
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Vazirmatn', sans-serif;
    transition: 0.3s;
    font-size: 0.95rem;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #d4a057;
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 160, 87, 0.1);
    background: #fff;
}

.form-group .help-text {
    font-size: 0.75rem;
    color: #95a5a6;
    margin-top: 4px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #eee;
    flex-wrap: wrap;
}

/*-00000000000000000000000000000000000000000000000000000000000000000000000000000000000000*/
/* ============================================ */
/* استایل مستقیم SweetAlert2 در admin/slides.php */
/* ============================================ */
    /* ===== تنظیمات پایه SweetAlert2 ===== */
    .swal2-popup {
        font-family: 'Vazirmatn', 'Segoe UI', 'Tahoma', sans-serif !important;
        direction: rtl !important;
        text-align: right !important;
        border-radius: 20px !important;
        padding: 2em !important;
        background: #ffffff !important;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3) !important;
        max-width: 32em !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    
    .swal2-title {
        font-family: 'Vazirmatn', 'Segoe UI', 'Tahoma', sans-serif !important;
        font-weight: 700 !important;
        font-size: 1.3rem !important;
        color: #0f1724 !important;
        padding: 0 !important;
        margin-bottom: 8px !important;
    }
    
    .swal2-html-container {
        font-family: 'Vazirmatn', 'Segoe UI', 'Tahoma', sans-serif !important;
        font-size: 0.95rem !important;
        color: #4a5568 !important;
        line-height: 1.7 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .swal2-actions {
        display: flex;
        gap: 10px !important;
        justify-content: center !important;
        margin-top: 20px !important;
        padding: 0 !important;
    }
    
    .swal2-confirm,
    .swal2-cancel {
        font-family: 'Vazirmatn', 'Segoe UI', 'Tahoma', sans-serif !important;
        font-weight: 600 !important;
        padding: 10px 32px !important;
        border-radius: 10px !important;
        border: none !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        font-size: 0.95rem !important;
        min-width: 100px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .swal2-confirm {
        background: #d4a057 !important;
        color: #ffffff !important;
        box-shadow: 0 4px 15px rgba(212, 160, 87, 0.3) !important;
    }
    
    .swal2-confirm:hover {
        background: #b8893f !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(212, 160, 87, 0.4) !important;
    }
    
    .swal2-cancel {
        background: #e74c3c !important;
        color: #ffffff !important;
    }
    
    .swal2-cancel:hover {
        background: #c0392b !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 20px rgba(231, 76, 60, 0.3) !important;
    }
    
    .swal2-icon {
        margin: 0 auto 15px !important;
        width: 60px !important;
        height: 60px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 2rem !important;
    }
    
    .swal2-icon.swal2-warning {
        border-color: #f39c12 !important;
        color: #f39c12 !important;
    }
    
    .swal2-icon .swal2-icon-content {
        font-size: 2.5rem !important;
        font-weight: 700 !important;
    }
    
    .swal2-container {
        z-index: 999999 !important;
        padding: 20px !important;
        background: rgba(0, 0, 0, 0.6) !important;
        backdrop-filter: blur(4px) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .swal2-container.swal2-backdrop-show {
        background: rgba(0, 0, 0, 0.6) !important;
    }
    
    .swal2-timer-progress-bar {
        background: #d4a057 !important;
        height: 3px !important;
    }
    
    .swal2-close {
        color: #95a5a6 !important;
        font-size: 1.5rem !important;
        transition: all 0.3s ease !important;
    }
    
    .swal2-close:hover {
        color: #e74c3c !important;
        transform: rotate(90deg) !important;
    }
    
    /* ===== استایل برای فوتر و نمایش کامل ===== */
    .swal2-popup {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
    
    .swal2-container {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        overflow-y: auto !important;
    }
    
    /* ===== ریسپانسیو ===== */
    @media (max-width: 480px) {
        .swal2-popup {
            padding: 1.5em !important;
            border-radius: 16px !important;
        }
        
        .swal2-title {
            font-size: 1.1rem !important;
        }
        
        .swal2-confirm,
        .swal2-cancel {
            padding: 8px 20px !important;
            font-size: 0.85rem !important;
            min-width: 80px !important;
        }
        
        .swal2-actions {
            flex-direction: row !important;
            gap: 8px !important;
        }
    }
/*-00000000000000000000000000000000000000000000000000000000000000000000000000000000000000*/
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 24px;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    z-index: 99999;
    animation: slideUp 0.4s ease;
    font-family: 'Vazirmatn', sans-serif;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.toast-success { background: #2ecc71; }
.toast-error { background: #e74c3c; }
.toast-warning { background: #f39c12; }

/* ===== نمادهای اعتماد ===== */
.trust-symbols {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    margin: 8px 0;
}

.trust-symbols img {
    height: 65px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 8px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(0.95);
}

.trust-symbols a {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.trust-symbols a:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.trust-symbols a:hover img {
    border-color: #d4a057;
    filter: brightness(1);
    box-shadow: 0 4px 15px rgba(212, 160, 87, 0.15);
}

/* ===== ریسپانسیو ===== */
@media (max-width: 768px) {
    .trust-symbols {
        gap: 8px;
        justify-content: center;
    }
    
    .trust-symbols img {
        height: 50px;
        max-width: 90px;
        padding: 4px 8px;
    }
}

@media (max-width: 480px) {
    .trust-symbols {
        gap: 6px;
    }
    
    .trust-symbols img {
        height: 40px;
        max-width: 70px;
        padding: 3px 6px;
        border-radius: 4px;
    }
}

/* //////////////////////////////////////////////////////////////////////////// */
    .admin-table {
        width: 100%;
        border-collapse: collapse;
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    }
    .admin-table th, .admin-table td {
        padding: 10px 12px;
        text-align: right;
        border-bottom: 1px solid #eee;
        font-size: 0.9rem;
    }
    .admin-table th { background: #f8f9fa; font-weight: 700; color: #0f1724; }
    .admin-table tr:hover { background: #f8f9fa; }
    .admin-table .image-thumb {
        width: 60px;
        height: 50px;
        object-fit: cover;
        border-radius: 6px;
        background: #e8e0d6;
    }
    
    .editor-content table {
        width: 100%;
        border-collapse: collapse;
        margin: 10px 0;
    }
    
    .editor-content table th,
    .editor-content table td {
        border: 1px solid #ddd;
        padding: 8px 12px;
        text-align: right;
    }
    
    .editor-content table th { background: #f8f9fa; font-weight: 700; }
 
    
    @keyframes slideUp {
        from { transform: translateY(100px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }

    /* ============================================ */

    /* ============================================ */
    /* انیمیشن‌های Toast */
    /* ============================================ */

    @keyframes toastSlideDown {
        0% {
            opacity: 0;
            transform: translateX(-50%) translateY(-40px) scale(0.95);
        }
        100% {
            opacity: 1;
            transform: translateX(-50%) translateY(0) scale(1);
        }
    }

    @keyframes toastSlideUp {
        0% {
            opacity: 1;
            transform: translateX(-50%) translateY(0) scale(1);
        }
        100% {
            opacity: 0;
            transform: translateX(-50%) translateY(-40px) scale(0.95);
        }
    }

    .toast-modern {
        animation: toastSlideDown 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    }

    .toast-modern.closing {
        animation: toastSlideUp 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    }