@font-face{font-family:Vazirmatn;src:url('../fonts/Vazirmatn.woff2') format('woff2');font-weight:100 900;font-display:swap}@font-face{font-family:Yekan;src:url('../fonts/Yekan.woff2') format('woff2');font-weight:400;font-display:swap}:root{--navy:#071c2d;--brand:#0b2a4a;--accent:#f97316;--ink:#112534;--muted:#5b6d7a;--bg:#f3f6f8;--line:#dce5ea;--white:#fff;--green:#23784a;--red:#b53b31}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.8 Vazirmatn,Tahoma,sans-serif;-webkit-font-smoothing:antialiased}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}.portal-shell{min-height:100vh;display:grid;grid-template-columns:255px 1fr}.portal-sidebar{position:fixed;right:0;top:0;bottom:0;width:255px;padding:24px 18px;background:var(--navy);color:#fff;display:flex;flex-direction:column;z-index:80}.portal-brand{display:flex;align-items:center;gap:11px;direction:ltr;padding:0 5px 22px;border-bottom:1px solid rgba(255,255,255,.1)}.portal-brand>span{width:42px;height:42px;border-radius:13px;background:#fff;color:var(--brand);display:grid;place-items:center;font-weight:900}.portal-brand div{display:flex;flex-direction:column;line-height:1.2}.portal-brand strong{font-size:13px}.portal-brand small{font-size:7px;letter-spacing:1.4px;color:#7e95a5}.portal-customer{display:flex;align-items:center;gap:10px;padding:20px 6px}.portal-customer>i{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#18384f;color:#fff;font-style:normal}.portal-customer div{display:flex;flex-direction:column}.portal-customer strong{font-size:11px}.portal-customer small{font-size:8px;color:#8499a7}.portal-sidebar nav{display:flex;flex-direction:column;gap:3px;overflow:auto;min-height:0}.portal-sidebar nav a{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:9px;color:#9bb0bd;font-size:11px}.portal-sidebar nav a:hover,.portal-sidebar nav a.active{background:rgba(255,255,255,.08);color:#fff}.portal-sidebar nav a>i{width:7px;height:7px;border:1px solid currentColor;border-radius:2px}.portal-sidebar nav a.active>i{background:var(--accent);border-color:var(--accent)}.portal-sidebar nav b{margin-right:auto;width:19px;height:19px;border-radius:50%;display:grid;place-items:center;background:var(--accent);font-size:8px}.portal-side-foot{margin-top:auto;border-top:1px solid rgba(255,255,255,.1);padding-top:12px}.portal-side-foot a,.portal-side-foot button{display:block;width:100%;border:0;background:none;color:#7f96a5;text-align:right;padding:7px 10px;font-size:9px}.portal-main{grid-column:2;min-width:0}.portal-top{height:75px;background:rgba(255,255,255,.94);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:50;backdrop-filter:blur(10px)}.portal-top>button{display:none}.portal-top>div{display:flex;flex-direction:column}.portal-top>div span{font-weight:750}.portal-top>div small{font-size:8px;color:var(--muted)}.portal-notification{font-size:10px;border:1px solid var(--line);padding:7px 11px;border-radius:9px;background:#fff}.portal-notification b{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--accent);color:#fff;margin-right:5px}.portal-content{max-width:1500px;margin:auto;padding:38px 30px 80px}.portal-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:28px}.portal-head>div>span{display:block;color:#b74400;font-size:8px;letter-spacing:1.5px;direction:ltr;text-align:right}.portal-head h1{font:400 34px/1.5 Yekan,Vazirmatn,sans-serif;margin:3px 0}.portal-head p{color:var(--muted);margin:0}.portal-primary,.portal-secondary{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--brand);border-radius:9px;padding:9px 16px;background:var(--brand);color:#fff;font-weight:750;cursor:pointer}.portal-secondary{background:#fff;color:var(--brand);border-color:var(--line)}.portal-card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 10px 35px rgba(11,42,74,.035)}.portal-card>header{display:flex;align-items:center;justify-content:space-between;padding:19px 22px;border-bottom:1px solid var(--line)}.portal-card>header h2{font-size:15px;margin:0}.portal-card>header a,.portal-card>header small{font-size:9px;color:var(--muted)}.portal-alert{padding:12px 16px;border-radius:10px;margin-bottom:18px;background:#eef3f6}.portal-alert.success{background:#eaf8f0;color:#256d45}.portal-alert.error{background:#fff0ef;color:#a9362e}.portal-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-bottom:20px}.portal-metrics>div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:19px;display:flex;flex-direction:column}.portal-metrics span{font-size:9px;color:var(--muted)}.portal-metrics strong{font-size:29px;color:var(--brand);line-height:1.5;margin-top:5px}.portal-metrics small{font-size:8px;color:var(--muted)}.portal-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.portal-list>a{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 20px;border-bottom:1px solid var(--line)}.portal-list>a:last-child{border:0}.portal-list>a>div{display:flex;flex-direction:column}.portal-list strong{font-size:12px}.portal-list small{font-size:8px;color:var(--muted)}.p-status{display:inline-flex;padding:4px 8px;border-radius:30px;background:#eef2f5;color:#4d6270;font-size:8px;white-space:nowrap}.p-status.large{padding:7px 12px;font-size:10px}.p-status.paid,.p-status.completed,.p-status.answered{background:#eaf8f0;color:var(--green)}.p-status.pending_review,.p-status.unpaid,.p-status.open,.p-status.awaiting_payment,.p-status.quote_sent{background:#fff4e8;color:#945516}.p-status.failed,.p-status.rejected,.p-status.cancelled{background:#fff0ef;color:var(--red)}.p-status.in_progress,.p-status.initial_paid,.p-status.in_review,.p-status.waiting_customer,.p-status.pending_review{background:#edf3fb;color:#315f8a}.notice-list>div{display:flex;gap:10px;padding:12px 20px;border-bottom:1px solid var(--line)}.notice-list i{width:7px;height:7px;border-radius:50%;background:#b9c5cc;margin-top:7px}.notice-list .unread i{background:var(--accent)}.notice-list span{display:flex;flex-direction:column}.notice-list strong{font-size:11px}.notice-list small{font-size:8px;color:var(--muted)}.quick-access{margin-top:25px}.quick-access h2{font-size:14px}.quick-access>div{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff}.quick-access a{display:flex;gap:10px;padding:17px;border-left:1px solid var(--line);font-size:11px}.quick-access a:last-child{border:0}.quick-access span{color:#b74400;font-size:8px}.portal-service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.portal-service-grid article{background:#fff;border:1px solid var(--line);border-radius:16px;padding:23px;display:flex;flex-direction:column;min-height:330px}.portal-service-grid article>span{width:45px;height:45px;border-radius:12px;background:#edf2f5;color:var(--brand);display:grid;place-items:center}.portal-service-grid small{color:#b74400;font-size:8px}.portal-service-grid h2{font:400 21px/1.6 Yekan,Vazirmatn;margin:8px 0}.portal-service-grid p{font-size:11px;color:var(--muted);line-height:1.9}.portal-service-grid strong{display:block;margin-top:15px;font-size:12px}.portal-service-grid footer{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:18px;border-top:1px solid var(--line)}.portal-service-grid footer>a:first-child{font-size:9px}.portal-service-grid .portal-primary{font-size:9px;padding:7px 10px}.portal-table{overflow:auto}.portal-table table{width:100%;border-collapse:collapse;min-width:750px}.portal-table th,.portal-table td{text-align:right;padding:13px 17px;border-bottom:1px solid var(--line);font-size:10px}.portal-table th{background:#f8fafb;color:#536674;font-size:9px}.portal-table tr:last-child td{border:0}.portal-table td strong,.portal-table td small{display:block}.portal-table td small{color:var(--muted);font-size:8px}.portal-table td>a{color:var(--brand);font-weight:700}.portal-empty{text-align:center;padding:35px;color:var(--muted);font-size:10px}.portal-form{padding:23px}.p-form-grid,.auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.portal-form label,.auth-form label,.simple-auth label{display:flex;flex-direction:column;gap:6px;font-size:10px;font-weight:650}.portal-form input,.portal-form select,.portal-form textarea,.auth-form input,.auth-form textarea,.simple-auth input{width:100%;border:1px solid #ccd8df;border-radius:8px;padding:9px 11px;outline:none;background:#fff;color:var(--ink)}.portal-form input:focus,.portal-form select:focus,.portal-form textarea:focus,.auth-form input:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(11,42,74,.07)}.portal-form label small,.auth-form label small{font-size:8px;color:var(--red)}.p-form-grid .full,.auth-full{grid-column:1/-1}.form-submit-row{display:flex;align-items:center;gap:20px;margin-top:20px}.form-submit-row p{font-size:9px;color:var(--muted)}.order-overview{display:grid;grid-template-columns:1fr 350px;gap:20px;margin-bottom:20px}.detail-list{display:grid;grid-template-columns:1fr 1fr;margin:0}.detail-list>div{padding:13px 20px;border-bottom:1px solid var(--line)}.detail-list dt{font-size:8px;color:var(--muted)}.detail-list dd{margin:3px 0;font-weight:700}.order-overview section>h3{padding:0 22px;margin-top:24px}.long-text{padding:0 22px;color:#455966;line-height:2}.quote-box>strong{display:block;font-size:27px;color:var(--brand);padding:25px 22px 10px}.quote-box dl{display:grid;grid-template-columns:1fr;margin:0}.quote-box dl>div{display:flex;justify-content:space-between;padding:9px 22px;border-bottom:1px solid var(--line)}.quote-box dt,.quote-box dd{font-size:9px;margin:0}.quote-box>p{padding:15px 22px;color:var(--muted);font-size:10px}.conversation form,.ticket-conversation form{border-top:1px solid var(--line);padding:20px}.conversation textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:10px}.messages{padding:20px}.messages>div,.messages>article{max-width:80%;padding:12px 15px;border-radius:13px;background:#edf2f5;margin-bottom:12px}.messages>.admin{margin-right:auto;background:#e9f1f7}.messages b,.messages header strong{font-size:9px}.messages p{margin:4px 0;font-size:11px}.messages small,.messages header small{font-size:7px;color:var(--muted)}.messages article header{display:flex;justify-content:space-between}.file-list{padding:10px 20px}.file-list a{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line);font-size:10px}.file-list small{color:var(--muted)}.head-actions{display:flex;gap:8px}.invoice-sheet{max-width:920px;margin:0 auto 20px;background:#fff;border:1px solid var(--line);border-radius:17px;padding:34px}.invoice-sheet>header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:22px}.invoice-sheet>header div{display:flex;flex-direction:column;direction:ltr}.invoice-sheet>header small{font-size:8px;color:var(--muted)}.invoice-parties{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:30px 0}.invoice-parties>div{display:flex;flex-direction:column}.invoice-parties small,.invoice-parties span{font-size:9px;color:var(--muted)}.invoice-sheet table{width:100%;border-collapse:collapse}.invoice-sheet th,.invoice-sheet td{text-align:right;padding:13px;border-bottom:1px solid var(--line)}.invoice-sheet th{font-size:9px;background:#f7f9fa}.invoice-sheet .total td{font-size:16px;font-weight:800;color:var(--brand)}.coupon-box{max-width:920px;margin:auto;padding:20px}.coupon-box form{display:flex;gap:8px}.coupon-box input{flex:1;border:1px solid var(--line);border-radius:8px;padding:9px}.payment-methods{display:grid;grid-template-columns:1fr 1fr;gap:20px}.payment-methods>section{padding:25px}.method-icon{width:48px;height:48px;border-radius:14px;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:900}.payment-methods h2{font:400 23px Yekan,Vazirmatn}.payment-methods>section>p{color:var(--muted);font-size:11px}.bank-card{background:linear-gradient(135deg,#0b2a4a,#123e66);color:#fff;border-radius:14px;padding:20px;margin:18px 0;display:flex;flex-direction:column;direction:ltr}.bank-card strong{font-size:20px;letter-spacing:2px}.bank-card span,.bank-card i{font-size:9px;color:#aec0cc}.transaction-detail{padding:25px}.transaction-message{padding:12px;background:#f7f9fa;border-radius:9px;margin:20px}.ticket-list>a{padding:18px 22px}.message-files a{display:block;font-size:8px;color:var(--brand)}.file-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:20px}.file-grid>a{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:11px;padding:13px}.file-grid>a>span{width:40px;height:40px;border-radius:10px;background:#edf2f5;display:grid;place-items:center;font-size:8px;font-weight:800}.file-grid div{display:flex;flex-direction:column;min-width:0}.file-grid strong{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-grid small{font-size:7px;color:var(--muted)}.notification-page>div>article{display:grid;grid-template-columns:12px 1fr auto;gap:12px;padding:17px 20px;border-bottom:1px solid var(--line)}.notification-page article>i{width:7px;height:7px;border-radius:50%;background:#bdc8ce;margin-top:7px}.notification-page article.unread>i{background:var(--accent)}.notification-page article strong{font-size:11px}.notification-page article p{margin:3px 0;color:var(--muted);font-size:10px}.notification-page article small{font-size:7px;color:var(--muted)}.notification-page article a{font-size:8px;color:var(--brand)}.notification-page button{border:0;background:none;color:var(--brand);font-size:8px}.profile-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:20px}.profile-grid .portal-form{display:flex;flex-direction:column;gap:15px}.security-note{margin:20px 23px;padding:15px;background:#f7f9fa;border-radius:9px}.security-note p{font-size:9px;color:var(--muted)}.auth-page{background:#fff}.customer-auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-visual{background:var(--navy);color:#fff;padding:50px 7vw;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative}.auth-visual:after{content:"";position:absolute;width:500px;height:500px;border:1px solid rgba(255,255,255,.08);border-radius:50%;left:-240px;bottom:-260px}.auth-visual>a{display:flex;align-items:center;gap:10px;direction:ltr}.auth-visual>a span,.simple-mark{width:43px;height:43px;border-radius:13px;background:#fff;color:var(--brand);display:grid;place-items:center;font-weight:900}.auth-visual>div{position:relative;z-index:2}.auth-visual>div small{color:var(--accent);font-size:8px;letter-spacing:2px}.auth-visual h1{font:400 clamp(38px,5vw,66px)/1.5 Yekan,Vazirmatn;margin:15px 0}.auth-visual p{color:#9eb1be;max-width:600px}.auth-form{display:grid;place-items:center;padding:35px}.auth-form>div{width:min(100%,520px)}.auth-form h2{font:400 30px Yekan,Vazirmatn;margin:0}.auth-form>div>p{color:var(--muted);margin:0 0 25px}.auth-form form{display:flex;flex-direction:column;gap:16px}.auth-grid{gap:14px}.auth-form label i{font-size:8px;color:var(--muted);font-style:normal}.auth-form .check{flex-direction:row;align-items:center}.auth-form .check input{width:auto}.auth-links{display:flex;justify-content:space-between;margin-top:18px;font-size:9px;color:var(--brand)}.auth-back{display:block;text-align:center;font-size:8px;color:var(--muted);margin-top:22px}.simple{display:grid;place-items:center;min-height:100vh}.simple-auth{width:min(430px,calc(100% - 30px));background:#fff;border:1px solid var(--line);border-radius:17px;padding:35px;box-shadow:0 20px 60px rgba(11,42,74,.08);display:flex;flex-direction:column;gap:15px}.simple-mark{background:var(--brand);color:#fff}.simple-auth h1{font:400 28px Yekan,Vazirmatn;margin:0}.simple-auth p{color:var(--muted)}.simple-auth form{display:flex;flex-direction:column;gap:14px}
@media(max-width:1100px){.portal-metrics{grid-template-columns:repeat(3,1fr)}.portal-service-grid{grid-template-columns:repeat(2,1fr)}.order-overview{grid-template-columns:1fr}.quick-access>div{grid-template-columns:repeat(3,1fr)}.file-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.portal-shell{display:block}.portal-sidebar{transform:translateX(110%);transition:transform .25s}.portal-sidebar.open{transform:none}.portal-main{width:100%}.portal-top{height:66px;padding:0 14px}.portal-top>button{display:block;border:1px solid var(--line);border-radius:8px;background:#fff;padding:6px 9px}.portal-content{padding:24px 14px 65px}.portal-head{align-items:flex-start;flex-direction:column}.portal-head h1{font-size:28px}.portal-head>a,.head-actions{width:100%}.head-actions>a{flex:1}.portal-metrics{grid-template-columns:1fr 1fr}.portal-grid,.profile-grid,.payment-methods{grid-template-columns:1fr}.portal-service-grid{grid-template-columns:1fr}.quick-access>div{grid-template-columns:1fr 1fr}.p-form-grid{grid-template-columns:1fr}.p-form-grid .full{grid-column:auto}.form-submit-row{align-items:stretch;flex-direction:column}.file-grid{grid-template-columns:1fr}.customer-auth{grid-template-columns:1fr}.auth-visual{display:none}.auth-form{min-height:100vh;padding:24px}.invoice-sheet{padding:20px}.invoice-parties{grid-template-columns:1fr}.detail-list{grid-template-columns:1fr}.notification-page>div>article{grid-template-columns:12px 1fr}.notification-page article>form{grid-column:2}.coupon-box form{flex-direction:column}}@media(max-width:430px){.portal-metrics{grid-template-columns:1fr}.quick-access>div{grid-template-columns:1fr}.auth-grid{grid-template-columns:1fr}.auth-full{grid-column:auto}.portal-head .portal-primary,.portal-head .portal-secondary{width:100%}}
.file-upload-box{margin-bottom:20px}.file-upload-box form{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:12px}
@media(max-width:760px){.file-upload-box form{grid-template-columns:1fr}}
.portal-sidebar nav b,.portal-notification b{background:#bd4700;color:#fff}.messages small,.messages header small{color:#4f6270}
.portal-top-actions{display:flex!important;flex-direction:row!important;align-items:center;gap:7px}.portal-top-actions>button{width:36px;height:36px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink)}html[data-theme=dark]{--ink:#edf3f6;--muted:#aab8c2;--bg:#0b151e;--line:#2a3b48;--white:#101e29;color-scheme:dark}html[data-theme=dark] body{background:var(--bg)}html[data-theme=dark] .portal-top{background:rgba(11,21,30,.94)}html[data-theme=dark] .portal-card,html[data-theme=dark] .portal-metrics>div,html[data-theme=dark] .quick-access>div,html[data-theme=dark] .portal-service-grid article,html[data-theme=dark] .invoice-sheet,html[data-theme=dark] .portal-notification,html[data-theme=dark] .portal-top-actions>button{background:var(--white);color:var(--ink)}html[data-theme=dark] .portal-form input,html[data-theme=dark] .portal-form select,html[data-theme=dark] .portal-form textarea,html[data-theme=dark] .coupon-box input,html[data-theme=dark] .conversation textarea{background:#0d1922;color:var(--ink);border-color:var(--line)}html[data-theme=dark] .portal-table th,html[data-theme=dark] .invoice-sheet th,html[data-theme=dark] .transaction-message,html[data-theme=dark] .security-note{background:#111f2a;color:var(--ink)}html[data-theme=dark] .messages>.customer{background:#142531}html[data-theme=dark] .messages>.admin{background:#102b3d}html[data-theme=dark] .file-grid>a>span,html[data-theme=dark] .portal-service-grid article>span{background:#172a38;color:#83bde4}html[data-theme=dark] .portal-primary{background:#174466;border-color:#245f8b}html[data-theme=dark] .portal-secondary{background:#101e29;color:#dce9f1;border-color:#334955}html[data-theme=dark] .bank-card{background:linear-gradient(135deg,#102e45,#174d73)}
html[data-theme=dark]{--brand:#63a6d3}html[data-theme=dark] .portal-brand>span{color:#0b2a4a}html[data-theme=dark] .portal-head>div>span,html[data-theme=dark] .quick-access span{color:#ff9b59}html[data-theme=dark] .long-text,html[data-theme=dark] .messages small,html[data-theme=dark] .messages header small{color:var(--muted)}html[data-theme=dark] .invoice-sheet .total td,html[data-theme=dark] .quote-box>strong{color:#8fc7ed}
.checkout-grid{display:grid;grid-template-columns:1fr 380px;gap:20px}.checkout-service{padding:28px}.checkout-service>span{width:55px;height:55px;border-radius:15px;background:#edf2f5;color:var(--brand);display:grid;place-items:center}.checkout-service>small{display:block;color:#b74400;margin-top:18px}.checkout-service h2{font:400 28px/1.6 Yekan,Vazirmatn;margin:5px 0}.checkout-service>p{color:var(--muted)}.checkout-service ul{padding-right:20px}.checkout-service li{margin:8px 0}.checkout-summary dl{margin:0;padding:10px 22px}.checkout-summary dl>div{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid var(--line)}.checkout-summary dt,.checkout-summary dd{font-size:10px;margin:0}.checkout-summary .total dd{font-size:20px;color:var(--brand);font-weight:800}.checkout-summary>p,.checkout-summary>form{margin:16px 22px}.checkout-summary>p{font-size:10px;color:var(--muted)}.checkout-summary button{width:100%}html[data-theme=dark] .checkout-service>span{background:#172a38;color:#8fc7ed}html[data-theme=dark] .checkout-summary .total dd{color:#8fc7ed}@media(max-width:850px){.checkout-grid{grid-template-columns:1fr}}
