.form-page-wrap{max-width:none;width:100%}.form-panel{width:100%}.form-panel .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-panel textarea.form-control{min-height:300px;resize:vertical}.form-panel .field-group:has(textarea[name=body]),.form-panel .field-group:has(input[type=file]){grid-column:1 / -1}.form-panel .upload-box{min-height:300px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;border:2px dashed #cbd9e1;background:linear-gradient(145deg,#fbfdfe,#f3f8fa);transition:.2s;position:relative}.form-panel .upload-box.dragover{border-color:var(--gold);background:var(--gold-soft);box-shadow:0 0 0 4px rgba(234,179,79,.12)}.form-panel .upload-box:before{content:'＋';display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:var(--gold-soft);color:#a16e0e;font-size:2rem;line-height:1;margin-bottom:10px}.form-panel .upload-box label{font-size:.85rem}.form-panel .upload-box input[type=file]{position:absolute;inset:0;width:100%;height:100%;max-width:none;opacity:0;cursor:pointer;border:0;padding:0;z-index:2}.form-panel .upload-box:after{content:'افزودن پیوست\A فایل را اینجا رها کنید یا برای انتخاب کلیک کنید';white-space:pre;display:block;color:var(--muted);font-size:.75rem;line-height:2;margin-top:3px}.form-panel .upload-box.file-selected:after{content:'فایل انتخاب شد';color:#257554;font-weight:700}
@media(max-width:820px){.form-panel .form-grid{grid-template-columns:1fr}.form-panel .field-subject,.form-panel .field-recipient,.form-panel .field-body,.form-panel .field-attachment{grid-column:1}.form-panel .upload-box{min-height:230px}}
.topbar-logout{margin:0}.topbar-logout button{border:1px solid #edc4c8;background:#fff;color:var(--red);border-radius:9px;padding:7px 13px;font-size:.72rem;font-weight:700}.topbar-logout button:hover{background:var(--red-soft)}
@media(max-width:820px){.topbar-logout{display:block}.topbar-logout button{padding:6px 10px}}
.sidebar{overflow-y:auto;overflow-x:hidden}.side-nav{flex:0 0 auto}.topbar-logout button{background:linear-gradient(135deg,#c65a62,#a93e49);border:0;color:#fff;border-radius:10px;padding:8px 15px;box-shadow:0 5px 12px rgba(198,90,98,.22)}.topbar-logout button span{font-size:1rem;margin-left:4px}.header-notifications{position:relative}.notification-trigger{position:relative;border:1px solid #e8d49d;background:var(--gold-soft);color:#a16e0e;width:38px;height:38px;border-radius:11px;font-size:1.35rem;line-height:1}.notification-trigger b{position:absolute;top:-7px;left:-7px;min-width:19px;height:19px;border-radius:12px;background:var(--red);color:#fff;font-size:.62rem;display:grid;place-items:center;border:2px solid #fff}.notification-popover{display:none;position:absolute;top:47px;right:0;width:330px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 18px 45px rgba(16,42,67,.18);z-index:80;overflow:hidden}.notification-popover.open{display:block}.notification-popover-head{display:flex;justify-content:space-between;padding:15px 16px;border-bottom:1px solid var(--line)}.notification-popover-head strong{font-size:.82rem}.notification-popover-head span{font-size:.65rem;color:var(--muted)}.notification-preview{display:flex;gap:9px;padding:12px 15px;border-bottom:1px solid #f0f3f5}.notification-preview:hover{background:#f8fafb}.notification-preview i{width:7px;height:7px;border-radius:50%;background:#cfd9de;margin-top:8px;flex:0 0 auto}.notification-preview.unread i{background:var(--gold)}.notification-preview strong,.notification-preview small{display:block}.notification-preview strong{font-size:.73rem}.notification-preview small{font-size:.65rem;color:var(--muted);margin-top:2px}.notification-empty{padding:25px 15px;text-align:center;color:var(--muted);font-size:.72rem}.notification-all{display:block;padding:12px 15px;text-align:center;color:#397299;font-size:.7rem;font-weight:700;background:#fbfcfd}@media(max-width:520px){.notification-popover{position:fixed;top:75px;right:15px;left:15px;width:auto}.secure-pill,.date-label{display:none}}
