* { box-sizing: border-box; }
:root { font-family: "Tajawal", Tahoma, "Segoe UI", sans-serif; color: #1b2938; background: #f5f8f9; --teal: #128d84; --line: #e5edef; --muted: #82919a; }
body { min-width: 320px; margin: 0; background: #f5f8f9; } button, input, select { font: inherit; } button { cursor: pointer; }
.app-sidebar { position: fixed; z-index: 10; top: 0; right: 0; display: flex; flex-direction: column; width: 260px; height: 100vh; padding: 28px 18px; color: #f2e9df; background: linear-gradient(165deg, #202733 0%, #16232e 62%, #9e481c 100%); transition: width .25s ease, padding .25s ease; }.sidebar-brand { display: flex; align-items: center; gap: 11px; padding: 0 9px 38px; color: inherit; text-decoration: none; }.sidebar-brand > img { display: block; width: 40px; height: 40px; border: 2px solid rgba(239, 145, 61, .72); border-radius: 12px; object-fit: cover; background: #fff; box-shadow: 0 5px 12px rgba(0, 0, 0, .2); }.sidebar-brand strong, .sidebar-brand small { display: block; }.sidebar-brand strong { color: #fff; font-size: 16px; }.sidebar-brand small { margin-top: 4px; color: #f1c9a8; font-size: 10px; font-weight: 400; }.sidebar-nav { display: grid; gap: 6px; }.sidebar-nav p { margin: 0 12px 11px; color: #d8a77d; font-size: 10px; font-weight: 700; }.sidebar-nav a { display: flex; align-items: center; gap: 13px; padding: 13px 14px; border-radius: 9px; color: #ddc7b4; text-decoration: none; font-size: 13px; }.sidebar-nav a:hover, .sidebar-nav a.active { color: #fff; background: rgba(224, 103, 27, .32); }.sidebar-nav a.active { box-shadow: inset -3px 0 #f09a43; }.sidebar-nav b { display: inline-grid; place-items: center; width: 21px; color: #e5a66f; font-size: 20px; font-weight: 400; }.sidebar-nav a.active b { color: #ffc078; }
.sidebar-toggle { margin: 0 0 12px auto; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; color: #fff; background: rgba(255,255,255,.08); font-size: 18px; cursor: pointer; }
.app-sidebar.collapsed { width: 90px; padding: 18px 10px; }
.app-sidebar.collapsed .sidebar-brand { padding-inline: 0; justify-content: center; }
.app-sidebar.collapsed .sidebar-brand strong,
.app-sidebar.collapsed .sidebar-brand small,
.app-sidebar.collapsed .sidebar-nav p,
.app-sidebar.collapsed .sidebar-nav span { display: none; }
.app-sidebar.collapsed .sidebar-nav a { justify-content: center; padding: 12px 8px; }
.app-sidebar.collapsed .sidebar-nav b { width: auto; }
body.sidebar-collapsed .settings-page { width: calc(100% - 150px); margin-right: 110px; }
.settings-page { width: min(1400px, calc(100% - 320px)); margin-right: 290px; padding: 42px 30px 60px; transition: width .25s ease, margin-right .25s ease; }.page-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 26px; }.eyebrow { margin: 0 0 8px; color: var(--teal); font-size: 11px; font-weight: 700; }h1 { margin: 0 0 9px; font-size: 28px; }.page-header p:last-child { margin: 0; color: var(--muted); font-size: 12px; }.primary-button { padding: 11px 16px; border: 0; border-radius: 7px; color: #fff; background: #117f79; font-size: 11px; box-shadow: 0 5px 12px rgba(17,127,121,.16); }
.page-heading { display: flex; align-items: center; justify-content: space-between; min-height: 118px; margin: -42px -30px 27px; padding: 20px 30px; border-bottom: 1px solid var(--line); background: #fff; }.breadcrumb { margin: 0 0 9px; color: #9aa7b0; font-size: 10px; }.breadcrumb span { padding: 0 7px; color: #c5cdd1; }.page-heading h1 { margin: 0 0 6px; font-size: 21px; letter-spacing: 0; }.page-heading h1 span { font-size: 19px; }.page-heading p:last-child { margin: 0; color: var(--muted); font-size: 11px; }.head-actions { display: flex; align-items: center; gap: 12px; }.back-button { padding: 10px 13px; border: 1px solid #dce8e9; border-radius: 7px; color: #586d78; background: #fff; font-size: 10px; }.heading-date { display: flex; align-items: center; gap: 11px; min-width: 220px; padding: 11px 14px; border: 1px solid #dceceb; border-radius: 12px; background: linear-gradient(135deg, #fff 0%, #f3fbfa 100%); box-shadow: 0 7px 18px rgba(18, 59, 69, .07); }.heading-date span, .heading-date strong { display: block; }.heading-date span { margin-bottom: 3px; color: #8a9aa1; font-size: 9px; font-weight: 500; }.heading-date strong { color: #1b2938; font-size: 11px; font-weight: 700; white-space: nowrap; }
.settings-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 18px; align-items: start; }.settings-tabs { display: grid; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }.settings-tab { display: flex; align-items: center; gap: 10px; padding: 12px 10px; border: 0; border-radius: 7px; color: #72828b; background: transparent; text-align: right; }.settings-tab:hover, .settings-tab.active { color: var(--teal); background: #eaf8f6; }.settings-tab b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; font-size: 16px; font-weight: 400; }.settings-tab span, .settings-tab strong, .settings-tab small { display: block; }.settings-tab strong { margin-bottom: 4px; font-size: 11px; }.settings-tab small { color: #a0adb3; font-size: 8px; }.settings-card { min-height: 390px; padding: 25px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }.section-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 25px; }.section-heading h2 { margin: 0 0 7px; font-size: 16px; }.section-heading p { margin: 0; color: var(--muted); font-size: 10px; }.account-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: 0 0 18px; }.edit-account-button, .save-account-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 8px; font-size: 10px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }.edit-account-button { border: 1px solid #cfeae4; color: #0d7a73; background: linear-gradient(180deg, #f8fffe 0%, #ebf9f7 100%); box-shadow: 0 8px 18px rgba(20, 130, 120, .12); }.save-account-button { border: 0; color: #fff; background: linear-gradient(180deg, #1b8c88 0%, #117f79 100%); box-shadow: 0 10px 20px rgba(17, 127, 121, .2); }.edit-account-button:hover, .save-account-button:hover { transform: translateY(-1px); }.edit-account-button:hover { box-shadow: 0 10px 20px rgba(20, 130, 120, .16); background: linear-gradient(180deg, #ffffff 0%, #edf9f7 100%); }.save-account-button:hover { box-shadow: 0 12px 22px rgba(17, 127, 121, .25); }.edit-account-button:focus-visible, .save-account-button:focus-visible { outline: 3px solid rgba(18, 141, 132, .18); outline-offset: 2px; }.profile-avatar { display: grid; place-items: center; width: 48px; height: 48px; overflow: hidden; border-radius: 50%; color: #fff; background: #df9360; font-size: 20px; font-weight: 700; }.profile-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.form-grid label, .appearance-option { color: #6f8089; font-size: 10px; }.form-grid input, .appearance-option select { display: block; width: 100%; margin-top: 7px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 6px; outline: 0; color: #344754; background: #fff; font-size: 11px; }.form-grid input:focus, .appearance-option select:focus { border-color: #65c5bc; }.form-divider { margin: 26px 0 20px; border-top: 1px solid #f0f3f4; }.settings-card h3 { margin: 0 0 16px; font-size: 13px; }.toggle-row, .permission-row, .appearance-option { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid #f0f3f4; }.toggle-row:last-child, .permission-row:last-child { border-bottom: 0; }.toggle-row strong, .toggle-row small, .permission-row strong, .permission-row small, .appearance-option strong, .appearance-option small { display: block; }.toggle-row strong, .permission-row strong, .appearance-option strong { margin-bottom: 5px; color: #344754; font-size: 11px; }.toggle-row small, .permission-row small, .appearance-option small { color: #9aa7ae; font-size: 9px; }.switch input { display: none; }.switch i { display: block; position: relative; width: 38px; height: 21px; border-radius: 20px; background: #dce5e7; }.switch i::after { position: absolute; top: 3px; right: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.15); content: ""; transition: .2s; }.switch input:checked + i { background: var(--teal); }.switch input:checked + i::after { right: 20px; }.permission-row em { padding: 5px 9px; border-radius: 4px; color: #209b81; background: #e3f7f0; font-size: 9px; font-style: normal; }.appearance-option select { width: 210px; margin-top: 0; }
@media (max-width: 900px) { .page-heading { margin-right: -15px; margin-left: -15px; padding-right: 15px; padding-left: 15px; } }
@media (max-width: 560px) { .page-heading { display: block; min-height: 0; margin: -25px -14px 25px; padding: 15px 14px; }.head-actions { flex-wrap: wrap; margin-top: 18px; }.heading-date { flex: 1 1 100%; min-width: 0; }.primary-button { margin-top: 0; } }
@media (max-width: 900px) { .app-sidebar { width: 74px; padding: 20px 10px; }.sidebar-brand { justify-content: center; padding: 0 0 28px; }.sidebar-brand strong, .sidebar-nav p, .sidebar-nav a span { display: none; }.sidebar-nav a { justify-content: center; padding: 13px 8px; }.sidebar-nav b { width: auto; }.settings-page { width: calc(100% - 100px); margin-right: 84px; padding-right: 15px; padding-left: 15px; }.settings-layout { grid-template-columns: 1fr; }.settings-tabs { grid-template-columns: repeat(4, 1fr); }.settings-tab { justify-content: center; }.settings-tab span { display: none; } }
@media (max-width: 560px) { .settings-page { width: calc(100% - 88px); margin-right: 74px; padding-top: 25px; padding-right: 14px; padding-left: 14px; }.page-header { display: block; }.primary-button { margin-top: 20px; }.settings-tabs { gap: 2px; padding: 5px; }.settings-tab { padding: 9px 5px; }.settings-card { padding: 17px; }.form-grid { grid-template-columns: 1fr; gap: 14px; }.appearance-option { align-items: flex-start; gap: 12px; }.appearance-option select { width: 150px; } }
.users-card { min-height: 390px; }.users-heading { align-items: center; margin-bottom: 24px; }.user-add-button { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border: 0; border-radius: 7px; color: #fff; background: #117f79; font-size: 11px; box-shadow: 0 5px 12px rgba(17,127,121,.16); }.user-add-button:hover { background: #0d6f69; }.user-add-button span { font-size: 17px; line-height: 12px; }.users-empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 260px; padding: 28px; border: 1px dashed #cce6e3; border-radius: 10px; background: linear-gradient(145deg, #fbfefe, #f2faf9); text-align: center; }.users-empty-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 16px; border-radius: 18px; color: #128d84; background: #dff4f1; font-size: 27px; }.users-empty-state h3 { margin: 0 0 8px; color: #263945; font-size: 15px; }.users-empty-state p { margin: 0; color: #82919a; font-size: 10px; }
@media (max-width: 560px) { .users-heading { display: block; }.user-add-button { margin-top: 16px; } }
.user-modal { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; padding: 20px; }.user-modal[hidden] { display: none; }.user-modal-backdrop { position: absolute; inset: 0; background: rgba(20, 35, 43, .48); backdrop-filter: blur(3px); }.user-modal-dialog { position: relative; width: min(620px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 27px; border: 1px solid #e1eeee; border-radius: 14px; background: #fff; box-shadow: 0 22px 60px rgba(22, 48, 57, .2); }.user-modal-header { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 24px; }.modal-eyebrow { display: block; margin-bottom: 7px; color: var(--teal); font-size: 10px; font-weight: 700; }.user-modal-header h2 { margin: 0 0 7px; color: #263945; font-size: 19px; }.user-modal-header p { margin: 0; color: var(--muted); font-size: 10px; }.modal-close-button { flex: 0 0 auto; width: 32px; height: 32px; border: 0; border-radius: 8px; color: #82919a; background: #f1f7f7; font-size: 22px; line-height: 1; }.modal-close-button:hover { color: #263945; background: #e3f2f0; }.user-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.user-form-grid label { color: #61747d; font-size: 10px; }.user-form-grid input, .user-form-grid select { display: block; width: 100%; margin-top: 7px; padding: 11px 12px; border: 1px solid #dfeaec; border-radius: 7px; outline: 0; color: #344754; background: #fff; font-size: 11px; }.user-form-grid input:focus, .user-form-grid select:focus { border-color: #65c5bc; box-shadow: 0 0 0 3px rgba(101, 197, 188, .12); }.user-permissions { margin-top: 23px; padding-top: 20px; border-top: 1px solid #edf2f3; }.user-permissions h3 { margin: 0 0 13px; color: #344754; font-size: 12px; }.permission-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.permission-options label { display: flex; align-items: center; gap: 8px; padding: 11px; border: 1px solid #e5edef; border-radius: 7px; color: #667982; background: #fbfdfd; font-size: 10px; }.permission-options label:has(input:checked) { border-color: #9bd8d2; color: #167d76; background: #effaf8; }.permission-options input { accent-color: #128d84; }.user-modal-actions { display: flex; justify-content: flex-start; gap: 9px; margin-top: 25px; padding-top: 18px; border-top: 1px solid #edf2f3; }.modal-cancel-button, .user-save-button { padding: 10px 17px; border-radius: 7px; font-size: 11px; }.modal-cancel-button { border: 1px solid #dfeaec; color: #647780; background: #fff; }.user-save-button { border: 0; color: #fff; background: #117f79; box-shadow: 0 5px 12px rgba(17,127,121,.16); }.users-list { display: grid; gap: 10px; }.user-list-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px; border: 1px solid #e3eeee; border-radius: 9px; background: #fbfefe; }.user-list-details strong, .user-list-details small { display: block; }.user-list-details strong { margin-bottom: 5px; color: #304650; font-size: 12px; }.user-list-details small { color: #82919a; font-size: 9px; }.user-list-role { padding: 6px 10px; border-radius: 20px; color: #177c75; background: #e5f6f3; font-size: 9px; white-space: nowrap; }
.modal-open { overflow: hidden; }
.user-password-section { margin-top: 22px; padding-top: 18px; border-top: 1px solid #edf2f3; }.user-password-section h3 { margin: 0 0 5px; color: #344754; font-size: 12px; }.user-password-section p { margin: 0 0 14px; color: #82919a; font-size: 9px; }.user-password-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.user-password-grid label { color: #61747d; font-size: 10px; }.user-password-grid input { display: block; width: 100%; margin-top: 7px; padding: 11px 12px; border: 1px solid #dfeaec; border-radius: 7px; outline: 0; color: #344754; background: #fff; font-size: 11px; }.user-password-grid input:focus { border-color: #65c5bc; box-shadow: 0 0 0 3px rgba(101, 197, 188, .12); }
@media (max-width: 560px) { .user-password-grid { grid-template-columns: 1fr; } }
.user-password-grid input[readonly] { color: #567078; background: #eef6f5; cursor: not-allowed; }
@media (max-width: 560px) { .user-modal-dialog { padding: 20px 17px; }.user-form-grid, .permission-options { grid-template-columns: 1fr; }.user-modal-actions { flex-direction: column; }.modal-cancel-button, .user-save-button { width: 100%; }.user-list-item { align-items: flex-start; flex-direction: column; gap: 10px; } }
.users-table-wrap { overflow-x: auto; }.users-table { width: 100%; min-width: 900px; border-collapse: collapse; }.users-table th { padding: 0 10px 13px; color: #9aa7ae; text-align: right; font-size: 9px; font-weight: 500; white-space: nowrap; }.users-table td { padding: 13px 10px; border-top: 1px solid #edf2f3; color: #61747d; font-size: 10px; white-space: nowrap; }.users-table td:first-child { color: #176f6a; font-weight: 700; }.users-table tbody tr:hover { background: #f7fbfb; }.user-actions { display: flex; align-items: center; gap: 6px; }.user-action-button { padding: 6px 8px; border: 1px solid #dcebea; border-radius: 6px; color: #39716e; background: #f7fbfb; font: inherit; cursor: pointer; }.user-action-button:hover { border-color: #9ed8d2; background: #eaf7f5; }.user-action-button[data-user-action="delete"] { color: #b45b5b; }.user-action-button[data-user-action="delete"]:hover { border-color: #e7bcbc; background: #fff5f5; }
.users-table-empty { padding: 34px 12px !important; color: #82919a !important; text-align: center; font-weight: 500 !important; }
