*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f7f8fc;color:#222740;font-family:Vazirmatn,Tahoma,sans-serif;font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}.layout{display:flex;min-height:100vh}.sidebar{width:235px;flex-shrink:0;background:#fff;border-left:1px solid #eff0f5;padding:30px 20px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:22px;line-height:1.25;color:#262746}.brand small{display:block;font-size:10px;color:#9a9daf;font-weight:500;margin-top:3px}.brand-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#6b58dc;color:white;font-size:27px;box-shadow:0 7px 15px #6b58dc33}.nav-label{font-size:11px;color:#b0b2c0;margin:58px 12px 15px}.nav-item{padding:13px 14px;display:flex;align-items:center;gap:12px;border-radius:10px;color:#8c8fa4;font-weight:600;margin-bottom:5px}.nav-item span{font-size:20px}.nav-item.active{background:#f1efff;color:#6b58dc}.nav-item i{width:6px;height:6px;background:#7764e5;border-radius:50%;margin-right:auto}.sidebar-bottom{margin-top:auto}.help-card{background:#f5f3ff;border-radius:16px;padding:17px 15px;color:#5145a2;font-size:12px}.help-icon{background:#fff;width:32px;height:32px;display:grid;place-items:center;border-radius:10px;font-size:19px;margin-bottom:12px}.help-card p{font-size:11px;line-height:2;color:#9993c2;margin:6px 0 0}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid #f1f1f5;margin-top:23px;padding-top:18px}.avatar{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:#f8ddcf;color:#ac6e55;font-weight:800}.avatar.small{width:34px;height:34px;font-size:12px}.profile b,.profile small{display:block;font-size:12px}.profile small{font-size:10px;color:#a8a9b7;margin-top:3px}.profile form{margin-right:auto}.logout,.close{border:0;background:none;color:#a3a5b5;font-size:22px}.main{min-width:0;flex:1}.topbar{height:78px;background:#fff;border-bottom:1px solid #eff0f5;display:flex;justify-content:space-between;align-items:center;padding:0 45px;font-size:12px}.crumb,.crumb-sep{color:#aaacb9}.top-right{display:flex;align-items:center;gap:10px;color:#878b9e}.online-dot{width:7px;height:7px;border-radius:50%;background:#58c7a3}.content{max-width:1500px;margin:auto;padding:34px 45px}.heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px}.eyebrow{font-size:11px;font-weight:700;color:#897ce2}.heading h1{font-size:24px;margin:9px 0 4px;letter-spacing:-.5px}.heading h1 span{font-size:21px}.heading p,.section-heading p,.table-header p{margin:0;color:#a1a4b5;font-size:12px}.btn{border:0;border-radius:10px;padding:13px 19px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:10px}.primary{background:#6d5bdb;color:#fff;box-shadow:0 6px 14px #6d5bdb24}.primary:hover{background:#5947c5}.plus{font-size:22px;line-height:1}.hero{background:linear-gradient(110deg,#6654d2,#8d7bea);min-height:210px;border-radius:18px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;padding:29px 37px;color:#fff}.hero:before,.hero:after{content:'';position:absolute;border:1px solid #ffffff16;border-radius:50%;width:400px;height:400px;left:0;top:-220px}.hero:after{width:510px;height:510px;left:-55px;top:-270px}.hero-text{position:relative;z-index:1}.hero-tag{background:#ffffff22;border:1px solid #ffffff28;border-radius:30px;padding:6px 11px;font-size:10px}.hero h2{font-size:23px;margin:19px 0 7px}.hero p{font-size:12px;color:#e1dbff;margin:0;line-height:2}.hero-link{background:none;border:0;color:white;padding:15px 0 0;font-weight:700;font-size:12px}.hero-link span{padding-right:8px}.hero-art{width:280px;height:175px;position:relative;z-index:1;margin-left:30px}.art-back{position:absolute;width:150px;height:150px;background:#ffffff18;transform:rotate(12deg);border-radius:25px;left:65px;top:12px}.art-card{position:absolute;left:75px;top:7px;width:145px;height:160px;background:white;border-radius:14px;padding:15px;transform:rotate(-7deg);box-shadow:0 15px 30px #332a7733}.art-top{display:flex;justify-content:space-between;color:#7a69dc}.art-top span{background:#edeaff;border-radius:7px;padding:3px 7px}.art-top i{color:#d8d7e5}.art-line{height:6px;background:#eeedf5;border-radius:4px;width:55%;margin-top:9px}.art-line.long{width:75%;background:#d8d4ee;margin-top:15px}.art-row{display:flex;gap:8px;align-items:center;margin-top:12px}.art-row div{width:24px;height:24px;border-radius:7px;background:#edf9f4;color:#61c5a0;text-align:center}.art-row span{flex:1}.art-row b,.art-row small{display:block;height:5px;background:#eeedf5;border-radius:5px;width:80%}.art-row small{width:55%;margin-top:5px}.art-check{position:absolute;left:50px;bottom:4px;background:#83d8b6;border:5px solid #a39aeb;width:51px;height:51px;border-radius:16px;display:grid;place-items:center;font-size:24px;font-weight:bold}.spark{position:absolute;color:#e9e4ff;font-size:22px}.s1{left:40px;top:20px}.s2{right:25px;bottom:18px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:35px 0 17px}.section-heading h2,.table-header h2{font-size:16px;margin:0 0 5px}.section-hint{font-size:11px;color:#adafbd}.section-hint span{color:#9e91e9}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.stat{background:#fff;border:1px solid #eff0f5;border-radius:14px;padding:19px;min-height:120px}.stat-top{display:flex;align-items:center;gap:10px;color:#85899d;font-size:12px;font-weight:600}.stat-icon{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;font-size:20px}.purple{background:#f1efff;color:#7664da}.orange{background:#fff5e7;color:#e9a84e}.green{background:#eaf9f2;color:#55bb92}.red{background:#fff0f0;color:#e68686}.stat strong{font-size:25px;margin-left:8px}.stat small{color:#b3b5c2;font-size:10px}.table-card{background:#fff;border:1px solid #eff0f5;border-radius:15px;margin-top:27px;overflow:hidden}.table-header{padding:23px;display:flex;align-items:center;justify-content:space-between}.count{font-size:10px;color:#7564d7;background:#f1efff;border-radius:6px;padding:2px 7px;margin-right:5px}.table-icon{border:1px solid #eeeef3;border-radius:9px;padding:7px 11px;color:#9698a8}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:right;white-space:nowrap}th{background:#fafafd;color:#a4a6b5;font-size:11px;font-weight:500;padding:13px 23px}td{padding:17px 23px;border-top:1px solid #f5f5f8;font-size:12px;color:#777b8e}.request-title{display:flex;align-items:center;gap:10px}.request-title b,.request-title small{display:block}.request-title b{color:#33374d}.request-title small{color:#b1b2c0;margin-top:4px}.doc-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#f3f1ff;color:#8372de;font-size:19px}.date{text-align:right}.status{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:7px;font-size:10px;font-weight:700}.status i{width:6px;height:6px;background:currentColor;border-radius:50%}.pending{background:#fff7e8;color:#d39a3d}.approved{background:#eaf8f1;color:#4cae83}.rejected{background:#fff0f0;color:#d77575}.details-btn{color:#7462d8;border:0;background:none;font-weight:700;font-size:11px}.empty{text-align:center;padding:35px!important;color:#a6a8b7}.empty div{font-size:28px;color:#a69ae8}.empty b{display:block;color:#5d6173}.empty p{font-size:11px}footer{text-align:center;color:#b7b9c5;font-size:10px;padding:27px}footer span{color:#a99ee8}dialog{border:0;border-radius:18px;padding:27px;width:min(480px,calc(100% - 32px));color:#292d44;box-shadow:0 20px 70px #25204133}dialog::backdrop{background:#27243980;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.dialog-head h2{font-size:20px;margin:4px 0}.dialog-head p{color:#a2a4b3;margin:0;font-size:12px}.form{display:grid;gap:16px}.form label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#55596c}.form input,.form select,.form textarea{width:100%;border:1px solid #e8e8f0;border-radius:10px;padding:12px;background:#fff;outline:none;color:#30344a}.form input:focus,.form textarea:focus,.form select:focus{border-color:#8a7be2;box-shadow:0 0 0 3px #eeeaff}.form textarea{resize:vertical}.form .btn{width:100%}.detail-text{white-space:pre-wrap;line-height:2;background:#f8f8fc;border-radius:10px;padding:15px;color:#686c80}.note{background:#f6f4ff;padding:14px;border-radius:10px;margin-bottom:20px}.note p{white-space:pre-wrap;margin-bottom:0}.review-buttons{display:flex;gap:10px}.danger{background:#fff0f0;color:#c05a5a}.alert{padding:12px 16px;border-radius:10px;margin-bottom:18px}.alert.error{background:#fff0f0;color:#b95656}.alert.success{background:#eaf8f1;color:#39946c}.login-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.login-card{width:min(420px,85%);margin:auto;padding:50px 0}.login-copy{margin:65px 0 30px}.login-copy h1{font-size:32px;line-height:1.7;margin:12px 0}.login-copy em{font-style:normal;color:#7764dd}.login-copy p,.login-foot{color:#a1a4b5;font-size:12px}.login-foot{text-align:center;margin-top:25px}.login-aside{background:linear-gradient(140deg,#6150ca,#8b78e5);margin:15px;border-radius:24px;display:grid;place-items:center;color:#fff;position:relative;overflow:hidden}.aside-content{position:relative;z-index:2;max-width:400px;padding:30px}.aside-badge{background:#ffffff24;padding:8px 13px;border-radius:30px;font-size:11px}.aside-content h2{font-size:30px;line-height:1.8;margin-top:30px}.aside-content p{color:#e5dfff;font-size:13px;line-height:2}.aside-preview{display:flex;align-items:center;gap:15px;background:#ffffffee;color:#4d4874;padding:18px;border-radius:15px;margin-top:45px;box-shadow:0 15px 40px #3e328c33}.aside-preview>span{background:#eeeaff;color:#7765da;padding:10px;border-radius:10px;font-size:20px}.aside-preview b,.aside-preview small{display:block}.aside-preview small{font-size:10px;color:#a4a1b6;margin-top:5px}.aside-preview strong{margin-right:auto;color:#61bc98}.orb{position:absolute;border:1px solid #ffffff20;border-radius:50%;width:500px;height:500px}.orb-one{top:-200px;left:-100px}.orb-two{bottom:-240px;right:-150px}@media(max-width:900px){.sidebar{width:190px}.content{padding:25px}.topbar{padding:0 25px}.stats{grid-template-columns:repeat(2,1fr)}.hero-art{margin-left:0}.login-aside{display:none}.login-page{grid-template-columns:1fr}}@media(max-width:600px){.sidebar{position:static;width:100%;height:auto;padding:14px 18px;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.sidebar .nav-label,.sidebar .nav-item,.help-card{display:none}.sidebar-bottom{margin:0}.profile{border:0;margin:0;padding:0}.profile b,.profile small{display:none}.layout{display:block}.topbar{height:55px;padding:0 18px}.content{padding:22px 16px}.heading{align-items:flex-start;gap:12px}.heading h1{font-size:19px}.heading .btn{font-size:11px;padding:10px;white-space:nowrap}.hero{padding:24px;min-height:190px}.hero h2{font-size:19px}.hero-art{display:none}.section-hint{display:none}.stats{gap:9px}.stat{padding:13px}.stat-top{font-size:11px}.table-header{padding:18px}.login-copy{margin-top:45px}}
/* Dashboard controls and themes */
.live-clock{display:flex;align-items:center;gap:9px;background:#f6f5ff;color:#6255a2;border:1px solid #eeebff;border-radius:10px;padding:7px 11px;font-size:11px;white-space:nowrap}.live-clock strong{font-size:12px;font-variant-numeric:tabular-nums}.settings-trigger{border:1px solid #eaeaf2;background:#fff;color:#77718f;border-radius:10px;width:36px;height:36px;font-size:21px;line-height:1}.settings-trigger:hover{color:#6d5bdb;background:#f5f3ff}.theme-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.theme-options button{border:1px solid #e7e7f0;background:#f8f8fc;border-radius:10px;padding:12px 5px;color:#44465d}.theme-options button[aria-pressed=true]{border-color:#7563df;background:#f0edff;color:#5b49c2;font-weight:700}.settings-logout{border-top:1px solid #eeeef4;margin-top:20px;padding-top:16px}.settings-logout button{border:0;background:#fff0f0;color:#b95555;border-radius:10px;padding:11px;width:100%;font-weight:700}
html[data-theme=blue] body{background:#eef7ff;color:#1c3650}html[data-theme=blue] .sidebar,html[data-theme=blue] .topbar,html[data-theme=blue] .stat,html[data-theme=blue] .table-card{background:#fbfdff;border-color:#dceefa}html[data-theme=blue] .hero,html[data-theme=blue] .login-aside{background:linear-gradient(110deg,#2585c9,#79c9ec)}html[data-theme=blue] .primary,html[data-theme=blue] .brand-icon{background:#2389c9}html[data-theme=blue] .nav-item.active,html[data-theme=blue] .help-card,html[data-theme=blue] .live-clock{background:#e4f4ff;color:#217eae}html[data-theme=blue] .eyebrow,html[data-theme=blue] .details-btn{color:#2484b9}
html[data-theme=dark] body{background:#101724;color:#e7edf7}html[data-theme=dark] .sidebar,html[data-theme=dark] .topbar,html[data-theme=dark] .stat,html[data-theme=dark] .table-card,html[data-theme=dark] dialog,html[data-theme=dark] .login-page{background:#1a2535;color:#e7edf7;border-color:#314053}html[data-theme=dark] .brand,html[data-theme=dark] .request-title b,html[data-theme=dark] .empty b{color:#e7edf7}html[data-theme=dark] .nav-item.active,html[data-theme=dark] .help-card,html[data-theme=dark] .live-clock,html[data-theme=dark] .detail-text,html[data-theme=dark] .note{background:#29334a;color:#d0cbff;border-color:#3a4760}html[data-theme=dark] th{background:#202d3e;color:#aeb9cb}html[data-theme=dark] td,html[data-theme=dark] .profile,html[data-theme=dark] .settings-logout{border-color:#314053}html[data-theme=dark] td,html[data-theme=dark] .form label{color:#b9c6d8}html[data-theme=dark] .form input,html[data-theme=dark] .form textarea,html[data-theme=dark] .form select,html[data-theme=dark] .theme-options button,html[data-theme=dark] .settings-trigger{background:#263449;color:#e7edf7;border-color:#41516a}html[data-theme=dark] .theme-options button[aria-pressed=true]{background:#473f77;border-color:#a294ff}html[data-theme=dark] .hero{background:linear-gradient(110deg,#403b78,#6256a0)}
@media(max-width:600px){.live-clock{gap:4px;padding:5px 7px;font-size:10px;flex-direction:column;line-height:1.4}.live-clock strong{font-size:10px}.top-right{gap:6px}.topbar{height:64px}.theme-options{gap:5px}.theme-options button{font-size:11px}}
[hidden]{display:none!important}.persian-date{border:1px solid #e5e5ed;border-radius:10px;padding:10px;display:flex;gap:6px}.persian-date select{min-width:0;flex:1}.detail-text{white-space:pre-wrap}dialog{max-height:90vh;overflow:auto}
