@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Tajawal:wght@400;500;700;800&display=swap);@keyframes spin{to{transform:rotate(360deg)}}:root{--background:220 18% 96%;--foreground:220 18% 20%;--border:220 15% 87%;--card:0 0% 100%;--card-hover:220 20% 98%;--popover:0 0% 100%;--primary:220 15% 28%;--primary-foreground:0 0% 100%;--secondary:220 15% 93%;--muted:220 15% 92%;--muted-foreground:220 10% 45%;--accent:220 15% 92%;--accent-foreground:220 15% 22%;--destructive:0 70% 46%;--success:142 60% 34%;--warning:34 85% 40%;--input:220 15% 93%;--ring:220 15% 28%;--radius:12px;--shadow-glow:0 0 0 1px hsl(220 15% 28% / .10), 0 8px 24px -8px hsl(220 15% 20% / .16)}:root[data-theme=dark]{--background:222 18% 8%;--foreground:220 15% 88%;--border:222 12% 20%;--card:222 16% 12%;--card-hover:222 16% 15%;--popover:222 16% 13%;--primary:220 15% 82%;--primary-foreground:222 16% 12%;--secondary:222 13% 18%;--muted:222 13% 17%;--muted-foreground:220 10% 62%;--accent:222 13% 19%;--accent-foreground:220 15% 88%;--destructive:0 70% 55%;--success:142 55% 45%;--warning:34 85% 55%;--input:222 13% 16%;--ring:220 15% 70%;--shadow-glow:0 0 0 1px hsl(0 0% 100% / .06), 0 8px 24px -8px hsl(0 0% 0% / .5);color-scheme:dark}:root[data-theme=dark] .btn-primary{background:linear-gradient(135deg,hsl(220 15% 88%),hsl(220 12% 72%));color:hsl(222 16% 12%);box-shadow:0 4px 20px -4px hsl(0 0% 0%/.55)}:root[data-theme=dark] .btn-danger{color:hsl(0 85% 72%)}:root[data-theme=dark] body{background:radial-gradient(ellipse 80% 50%at 50% -10%,hsl(222 30% 14%/.9),transparent),hsl(var(--background))}:root[data-theme=dark] .gradient-text{background:linear-gradient(135deg,hsl(220 15% 92%),hsl(220 10% 65%));-webkit-background-clip:text;background-clip:text;color:transparent}:root[data-theme=dark] .badge-primary{color:hsl(220 15% 85%)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:radial-gradient(ellipse 80% 50%at 50% -10%,hsl(220 20% 91%/.8),transparent),hsl(var(--background));color:hsl(var(--foreground));min-height:100vh;-webkit-font-smoothing:antialiased}html[lang=ar] body{font-family:"Tajawal","Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}ul{list-style:none;margin:0;padding:0}button{cursor:pointer}button,input,select,textarea{font-family:inherit}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:hsl(var(--muted));border-radius:8px}::-webkit-scrollbar-thumb:hover{background:hsl(var(--border))}.container{max-width:1200px;margin:0 auto;padding:0 24px}h1,h2,h3,h4{font-weight:800;line-height:1.15;margin:0;letter-spacing:-.02em}p{line-height:1.6;color:hsl(var(--muted-foreground));margin:0}.gradient-text{background:linear-gradient(135deg,hsl(220 15% 22%),hsl(220 10% 42%));-webkit-background-clip:text;background-clip:text;color:transparent}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 22px;border-radius:10px;border:1px solid transparent;font-weight:600;font-size:14px;transition:transform .15s ease,box-shadow .15s ease,background .15s ease,border-color .15s ease;white-space:nowrap}.btn:active{transform:scale(.97)}.btn-primary{background:linear-gradient(135deg,hsl(220 15% 30%),hsl(220 12% 16%));color:#fff;box-shadow:0 4px 20px -4px hsl(0 0% 0%/.5)}.btn-primary:hover{box-shadow:0 6px 26px -4px hsl(0 0% 0%/.6)}.btn-secondary{background:hsl(var(--secondary));color:hsl(var(--foreground));border-color:hsl(var(--border))}.btn-secondary:hover{background:hsl(var(--muted))}.btn-ghost,.btn-outline{background:0 0;color:hsl(var(--foreground))}.btn-ghost:hover,.btn-outline:hover{background:hsl(var(--secondary))}.btn-outline{border-color:hsl(var(--border))}.btn-danger{background:hsl(var(--destructive)/.15);color:hsl(0 90% 70%);border-color:hsl(var(--destructive)/.3)}.btn-danger:hover{background:hsl(var(--destructive)/.25)}.btn-sm{padding:7px 14px;font-size:13px;border-radius:8px}.btn-block{width:100%}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.card{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);padding:24px}.card-hover{transition:border-color .2s ease,transform .2s ease}.card-hover:hover{border-color:hsl(var(--primary)/.5);transform:translateY(-2px)}.badge{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:600;border:1px solid transparent}.badge-dot::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.badge-success{background:hsl(var(--success)/.12);color:hsl(var(--success));border-color:hsl(var(--success)/.25)}.badge-warning{background:hsl(var(--warning)/.12);color:hsl(var(--warning));border-color:hsl(var(--warning)/.25)}.badge-danger{background:hsl(var(--destructive)/.12);color:hsl(0 90% 65%);border-color:hsl(var(--destructive)/.3)}.badge-muted{background:hsl(var(--muted));color:hsl(var(--muted-foreground));border-color:hsl(var(--border))}.badge-primary{background:hsl(var(--primary)/.12);color:hsl(220 15% 26%);border-color:hsl(var(--primary)/.3)}.field{margin-bottom:18px}.field label{display:block;font-size:13px;font-weight:600;margin-bottom:7px;color:hsl(var(--foreground))}.input,select.input,textarea.input{width:100%;padding:11px 14px;background:hsl(var(--input)/.5);border:1px solid hsl(var(--border));border-radius:9px;color:hsl(var(--foreground));font-size:14px;transition:border-color .15s ease,box-shadow .15s ease}.input:focus,select.input:focus,textarea.input:focus{outline:0;border-color:hsl(var(--primary));box-shadow:0 0 0 3px hsl(var(--primary)/.15)}.input::placeholder{color:hsl(var(--muted-foreground))}.field-hint,.nav-links a{color:hsl(var(--muted-foreground))}.field-error,.field-hint{font-size:12px;margin-top:6px}.field-error{color:hsl(0 90% 65%)}.alert,table{font-size:13.5px}.alert{display:flex;gap:10px;align-items:flex-start;padding:12px 16px;border-radius:10px;border:1px solid transparent;margin-bottom:16px}.alert-error{background:hsl(var(--destructive)/.1);border-color:hsl(var(--destructive)/.3);color:hsl(0 90% 75%)}.alert-success{background:hsl(var(--success)/.1);border-color:hsl(var(--success)/.3);color:hsl(var(--success))}.alert-info{background:hsl(220 15% 92%);border-color:hsl(220 15% 80%);color:hsl(220 15% 26%)}.hidden{display:none!important}.navbar{position:sticky;top:0;z-index:50;background:hsl(var(--background)/.75);backdrop-filter:blur(12px);border-bottom:1px solid hsl(var(--border))}.navbar-inner{display:flex;align-items:center;justify-content:space-between;height:68px}.brand,.brand-mark{display:flex;align-items:center;font-weight:800}.brand{gap:10px;font-size:19px}.brand-mark{width:34px;height:34px;border-radius:9px;background:linear-gradient(135deg,hsl(220 15% 30%),hsl(220 12% 16%));justify-content:center;font-size:16px;color:#fff;box-shadow:var(--shadow-glow);overflow:hidden;flex-shrink:0}.brand-mark img{width:100%;height:100%;object-fit:cover;display:block}.nav-actions,.nav-links,.navbar-right{display:flex;align-items:center;gap:28px}.nav-links a{font-size:14px;font-weight:500;transition:color .15s ease}.nav-links a:hover{color:hsl(var(--foreground))}.nav-actions,.navbar-right{gap:10px}.navbar-right{gap:14px;flex-shrink:0}.nav-toggle{display:none}@media (max-width:900px){.navbar-right{gap:8px}}@media (max-width:420px){.navbar-right .btn-ghost{display:none}}.auth-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}.auth-card{width:100%;max-width:420px}.auth-header{text-align:center;margin-bottom:28px}.auth-header .brand{justify-content:center;margin-bottom:18px}.divider{display:flex;align-items:center;gap:12px;margin:20px 0;color:hsl(var(--muted-foreground));font-size:12px}.divider::after,.divider::before{content:"";flex:1;height:1px;background:hsl(var(--border))}.app-shell{display:flex;min-height:100vh}.sidebar{width:260px;flex-shrink:0;background:hsl(var(--card));border-right:1px solid hsl(var(--border));padding:20px 14px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow-y:auto}.sidebar .brand{padding:8px 10px 20px}.sidebar-link,.sidebar-section{color:hsl(var(--muted-foreground))}.sidebar-section{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:14px 10px 6px}.sidebar-link{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:9px;font-size:14px;font-weight:500;transition:background .15s ease,color .15s ease}.sidebar-link:hover{background:hsl(var(--secondary));color:hsl(var(--foreground))}.sidebar-link.active{background:hsl(220 15% 90%);color:hsl(220 15% 22%)}.sidebar-link .icon{width:18px;text-align:center;opacity:.9}.sidebar-footer{margin-top:auto;padding-top:14px;border-top:1px solid hsl(var(--border))}.main{flex:1;min-width:0}.topbar,tbody td,thead th{border-bottom:1px solid hsl(var(--border))}.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 28px;position:sticky;top:0;background:hsl(var(--background)/.85);backdrop-filter:blur(10px);z-index:30}#page-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:640px){.topbar{padding:0 14px}}.page{padding:28px;max-width:1400px}.page-header,.user-chip{display:flex;align-items:center}.page-header{justify-content:space-between;margin-bottom:24px;flex-wrap:wrap;gap:12px}.page-header h1{font-size:24px}.page-header p{margin-top:4px}.user-chip{gap:10px;padding:6px 10px;border-radius:10px}.avatar,.stat-card .stat-label{font-size:13px;display:flex;align-items:center}.avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,hsl(220 15% 30%),hsl(220 12% 16%));justify-content:center;font-weight:700;color:#fff;overflow:hidden;flex-shrink:0}.grid{display:grid;gap:18px}.grid-4{grid-template-columns:repeat(4,1fr)}.grid-3{grid-template-columns:repeat(3,1fr)}.grid-2{grid-template-columns:repeat(2,1fr)}@media (max-width:1000px){.grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}}@media (max-width:640px){.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}}.stat-card{display:flex;flex-direction:column;gap:6px}.stat-card .stat-label{color:hsl(var(--muted-foreground));justify-content:space-between}.stat-card .stat-value{font-size:28px;font-weight:800}.stat-card .stat-delta{font-size:12.5px;font-weight:600}.stat-icon{width:38px;height:38px;border-radius:10px;background:hsl(220 15% 90%);color:hsl(220 15% 26%);display:flex;align-items:center;justify-content:center;font-size:16px}.table-wrap{overflow-x:auto;border:1px solid hsl(var(--border));border-radius:var(--radius)}table{width:100%;border-collapse:collapse}tbody td,thead th{padding:12px 16px}thead th{text-align:left;font-weight:600;color:hsl(var(--muted-foreground));background:hsl(var(--secondary)/.5);white-space:nowrap}tbody td{vertical-align:middle}tbody tr:last-child td{border-bottom:none}tbody tr:hover{background:hsl(var(--card-hover))}.tabs{display:flex;gap:4px;border-bottom:1px solid hsl(var(--border));margin-bottom:22px;overflow-x:auto}.tab{padding:10px 16px;font-size:14px;font-weight:600;color:hsl(var(--muted-foreground));border-bottom:2px solid transparent;white-space:nowrap}.tab.active,.tab:hover{color:hsl(var(--foreground))}.tab.active{border-color:hsl(var(--primary))}.modal-backdrop{position:fixed;inset:0;background:hsl(0 0% 0%/.6);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;z-index:100;padding:20px}.modal{background:hsl(var(--popover));border:1px solid hsl(var(--border));border-radius:16px;width:100%;max-width:480px;padding:26px;max-height:90vh;overflow-y:auto}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.modal-close{background:hsl(var(--secondary));border:0;color:hsl(var(--foreground));width:30px;height:30px;border-radius:8px;font-size:16px}.empty-state{text-align:center;padding:60px 20px;color:hsl(var(--muted-foreground))}.empty-state .empty-icon{font-size:38px;margin-bottom:12px;opacity:.6}.locale-controls,.locale-select-wrap{display:flex;align-items:center;flex-shrink:0}.locale-controls{gap:6px}.locale-select-wrap{position:relative}.locale-select-icon{position:absolute;inset-inline-start:8px;pointer-events:none;color:hsl(var(--muted-foreground))}.locale-select-wrap .locale-select{padding-inline-start:26px;min-width:72px}.locale-select{padding:6px 22px 6px 7px;border-radius:8px;border:1px solid hsl(var(--border));background:hsl(var(--secondary));color:hsl(var(--foreground));font-size:12px;font-weight:600;flex-shrink:0;cursor:pointer;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 7px center;min-width:58px}html[dir=rtl] .locale-select{background-position:left 7px center}.locale-select:hover{background-color:hsl(var(--muted))}#locale-lang-select{max-width:62px}#locale-currency-select{max-width:68px}html[dir=rtl] .sidebar{right:-280px;left:auto}html[dir=rtl] .sidebar.open{right:0}html[dir=rtl] .sidebar-footer,html[dir=rtl] body{text-align:right}html[dir=rtl] .plan-features li::before,html[dir=rtl] .product-features li::before{order:2}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-2{gap:8px}.gap-3{gap:12px}.gap-4{gap:16px}.mt-1{margin-top:4px}.mt-2{margin-top:8px}.mt-3{margin-top:12px}.mt-4{margin-top:16px}.mt-6{margin-top:24px}.mb-2{margin-bottom:8px}.mb-3{margin-bottom:12px}.mb-4{margin-bottom:16px}.mb-6{margin-bottom:24px}.text-sm{font-size:13px}.text-xs{font-size:12px}.text-muted{color:hsl(var(--muted-foreground))}.font-semibold{font-weight:600}.w-full{width:100%}.spinner{width:16px;height:16px;border-radius:50%;border:2px solid hsl(0 0% 100%/.3);border-top-color:#fff;animation:spin .7s linear infinite}.loading-row{text-align:center;padding:40px;color:hsl(var(--muted-foreground))}@media (max-width:900px){.sidebar{position:fixed;left:-280px;top:0;z-index:90;transition:left .2s ease;box-shadow:20px 0 40px hsl(0 0% 0%/.4)}.sidebar.open{left:0}.nav-toggle{display:inline-flex}}.copy{--button-bg:hsl(var(--secondary));--button-hover-bg:hsl(220 15% 85%);--button-text-color:hsl(var(--muted-foreground));--button-hover-text-color:hsl(220 18% 12%);--button-border-radius:8px;--button-diameter:28px;--button-outline-width:1px;--button-outline-color:rgb(141, 141, 141);--tooltip-bg:hsl(220 18% 16%);--toolptip-border-radius:4px;--tooltip-font-family:Menlo, "Roboto Mono", monospace;--tooltip-font-size:11px;--tootip-text-color:#fff;--tooltip-padding-x:7px;--tooltip-padding-y:6px;--tooltip-offset:8px;--tooltip-transition-duration:0.3s;box-sizing:border-box;width:var(--button-diameter);height:var(--button-diameter);border-radius:var(--button-border-radius);background-color:var(--button-bg);color:var(--button-text-color);border:1px solid hsl(var(--border));cursor:pointer;position:relative;outline:0;padding:0;display:inline-grid;place-items:center;vertical-align:middle;flex:none}.copy.sm{--button-diameter:22px;--button-border-radius:7px}:root[data-theme=dark] .copy{--button-bg:#353434;--button-hover-bg:#464646;--button-text-color:#cccccc;--button-hover-text-color:#ffffff}.copy .tooltip{opacity:0;visibility:hidden;top:0;transform:translateX(-50%);white-space:nowrap;font:var(--tooltip-font-size) var(--tooltip-font-family);color:var(--tootip-text-color);background:var(--tooltip-bg);padding:var(--tooltip-padding-y) var(--tooltip-padding-x);border-radius:var(--toolptip-border-radius);z-index:20;transition:all var(--tooltip-transition-duration) cubic-bezier(.68,-.55,.265,1.55)}.copy .tooltip::before{content:attr(data-text-initial)}.copy .tooltip,.copy .tooltip::after{position:absolute;left:50%;pointer-events:none}.copy .tooltip::after{content:"";bottom:calc(var(--tooltip-padding-y)/2*-1);width:var(--tooltip-padding-y);height:var(--tooltip-padding-y);background:inherit;transform:translateX(-50%) rotate(45deg);z-index:-999}.copy svg{grid-area:1/1;width:14px;height:14px}.copy.sm svg{width:11px;height:11px}.copy.copied .tooltip,.copy:hover .tooltip{opacity:1;visibility:visible;top:calc((100% + var(--tooltip-offset))*-1)}.copy.copied .tooltip::before{content:attr(data-text-end)}.copy .checkmark,.copy.copied .clipboard{display:none}.copy.copied .checkmark{display:inline-block;color:#7ee2a8}.copy:focus,.copy:hover{background-color:var(--button-hover-bg)}.copy:active{outline:var(--button-outline-width) solid var(--button-outline-color)}.copy:hover svg{color:var(--button-hover-text-color)}.theme-popup{--total_text_color:hsl(var(--foreground));--total_font_family:inherit;--btn_bg:hsl(var(--secondary));--btn_padding:0.5em;--btn_height:30px;--btn_border_radius:8px;--btn_outline_width:0.0625em;--btn_outline_color:hsl(var(--ring) / .55);--btn_outline_offset:0.0625em;--btn_gap:0.3125em;--list_padding:0.5em;--list_bg:hsl(var(--popover));--list_border_radius:10px;--list_gap:0.1875em;--list_btn_hover_bg:hsl(var(--muted));--list_btn_active:hsl(var(--muted) / .8);--list_btn_border_radius:0.25em;--list_btn_padding:0.35em 1em;--list_btn_gap:0.4375em;--list_btn_outline_width:0.0625em;--list_btn_outline_color:hsl(var(--ring) / .5);--list_offset:0.35em;--list_btn_font_size:12.5px}#checkbox,#dark,#default,#light,.theme-popup__button .theme-popup__icons svg,.theme-popup__list-container{display:none}.theme-popup{color:var(--total_text_color);font-family:var(--total_font_family);position:relative;user-select:none;flex-shrink:0}.theme-popup__list-container{position:absolute;inset-inline-end:0;top:calc(var(--btn_height) + var(--list_offset));z-index:60}.theme-popup__icons{display:flex;align-items:center;justify-content:center;width:16px;height:16px}.theme-popup__button{line-height:var(--btn_height);height:var(--btn_height);box-sizing:border-box;background-color:var(--btn_bg);padding:0 var(--btn_padding);display:inline-flex;align-items:center;column-gap:var(--btn_gap);border-radius:var(--btn_border_radius);border:1px solid hsl(var(--border));color:inherit;font-family:inherit;outline:0;font-weight:700;cursor:pointer}.theme-popup__list{margin:0;list-style-type:none;padding:var(--list_padding);border-radius:var(--list_border_radius);background-color:var(--list_bg);border:1px solid hsl(var(--border));box-shadow:var(--shadow-glow);display:flex;flex-direction:column;row-gap:var(--list_gap)}.theme-popup__list label{display:flex;align-items:center;justify-content:start;column-gap:var(--list_btn_gap);padding:var(--list_btn_padding);border-radius:var(--list_btn_border_radius);white-space:nowrap;cursor:pointer}.theme-popup__list label span{font-size:var(--list_btn_font_size)}#checkbox:checked~.theme-popup__button{outline:var(--btn_outline_width) solid var(--btn_outline_color);outline-offset:var(--btn_outline_offset)}#checkbox:checked~.theme-popup__list-container,#dark:checked~label svg.moon,#default:checked~label svg.default,#light:checked~label svg.sun{display:block}#checkbox:checked~.theme-popup__button,.theme-popup__button:hover,.theme-popup__list label:hover{background-color:var(--list_btn_hover_bg)}#dark:checked~.theme-popup__list-container label[for=dark],#default:checked~.theme-popup__list-container label[for=default],#light:checked~.theme-popup__list-container label[for=light]{background-color:var(--list_btn_active);outline:var(--list_btn_outline_width) solid var(--list_btn_outline_color)}