* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Tahoma, Arial, sans-serif;
}
body {
    background: radial-gradient(circle at top, #0f2952 0%, #091326 100%);
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 15px;
    perspective: 1200px;
    overflow-x: hidden;
    direction: rtl;
}

/* چوکات دوطبقه‌ای نورانی و چرخان دقیقاً مثل برنامه آریا */
.box-3d, .top-command-header {
    position: relative;
    width: 100%;
    border-radius: 22px;
    padding: 4px;
    overflow: hidden;
    background: #0b162c;
    box-shadow: 0 20px 45px rgba(0,0,0,0.9), 0 0 25px rgba(245, 158, 11, 0.3), 0 0 25px rgba(69,243,255,0.25);
    margin-bottom: 15px;
}
.box-3d { max-width: 420px; margin: 30px auto; }
.box-3d::before, .box-3d::after, .top-command-header::before, .top-command-header::after {
    content: '';
    position: absolute;
    width: 180%;
    height: 180%;
    top: -40%;
    left: -40%;
    animation: spinLight 5s linear infinite;
    z-index: 1;
}
.box-3d::before, .top-command-header::before {
    background: conic-gradient(transparent, transparent, transparent, #f59e0b, #fbbf24);
}
.box-3d::after, .top-command-header::after {
    background: conic-gradient(transparent, transparent, transparent, #45f3ff, #45f3ff);
    animation-delay: -2.5s;
}
@keyframes spinLight {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.login-inner, .header-inner-grid {
    position: relative;
    width: 100%;
    background: linear-gradient(155deg, #132544, #0c172b);
    border-radius: 18px;
    padding: 18px;
    z-index: 5;
    box-shadow: inset 0 10px 25px rgba(0,0,0,0.75);
    border: 1px solid rgba(255,255,255,0.15);
}
.login-inner { text-align: center; }

/* لوگوی سه‌بعدی چرخان */
.logo-3d-wrapper {
    width: 74px;
    height: 74px;
    margin: 0 auto 12px;
    perspective: 600px;
}
.logo-3d-coin {
    width: 100%;
    height: 100%;
    animation: rotateLogo3D 6s linear infinite;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24, #b45309, #fde68a);
    padding: 3px;
    box-shadow: 0 0 22px rgba(251, 191, 36, 0.6);
}
.logo-3d-face {
    width: 100%;
    height: 100%;
    background: #0c172b;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    font-weight: bold;
    color: #fbbf24;
    overflow: hidden;
}
.logo-3d-face img { width: 100%; height: 100%; object-fit: cover; }
@keyframes rotateLogo3D {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.company-name-gold {
    font-size: 17px;
    font-weight: bold;
    background: linear-gradient(180deg, #fde68a 0%, #f59e0b 60%, #b45309 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}
.company-name-en {
    font-size: 10.5px;
    font-weight: bold;
    letter-spacing: 0.8px;
    color: #fbbf24;
    margin-bottom: 10px;
}

.input-box input, .neon-input, select {
    width: 100%;
    padding: 11px 12px;
    background: #091224;
    border: 1.5px solid rgba(251, 191, 36, 0.35);
    border-radius: 12px;
    font-size: 14px;
    color: #fff;
    outline: none;
    box-shadow: inset 0 4px 10px rgba(0,0,0,0.8);
}
.input-box input { border-radius: 30px; text-align: center; font-size: 16px; color: #fbbf24; margin-bottom: 12px; }
.neon-input:focus, select:focus { border-color: #45f3ff; box-shadow: 0 0 10px rgba(69,243,255,0.4); }

.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(180deg, #fde68a 0%, #f59e0b 50%, #d97706 100%);
    color: #091326;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 0 #92400e, 0 0 18px rgba(245, 158, 11, 0.45);
}
.submit-btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #92400e; }

/* داشبورد اصلی */
.dashboard-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}
.header-inner-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: center;
}
@media (min-width: 768px) {
    .header-inner-grid { grid-template-columns: 1.4fr 1.1fr 0.9fr; }
}

.header-brand-box { display: flex; align-items: center; gap: 12px; }
.header-logo {
    width: 62px; height: 62px; border-radius: 50%; background: #091326;
    border: 2.5px solid #fbbf24; display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: bold; color: #fbbf24; flex-shrink: 0;
    box-shadow: 0 0 15px rgba(251,191,36,0.5); overflow: hidden;
}
.header-logo img { width: 100%; height: 100%; object-fit: cover; }

.welcome-badge {
    background: rgba(251,191,36,0.15); border: 1px solid rgba(251,191,36,0.4);
    color: #fde68a; font-size: 11px; padding: 3px 10px; border-radius: 12px; display: inline-block; margin-top: 4px;
}
.badge-live {
    font-size: 11px; background: rgba(16, 185, 129, 0.15); color: #34d399;
    padding: 3px 8px; border-radius: 12px; border: 1px solid rgba(52, 211, 153, 0.3); display: inline-block; margin-top: 4px;
}

/* ساعت کرنوگراف شبرنگ RGB مشابه عکس آریا */
.rgb-clock-card {
    background: linear-gradient(145deg, #131c2e, #0a0f1a);
    border: 1.5px solid rgba(69, 243, 255, 0.4);
    border-radius: 16px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.8), inset 0 0 15px rgba(69, 243, 255, 0.15);
}
.radium-clock {
    width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 6px; position: relative;
    background: radial-gradient(circle, #182338 0%, #0b101b 100%);
    border: 3px solid #1e293b; animation: rgbGlow 6s infinite alternate;
}
@keyframes rgbGlow {
    0% { box-shadow: 0 0 15px rgba(69, 243, 255, 0.4), inset 0 0 10px #000; }
    50% { box-shadow: 0 0 18px rgba(16, 185, 129, 0.5), inset 0 0 10px #000; }
    100% { box-shadow: 0 0 18px rgba(236, 72, 153, 0.45), inset 0 0 10px #000; }
}
.dial-ticks { position: absolute; inset: 4px; border-radius: 50%; border: 2px dashed rgba(69, 243, 255, 0.45); }
.brand-stamp { position: absolute; top: 18px; width: 100%; text-align: center; font-size: 6.5px; letter-spacing: 1px; color: #94a3b8; font-weight: bold; }
.sub-dial {
    position: absolute; top: 38px; width: 22px; height: 22px; border-radius: 50%;
    border: 1px solid rgba(69, 243, 255, 0.35); background: rgba(0, 0, 0, 0.45);
    display: flex; align-items: center; justify-content: center; font-size: 5.5px; color: #45f3ff;
}
.sub-dial.left { left: 13px; }
.sub-dial.right { right: 13px; }
.r-hand { position: absolute; bottom: 50%; left: 50%; transform-origin: bottom; border-radius: 4px; }
.r-hour { width: 3.5px; height: 22px; background: #38bdf8; box-shadow: 0 0 8px #38bdf8; }
.r-min { width: 2.5px; height: 31px; background: #34d399; box-shadow: 0 0 8px #34d399; }
.r-sec { width: 1.5px; height: 37px; background: #f43f5e; box-shadow: 0 0 8px #f43f5e; }
.r-center-pin {
    width: 7px; height: 7px; background: #fff; border: 2px solid #45f3ff;
    border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 5;
}
.rgb-digital { font-size: 17px; font-weight: bold; color: #fff; text-shadow: 0 0 10px rgba(69, 243, 255, 0.7); direction: ltr; }
.date-text { font-size: 10.5px; color: #94a3b8; }
.date-text.shamsi { color: #fbbf24; font-weight: bold; }

.logout-btn {
    background: linear-gradient(180deg, #ef4444, #b91c1c); color: white; border: none;
    padding: 6px 14px; border-radius: 12px; font-size: 12px; font-weight: bold; cursor: pointer; box-shadow: 0 3px 0 #7f1d1d;
}

/* منوی سه‌بعدی آیکونی دقیقاً مثل آریا */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
@media (min-width: 768px) { .menu-grid { grid-template-columns: repeat(4, 1fr); } }

.menu-card {
    background: linear-gradient(145deg, #1b3158, #11203b);
    border: 1.5px solid rgba(251, 191, 36, 0.25);
    border-radius: 18px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 6px 0 #08101e, 0 10px 15px rgba(0,0,0,0.5);
    transition: 0.15s;
}
.menu-card.active, .menu-card:active {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #08101e, 0 0 15px rgba(251, 191, 36, 0.45);
    border-color: #fbbf24;
    background: linear-gradient(145deg, #2b2310, #1c1608);
}
.menu-icon { font-size: 28px; margin-bottom: 6px; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.6)); }
.menu-title { font-size: 12.5px; font-weight: bold; color: #f8fafc; }

/* کارت‌های شیشه‌ای بخش‌ها */
.glass-card {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 243, 255, 0.35);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.15);
}
.glass-card h2 { color: #fbbf24; font-size: 15px; margin-bottom: 12px; border-bottom: 1px solid rgba(251,191,36,0.2); padding-bottom: 6px; }

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}
label { display: block; font-size: 11.5px; color: #cbd5e1; margin-bottom: 4px; }

.neon-btn {
    background: linear-gradient(90deg, #00f3ff, #38bdf8);
    color: #091326; font-weight: bold; border: none; padding: 10px 18px;
    border-radius: 10px; cursor: pointer; box-shadow: 0 4px 0 #0369a1;
}
.btn-gold {
    background: linear-gradient(180deg, #fde68a, #f59e0b);
    color: #091326; font-weight: bold; border: none; padding: 10px 18px;
    border-radius: 10px; cursor: pointer; box-shadow: 0 4px 0 #92400e;
}
.btn-del {
    background: rgba(255, 42, 109, 0.2); color: #ff2a6d;
    border: 1px solid #ff2a6d; padding: 4px 10px; border-radius: 6px; cursor: pointer;
}

.table-responsive { overflow-x: auto; margin-top: 10px; }
.neon-table { width: 100%; border-collapse: collapse; text-align: center; font-size: 12.5px; }
.neon-table th, .neon-table td { padding: 9px 7px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); white-space: nowrap; }
.neon-table th { color: #00f3ff; background: rgba(0, 243, 255, 0.08); }

/* چیدمان فروشگاه و کارت معرفی محصول در گوشه صفحه */
.shop-layout { display: grid; grid-template-columns: 1fr; gap: 15px; }
@media (min-width: 768px) { .shop-layout { grid-template-columns: 2fr 1fr; } }

.product-preview-box {
    background: rgba(9, 18, 36, 0.9);
    border: 1.5px solid #fbbf24;
    border-radius: 14px;
    padding: 12px;
    text-align: center;
}
.product-preview-box img {
    width: 100%; max-height: 165px; object-fit: contain;
    border-radius: 10px; background: #fff; padding: 5px; margin-bottom: 8px;
}
.barcode-tag {
    font-family: monospace; background: #fff; color: #000;
    padding: 2px 8px; border-radius: 4px; letter-spacing: 1.5px; font-weight: bold; display: inline-block; margin: 4px 0;
}

@media print {
    body * { visibility: hidden; }
    #print-area, #print-area * { visibility: visible; }
    #print-area { position: absolute; left: 0; top: 0; width: 100%; background: #fff !important; color: #000 !important; padding: 15px; }
}
/* طراحی فروشگاه دو ستونه POS و فاکتور سفید */
.pos-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
}
@media (min-width: 850px) {
    .pos-layout { grid-template-columns: 1.65fr 1fr; }
}

.pos-catalog-side {
    background: #f1f5f9;
    border-radius: 16px;
    padding: 12px;
    color: #0f172a;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}
.pos-top-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid #cbd5e1;
}
.pos-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}
.pos-prod-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.pos-prod-top {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.pos-prod-top img {
    width: 72px;
    height: 85px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    flex-shrink: 0;
}
.pos-prod-info {
    font-size: 11px;
    line-height: 1.5;
    text-align: right;
    flex: 1;
}
.pos-prod-info h4 {
    font-size: 13px;
    color: #0f172a;
    margin-bottom: 2px;
}
.pos-card-btns {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 5px;
    margin-top: 8px;
}
.btn-add-pos {
    padding: 7px 4px;
    background: linear-gradient(90deg, #e11d48, #be123c);
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 11.5px;
    font-weight: bold;
    cursor: pointer;
}
.btn-det-pos {
    padding: 7px 4px;
    background: #0f2952;
    color: #fbbf24;
    border: 1px solid #fbbf24;
    border-radius: 7px;
    font-size: 11.5px;
    font-weight: bold;
    cursor: pointer;
}

/* برگه فاکتور سفید سمت چپ */
.pos-bill-side {
    background: #ffffff;
    color: #0f172a;
    border-radius: 16px;
    padding: 14px;
    border: 2px solid #0f172a;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}
.bill-header {
    text-align: center;
    border-bottom: 1.5px dashed #94a3b8;
    padding-bottom: 8px;
    margin-bottom: 10px;
}
.bill-header h3 { font-size: 15px; color: #0f172a; }
.bill-header small { font-size: 11px; color: #475569; }
.bill-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bill-input {
    width: 100%;
    padding: 7px 8px;
    background: #f8fafc !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    box-shadow: none !important;
}
.cash-check-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}
.cash-check-box input { width: auto; }
.bill-items-wrap {
    margin: 10px 0;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    min-height: 110px;
    max-height: 230px;
    overflow-y: auto;
}
.bill-table { width: 100%; border-collapse: collapse; font-size: 11px; text-align: center; }
.bill-table th { background: #0f2952; color: #fff; padding: 6px 3px; }
.bill-table td { padding: 6px 3px; border-bottom: 1px solid #e2e8f0; color: #0f172a; }
.bill-totals-summary { background: #f1f5f9; padding: 8px 10px; border-radius: 8px; margin-top: 8px; font-size: 12.5px; }
.bill-actions { display: grid; grid-template-columns: 1fr 1fr 0.7fr; gap: 6px; margin-top: 10px; }
.btn-bill-save { background: #10b981; color: #fff; border: none; padding: 9px 4px; border-radius: 8px; font-weight: bold; font-size: 12px; cursor: pointer; }
.btn-bill-print { background: #1e3a8a; color: #fff; border: none; padding: 9px 4px; border-radius: 8px; font-weight: bold; font-size: 12px; cursor: pointer; }
.btn-bill-cancel { background: #e11d48; color: #fff; border: none; padding: 9px 4px; border-radius: 8px; font-weight: bold; font-size: 12px; cursor: pointer; }

/* پنجره‌های بازشونده (بروشور و ویرایش) و هشدارها */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 15px;
    overflow-y: auto;
}
.modal-box {
    width: 100%;
    border-radius: 16px;
    padding: 16px;
    max-height: 90vh;
    overflow-y: auto;
}
.alert-banner {
    background: rgba(225, 29, 72, 0.2);
    border: 1.5px solid #ff2a6d;
    color: #fecdd3;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
    margin-bottom: 6px;
    font-weight: bold;
}
.badge-warn {
    background: #dc2626;
    color: #fff;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 10px;
    display: inline-block;
}
.badge-ok {
    background: #059669;
    color: #fff;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 10px;
    display: inline-block;
}
/* تابش نور سه‌بعدی دور لوگوی چرخان */
.logo-3d-coin, .header-logo {
    animation: rotateLogo3D 6s linear infinite, logoGlowPulse 2.5s ease-in-out infinite alternate !important;
}
@keyframes logoGlowPulse {
    0% { box-shadow: 0 0 15px #fbbf24, 0 0 30px rgba(245, 158, 11, 0.5); }
    100% { box-shadow: 0 0 25px #00f3ff, 0 0 45px rgba(0, 243, 255, 0.7); }
}

/* آیکون‌های سه‌بعدی برجسته */
.menu-icon {
    display: inline-block;
    font-size: 32px !important;
    transform: perspective(400px) rotateX(10deg);
    filter: drop-shadow(0 6px 6px rgba(0,0,0,0.85)) drop-shadow(0 0 8px rgba(251, 191, 36, 0.4)) !important;
    transition: transform 0.2s;
}
.menu-card:hover .menu-icon, .menu-card.active .menu-icon {
    transform: perspective(400px) rotateX(0deg) scale(1.15);
}

/* کادر عکس محصول کامل و سه‌بعدی */
.pos-prod-top img {
    width: 88px !important;
    height: 105px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    border: 2px solid #fbbf24 !important;
    box-shadow: 0 8px 16px rgba(15, 41, 82, 0.35), 0 0 10px rgba(251, 191, 36, 0.4) !important;
    transform: perspective(500px) rotateY(-6deg);
    transition: transform 0.25s;
}
.pos-prod-card:hover .pos-prod-top img {
    transform: perspective(500px) rotateY(0deg) scale(1.04);
}

/* استایل بل چاپی رسمی دقیقاً مثل تصویر نمونه */
.receipt-paper {
    background: #ffffff;
    color: #000000;
    padding: 14px;
    border: 2px solid #000;
    font-family: Tahoma, Arial, sans-serif;
    line-height: 1.6;
    text-align: right;
}
.receipt-table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0;
    font-size: 11px;
    text-align: center;
}
.receipt-table th, .receipt-table td {
    border: 1.5px solid #000;
    padding: 5px 3px;
    color: #000;
}
.receipt-table th {
    background: #f1f5f9;
    font-weight: bold;
}
.receipt-note-box {
    border: 1.5px solid #000;
    padding: 6px;
    margin: 8px 0;
    font-size: 10.5px;
    text-align: center;
    font-weight: bold;
}
/* بزرگ‌تر شدن لوگوی چرخان در صفحه ورود و هدر */
.logo-3d-wrapper { width: 96px !important; height: 96px !important; }
.header-logo { width: 84px !important; height: 84px !important; font-size: 26px !important; }

/* بزرگ‌تر شدن عکس محصولات در کارت‌های فروشگاه */
.pos-prod-top img {
    width: 112px !important;
    height: 132px !important;
    object-fit: cover !important;
    border-radius: 14px !important;
}

/* استایل دکمه‌های زبان و کارت‌های انتخاب کاربر در صفحه ورود */
.lang-bar { display: flex; justify-content: center; gap: 8px; margin-bottom: 14px; }
.lang-btn {
    background: rgba(0,0,0,0.45); border: 1px solid rgba(251, 191, 36, 0.35);
    color: #cbd5e1; padding: 6px 14px; border-radius: 20px; font-size: 11.5px; cursor: pointer;
}
.lang-btn.active {
    background: linear-gradient(180deg, #fbbf24, #d97706); border-color: #fbbf24;
    color: #091326; font-weight: bold; box-shadow: 0 0 12px rgba(251, 191, 36, 0.6);
}
.user-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.user-card {
    background: linear-gradient(145deg, #1b3158, #11203b);
    border: 1.5px solid rgba(255,255,255,0.1); border-radius: 16px;
    padding: 12px 6px; cursor: pointer; display: flex; flex-direction: column;
    align-items: center; gap: 6px; box-shadow: 0 5px 0 #08101e;
}
.user-card.active {
    background: linear-gradient(145deg, #2b2310, #1c1608);
    border-color: #fbbf24; box-shadow: 0 5px 0 #0f0b04, 0 0 15px rgba(251, 191, 36, 0.45);
}
.user-avatar {
    width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(251, 191, 36, 0.45);
    background: #0b162c; display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.user-card.active .user-avatar { border-color: #fbbf24; box-shadow: 0 0 12px #fbbf24; }
.user-name { font-size: 12.5px; font-weight: bold; color: #e5e7eb; }
.user-card.active .user-name { color: #fbbf24; }
/* نوار متن روان از چپ به راست داخل هدر */
.marquee-box {
    grid-column: 1 / -1;
    background: rgba(9, 18, 36, 0.85);
    border: 1px solid rgba(251, 191, 36, 0.45);
    border-radius: 12px;
    padding: 7px 10px;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: inset 0 0 12px rgba(251, 191, 36, 0.15);
}
.marquee-text {
    display: inline-block;
    color: #fde68a;
    font-size: 12.5px;
    font-weight: bold;
    animation: moveLeftToRight 18s linear infinite;
}
@keyframes moveLeftToRight {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100vw); }
}

/* گرید انتخاب مجوزهای دسترسی کاربر */
.perm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
    background: rgba(0, 0, 0, 0.35);
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(69, 243, 255, 0.25);
    margin: 8px 0;
}
.perm-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #e2e8f0;
    cursor: pointer;
}
.perm-item input { width: auto; }
