:root{--navy:#001C51;--navy-light:#1F3B67;--dark:#0D121B;--copper:#C96E47;--copper-dark:#A9522C;--copper-light:#F19C77;--gray:#676A82;--off:#F8F6F3;--gradient:linear-gradient(135deg,#A9522C,#C96E47 35%,#F19C77 55%,#C96E47 75%,#A9522C)}*{box-sizing:border-box}body{margin:0;font-family:Vazirmatn,Tahoma,sans-serif;color:var(--dark);background:var(--off)}button,input,textarea{font:inherit}.auth-page{min-height:100vh}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr}.auth-brand{background:radial-gradient(circle at 35% 35%,#1f3b67,#001c51 48%,#0d121b);padding:55px 8vw;color:#fff;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-brand:after{content:"";position:absolute;width:480px;height:480px;border:1px solid #f19c7733;border-radius:50%;right:-160px;bottom:-160px;box-shadow:0 0 0 80px #fff018,0 0 0 160px #fff010}.auth-brand>a{position:relative;z-index:1;background:#fff;border-radius:12px;padding:8px 15px;width:155px;height:70px;display:flex}.auth-brand img{width:100%;object-fit:contain}.auth-brand div{position:relative;z-index:1;max-width:560px}.auth-brand p{color:var(--copper-light);font-size:13px}.auth-brand h1{font-size:clamp(38px,5vw,65px);line-height:1.4;margin:12px 0}.auth-brand>span{font-size:12px;color:#fff7;position:relative;z-index:1}.auth-form{display:grid;place-items:center;padding:40px;background:#fff}.auth-form-inner{width:min(410px,100%)}.copper-line{display:block;width:60px;height:4px;background:var(--gradient);margin-bottom:25px}.auth-form h2{font-size:34px;color:var(--navy);margin:0}.auth-form p{color:#7b8290;font-size:14px;margin:8px 0 32px}.auth-form form{display:grid;gap:20px}.auth-form label,.admin-form label,.service-row label,.password-form label{display:grid;gap:7px;color:#475064;font-size:12px;font-weight:600}.auth-form input,.admin-form input,.admin-form textarea,.service-row input,.password-form input{border:1px solid #dfe2e8;background:#fafbfc;border-radius:6px;padding:13px 14px;outline:none;color:#172236;transition:.2s}.auth-form input:focus,.admin-form input:focus,.admin-form textarea:focus,.service-row input:focus,.password-form input:focus{border-color:var(--copper);box-shadow:0 0 0 3px #c96e4716;background:#fff}.auth-form button,.primary-btn{border:0;border-radius:6px;background:var(--gradient);color:#fff;padding:14px 22px;font-weight:700;cursor:pointer;box-shadow:0 8px 25px #a9522c2b}.auth-form button{margin-top:8px;display:flex;justify-content:center;gap:15px}.back-link{display:block;text-align:center;margin-top:28px;color:var(--gray);font-size:12px}.alert{padding:13px 16px;border-radius:6px;margin:0 0 22px;font-size:13px}.alert.error{background:#fff0ed;color:#a33325;border:1px solid #f2cbc3}.alert.success{background:#edf8f2;color:#22734b;border:1px solid #cce8d8}.dashboard-page{display:grid;grid-template-columns:245px 1fr;min-height:100vh}.sidebar{background:var(--dark);color:#fff;position:fixed;right:0;top:0;bottom:0;width:245px;padding:30px 22px;display:flex;flex-direction:column;z-index:5}.admin-logo{display:flex;width:125px;height:58px;background:#fff;border-radius:9px;padding:6px 10px;margin-bottom:50px}.admin-logo img{width:100%;object-fit:contain}.sidebar nav{display:grid;gap:7px}.sidebar nav a{color:#aab2c0;text-decoration:none;padding:11px 14px;border-radius:6px;font-size:13px}.sidebar nav a:hover,.sidebar nav a.active{background:#fff1;color:#fff;border-right:3px solid var(--copper)}.sidebar-foot{margin-top:auto;border-top:1px solid #fff1;padding-top:20px;display:grid}.sidebar-foot span{font-size:10px;color:#7f8999}.sidebar-foot strong{font-size:13px;margin:2px 0 10px}.sidebar-foot button{border:0;background:none;color:var(--copper-light);padding:0;cursor:pointer;font-size:12px}.dashboard{grid-column:2;padding:45px 55px;max-width:1500px;width:100%}.dash-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:35px}.dash-head p{font-size:12px;color:var(--copper-dark);margin:0}.dash-head h1{margin:2px 0;color:var(--navy);font-size:32px}.dash-head>a{border:1px solid #ccd1da;color:var(--navy);border-radius:6px;padding:9px 15px;font-size:12px;text-decoration:none}.panel{background:#fff;border:1px solid #e5e7eb;border-radius:9px;padding:28px 32px;margin-bottom:28px;box-shadow:0 7px 25px #001c5108;scroll-margin-top:20px}.panel-title{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eceef2;padding-bottom:20px;margin-bottom:26px}.panel-title>div{display:flex;align-items:center;gap:12px}.panel-title span{font:700 11px Arial;color:var(--copper);border:1px solid #c96e4744;border-radius:50%;width:31px;height:31px;display:grid;place-items:center}.panel-title h2{font-size:19px;margin:0;color:var(--navy)}.panel-title p{font-size:11px;color:#8b919c}.admin-form{display:grid}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px}.field-grid .wide{grid-column:1/-1}.admin-form textarea{resize:vertical;line-height:1.8}.primary-btn{justify-self:start;margin-top:22px}.service-admin-list{display:grid;gap:10px}.service-row{display:flex;align-items:end;gap:10px;background:#f8f9fb;padding:12px;border-radius:7px}.service-row label{min-width:70px}.service-row label:nth-of-type(2){min-width:150px}.service-row .grow{flex:1}.service-row .check{display:flex;align-items:center;flex-direction:row;min-width:auto;padding-bottom:11px}.service-row .check input{width:auto}.small-btn,.delete-btn{border:0;padding:11px 13px;border-radius:5px;cursor:pointer;font-size:11px}.small-btn{background:var(--navy);color:#fff}.delete-btn{background:#feecea;color:#a43a30}.new-service{margin-top:18px;border:1px dashed #c96e4777;background:#fffcfa}.new-service .primary-btn{margin:0;align-self:end;padding:11px 14px}.password-form{display:flex;align-items:end;gap:18px}.password-form label{width:280px}.password-form .primary-btn{margin:0}.dashboard a{color:inherit}
@media(max-width:1050px){.dashboard-page{grid-template-columns:190px 1fr}.sidebar{width:190px}.dashboard{padding:35px 25px}.service-row{display:grid;grid-template-columns:90px 1fr}.service-row .grow{grid-column:1/-1}.service-row label:nth-of-type(2){min-width:0}.password-form{flex-wrap:wrap}}@media(max-width:700px){.auth-shell{grid-template-columns:1fr}.auth-brand{min-height:280px;padding:30px}.auth-brand h1{font-size:30px}.auth-brand>span{display:none}.auth-form{padding:45px 25px}.dashboard-page{display:block}.sidebar{position:static;width:100%;height:auto;padding:15px 20px;flex-direction:row;align-items:center;justify-content:space-between}.admin-logo{margin:0;width:90px;height:45px}.sidebar nav{display:none}.sidebar-foot{margin:0;padding:0;border:0}.sidebar-foot span,.sidebar-foot strong{display:none}.dashboard{padding:25px 14px}.dash-head h1{font-size:25px}.panel{padding:22px 16px}.panel-title{display:block}.panel-title p{margin-bottom:0}.field-grid{grid-template-columns:1fr}.service-row{grid-template-columns:1fr}.service-row .grow{grid-column:auto}.password-form{display:grid}.password-form label{width:100%}}
.auth-brand:after{box-shadow:0 0 0 80px #ffffff18,0 0 0 160px #ffffff10}
