@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100..900&display=swap');

:root {
    --app-primary: #0f172a;
    --app-primary-2: #111827;
    --app-accent: #2563eb;
    --app-cyan: #06b6d4;
    --app-bg: #f8fafc;
    --app-surface: #ffffff;
    --app-border: #e2e8f0;
    --app-text: #1e293b;
    --app-muted: #64748b;
    --app-success: #16a34a;
    --app-warning: #f59e0b;
    --app-danger: #dc2626;
    --app-radius: 18px;
    --app-shadow: 0 14px 34px rgba(15, 23, 42, .07);

    --bs-font-sans-serif: 'Vazirmatn', Tahoma, Arial, sans-serif;
}

* {
    letter-spacing: -.01em;
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
}

html,
body {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    direction: rtl;
    text-align: right;
}

body {
    min-height: 100vh;
    background: var(--app-bg);
    color: var(--app-text);
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
}

body,
button,
input,
textarea,
select,
option,
label,
table,
th,
td,
a,
p,
span,
small,
strong,
b,
h1,
h2,
h3,
h4,
h5,
h6,
.navbar,
.nav-link,
.dropdown-menu,
.dropdown-item,
.card,
.card-header,
.card-body,
.card-footer,
.btn,
.form-control,
.form-select,
.form-label,
.input-group-text,
.modal,
.modal-title,
.modal-body,
.alert,
.badge,
.table,
.pagination,
.page-link,
.breadcrumb,
.breadcrumb-item,
.list-group,
.list-group-item,
.tooltip,
.popover,
.offcanvas {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
}

a {
    text-decoration: none;
}

.app-shell {
    min-height: 100vh;
    display: flex;
}

.app-sidebar {
    width: 284px;
    min-height: 100vh;
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, var(--app-primary), var(--app-primary-2));
    color: #fff;
    padding: 22px 18px;
    flex: 0 0 284px;
}

.app-main {
    min-width: 0;
    flex: 1;
}

.app-content {
    padding: 28px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--app-accent), var(--app-cyan));
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .28);
}

.sidebar-title {
    color: #fff;
    font-weight: 800;
}

.sidebar-subtitle {
    color: #cbd5e1;
    font-size: .82rem;
}

.sidebar-section-title {
    color: #94a3b8;
    font-size: .74rem;
    font-weight: 700;
    margin: 22px 10px 10px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 14px;
    color: #dbeafe;
    margin-bottom: 6px;
    border: 1px solid transparent;
    transition: all .18s ease;
}

.sidebar-link i {
    width: 22px;
    text-align: center;
    color: #93c5fd;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: #fff;
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .10);
}

.sidebar-link.active {
    box-shadow: inset 0 0 0 1px rgba(147, 197, 253, .34);
}

.sidebar-user-card {
    margin-top: 24px;
    border-radius: 18px;
    padding: 14px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .10);
}

.sidebar-brand {
    margin-bottom: 12px;
}

.sidebar-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .08);
    color: #dbeafe;
    font-size: .8rem;
    font-weight: 700;
}

.app-topbar {
    height: 76px;
    background: var(--app-surface);
    border-bottom: 1px solid var(--app-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 1010;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: var(--app-accent);
    font-weight: 800;
}

.page-header {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    padding: 22px;
    box-shadow: var(--app-shadow);
    margin-bottom: 22px;
}

.page-header h1,
.page-header h2,
.page-header h3,
.page-header h4 {
    color: var(--app-primary);
}

.page-header p,
.text-muted {
    color: var(--app-muted) !important;
}

.card {
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    box-shadow: var(--app-shadow);
    background: var(--app-surface);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--app-border);
    padding: 18px 20px;
    border-radius: var(--app-radius) var(--app-radius) 0 0 !important;
}

.stat-card {
    overflow: hidden;
    position: relative;
}

.stat-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #eff6ff;
    color: var(--app-accent);
    font-size: 1.45rem;
}

.form-label {
    color: #334155;
}

.form-control,
.form-select {
    border-radius: 14px;
    border-color: #dbe3ef;
    padding: 11px 13px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--app-accent);
    box-shadow: 0 0 0 .22rem rgba(37, 99, 235, .12);
}

.btn {
    border-radius: 13px;
    padding: 9px 15px;
    font-weight: 700;
}

.btn-primary {
    background: var(--app-primary);
    border-color: var(--app-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background: #020617;
    border-color: #020617;
}

.btn-outline-primary {
    color: var(--app-accent);
    border-color: #bfdbfe;
}

.btn-outline-primary:hover {
    background: var(--app-accent);
    border-color: var(--app-accent);
}

.table {
    margin-bottom: 0;
}

.table thead th {
    color: #475569;
    font-size: .84rem;
    font-weight: 800;
    background: #f8fafc;
    border-bottom: 1px solid var(--app-border);
    padding: 14px 12px;
    white-space: nowrap;
}

.table tbody td {
    padding: 15px 12px;
    vertical-align: middle;
    border-color: #edf2f7;
}

.table-hover tbody tr:hover {
    --bs-table-hover-bg: #f8fafc;
}

.badge {
    border-radius: 999px;
    padding: .52rem .72rem;
    font-weight: 800;
}

.badge-status-open {
    background: #dbeafe;
    color: #1d4ed8;
}

.badge-status-in_progress {
    background: #cffafe;
    color: #0e7490;
}

.badge-status-waiting_customer {
    background: #fef3c7;
    color: #b45309;
}

.badge-status-answered {
    background: #dcfce7;
    color: #15803d;
}

.badge-status-closed {
    background: #e2e8f0;
    color: #475569;
}

.badge-status-pending {
    background: #fef3c7;
    color: #b45309;
}

.badge-status-task-pending {
    background: #fee2e2;
    color: #b91c1c;
}

.badge-status-task-in_progress {
    background: #cffafe;
    color: #0e7490;
}

.badge-status-task-done {
    background: #dcfce7;
    color: #15803d;
}

.badge-status-approved {
    background: #dcfce7;
    color: #15803d;
}

.badge-status-rejected {
    background: #fee2e2;
    color: #b91c1c;
}

.badge-priority-high {
    background: #fee2e2;
    color: #b91c1c;
}

.badge-priority-medium {
    background: #fef3c7;
    color: #b45309;
}

.badge-priority-low {
    background: #dcfce7;
    color: #15803d;
}

.empty-state {
    padding: 42px 24px;
    text-align: center;
    color: var(--app-muted);
}

.empty-state-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: #eff6ff;
    color: var(--app-accent);
    font-size: 1.7rem;
    margin-bottom: 14px;
}

.alert {
    border: 0;
    border-radius: 16px;
    box-shadow: var(--app-shadow);
}

.pagination {
    gap: 6px;
}

.page-link {
    border-radius: 12px !important;
    border-color: var(--app-border);
    color: var(--app-primary);
}

.active > .page-link,
.page-link.active {
    background: var(--app-primary);
    border-color: var(--app-primary);
}

.jalali-date {
    direction: ltr;
    text-align: right;
}

.login-hero {
    background: linear-gradient(135deg, var(--app-primary), #1e3a8a);
    border-radius: 28px;
    color: #fff;
    min-height: 520px;
}

.ticket-thread {
    position: relative;
}

.ticket-message {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.ticket-message-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--app-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.ticket-message-body {
    flex: 1;
    border: 1px solid var(--app-border);
    border-radius: 18px;
    padding: 16px;
    background: #f8fafc;
}

.ticket-message.internal .ticket-message-body {
    background: #fffbeb;
    border-color: #fde68a;
}

.offcanvas.app-mobile-sidebar {
    background: var(--app-primary);
    color: #fff;
}

@media (max-width: 991.98px) {
    .app-shell {
        display: block;
    }

    .app-sidebar {
        display: none;
    }

    .app-content {
        padding: 18px;
    }

    .app-topbar {
        padding: 0 16px;
    }

    .page-header {
        padding: 18px;
    }

    .personnel-hero,
    .permission-grid,
    .admin-focus-strip,
    .admin-workbench,
    .admin-summary-grid {
        grid-template-columns: 1fr;
    }

    .admin-glance-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.login-page {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, .14), transparent 32%),
        linear-gradient(135deg, #f8fafc, #eef2ff);
}

.login-box {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 38px 34px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .10);
}

.login-logo {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 900;
}

.login-box .form-label {
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
}

.login-box .form-control {
    height: 50px;
    border-radius: 14px;
    border-color: #dbe3ef;
    background: #f8fafc;
}

.login-box .form-control:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 .22rem rgba(37, 99, 235, .12);
}

.login-box .form-check-input {
    border-radius: 6px;
}

.login-box .btn-primary {
    border-radius: 14px;
    background: #0f172a;
    border-color: #0f172a;
    font-weight: 800;
}

.login-box .btn-primary:hover {
    background: #2563eb;
    border-color: #2563eb;
}
.task-note-timeline {
    position: relative;
}

.task-note-card {
    border: 1px solid var(--app-border);
    border-radius: 18px;
    padding: 16px;
    background: #f8fafc;
    margin-bottom: 14px;
}

.personnel-page-header {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, .15), transparent 32%),
        linear-gradient(135deg, #fff, #f8fbff 58%, #eef6ff);
    border-color: #dbeafe;
}

.personnel-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #2563eb;
    font-size: .78rem;
    font-weight: 900;
}

.personnel-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: 16px;
    padding: 20px;
    border: 1px solid #dbeafe;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(6, 182, 212, .12), transparent 26%),
        linear-gradient(135deg, #fff, #f8fbff);
}

.personnel-hint-list {
    display: grid;
    gap: 10px;
}

.personnel-hint-list > div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid #e0ecff;
    color: #334155;
    font-size: .92rem;
    font-weight: 700;
}

.personnel-hint-list i {
    color: #2563eb;
}

.personnel-stat-card {
    height: 100%;
    padding: 18px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff, #f8fafc);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
}

.personnel-stat-card span {
    display: block;
    color: #64748b;
    font-size: .84rem;
    margin-bottom: 8px;
}

.personnel-stat-card strong {
    font-size: 2rem;
    color: #0f172a;
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.permission-group-card {
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff, #fbfdff);
}

.permission-group-head {
    margin-bottom: 12px;
}

.permission-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: .18s ease;
}

.permission-check:hover {
    border-color: #bfdbfe;
    background: #f8fbff;
}

.permission-check .form-check-input {
    flex: 0 0 auto;
}

.project-access-panel {
    padding: 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    background: #fbfdff;
}

.admin-focus-strip {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 16px;
}

.admin-focus-main,
.admin-summary-panel,
.admin-workbench-column {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .05);
}

.admin-focus-main {
    padding: 22px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, .12), transparent 26%),
        linear-gradient(135deg, #fff, #f8fbff);
}

.admin-focus-kicker,
.admin-section-kicker {
    display: inline-flex;
    color: #2563eb;
    font-size: .78rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.admin-focus-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.admin-focus-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    border: 1px solid #dbeafe;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .08);
}

.admin-focus-chip--danger {
    border-color: #fecaca;
    background: #fff5f5;
}

.admin-focus-chip--warning {
    border-color: #fde68a;
    background: #fffbeb;
}

.admin-focus-chip--info {
    border-color: #bae6fd;
    background: #f0f9ff;
}

.admin-focus-chip strong {
    color: #2563eb;
}

.admin-alert-stack {
    display: grid;
    gap: 12px;
}

.admin-alert-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .05);
}

.admin-alert-item--danger {
    border-color: #fecaca;
    background: linear-gradient(135deg, #fff, #fff5f5);
}

.admin-alert-item--warning {
    border-color: #fde68a;
    background: linear-gradient(135deg, #fff, #fffbeb);
}

.admin-alert-item--info {
    border-color: #bae6fd;
    background: linear-gradient(135deg, #fff, #f0f9ff);
}

.admin-alert-title-row,
.admin-glance-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.admin-alert-item strong,
.admin-compact-item strong {
    display: block;
    font-size: .95rem;
}

.admin-alert-item small,
.admin-compact-item small,
.admin-summary-card small {
    display: block;
    color: #64748b;
    margin-top: 4px;
    line-height: 1.8;
}

.admin-alert-item.is-empty {
    align-items: center;
}

.admin-glance-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-glance-card {
    display: block;
    padding: 18px 20px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .05);
}

.admin-glance-card--danger {
    border-color: #fecaca;
    background: linear-gradient(135deg, #fff, #fff5f5);
}

.admin-glance-card--warning {
    border-color: #fde68a;
    background: linear-gradient(135deg, #fff, #fffbeb);
}

.admin-glance-card--info {
    border-color: #bae6fd;
    background: linear-gradient(135deg, #fff, #f0f9ff);
}

.admin-glance-label,
.admin-summary-card span {
    display: block;
    color: #64748b;
    font-size: .84rem;
    margin-bottom: 10px;
}

.admin-glance-topline .admin-glance-label {
    margin-bottom: 0;
}

.admin-glance-value,
.admin-summary-card strong {
    display: block;
    font-size: 2rem;
    color: #0f172a;
    line-height: 1;
}

.admin-glance-card small {
    display: block;
    margin-top: 8px;
    color: #94a3b8;
}

.admin-severity-pill {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 900;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
}

.admin-severity-pill--danger {
    border-color: #fecaca;
    background: #fff1f2;
    color: #b91c1c;
}

.admin-severity-pill--warning {
    border-color: #fde68a;
    background: #fffbeb;
    color: #b45309;
}

.admin-severity-pill--info {
    border-color: #bae6fd;
    background: #eff6ff;
    color: #0369a1;
}

.admin-severity-pill--neutral {
    border-color: #e2e8f0;
    background: #f8fafc;
    color: #475569;
}

.admin-workbench {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.admin-workbench-column {
    padding: 18px;
}

.admin-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-section-head h5 {
    font-weight: 900;
}

.admin-compact-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.admin-compact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    color: #0f172a;
    transition: .18s ease;
}

.admin-compact-item:hover {
    border-color: #bfdbfe;
    background: #f8fbff;
}

.admin-compact-empty {
    padding: 24px 16px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    text-align: center;
}

.admin-time-pill,
.admin-amount-pill {
    white-space: nowrap;
    padding: 7px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: .78rem;
    font-weight: 800;
}

.admin-summary-panel {
    padding: 18px;
}

.admin-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-summary-card {
    padding: 16px 18px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
}

.sidebar-menu-toggle {
    width: 100%;
    background: transparent;
    text-align: right;
}

.sidebar-menu-toggle .bi-chevron-down {
    transition: transform .18s ease;
}

.sidebar-menu-toggle:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
}

.sidebar-submenu {
    margin: -2px 14px 10px 0;
    padding: 8px 12px 6px 0;
    border-right: 1px solid rgba(255, 255, 255, .14);
}

.sidebar-sublink {
    display: block;
    color: #cbd5e1;
    padding: 7px 12px;
    margin-bottom: 3px;
    border-radius: 12px;
    font-size: .88rem;
    transition: all .18s ease;
}

.sidebar-sublink:hover,
.sidebar-sublink.active {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.schedule-calendar-card {
    overflow: hidden;
}

.schedule-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.schedule-calendar-weekdays {
    background: #f8fafc;
    border-bottom: 1px solid var(--app-border);
    color: #64748b;
    font-weight: 800;
    text-align: center;
}

.schedule-calendar-weekdays > div {
    padding: 12px 8px;
}

.schedule-calendar-day {
    min-height: 132px;
    padding: 10px;
    border-left: 1px solid var(--app-border);
    border-bottom: 1px solid var(--app-border);
    background: #fff;
}

.schedule-calendar-day.is-empty {
    background: #f8fafc;
}

.schedule-calendar-day.is-today {
    background: #eff6ff;
    box-shadow: inset 0 0 0 2px #2563eb;
}

.schedule-calendar-day-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-weight: 900;
    text-decoration: none;
}

.schedule-calendar-day-number:hover {
    background: #dbeafe;
    color: #1d4ed8;
}

.schedule-calendar-events {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.schedule-calendar-event {
    display: block;
    padding: 6px 8px;
    border-right: 4px solid #0d6efd;
    border-radius: 10px;
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
    font-size: .78rem;
}

.schedule-calendar-event:hover {
    background: #e0f2fe;
}

.schedule-calendar-event .event-time {
    color: #64748b;
    margin-left: 6px;
    font-weight: 800;
}

.jalali-picker-popover {
    position: absolute;
    z-index: 2000;
    width: 292px;
    direction: rtl;
    display: none;
    padding: 12px;
    border: 1px solid var(--app-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .18);
}

.jdp-head,
.jdp-weekdays,
.jdp-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    align-items: center;
    text-align: center;
}

.jdp-head {
    grid-template-columns: 38px 1fr 38px;
    margin-bottom: 10px;
}

.jdp-head button,
.jdp-days button {
    border: 0;
    border-radius: 10px;
    background: #f1f5f9;
    color: #0f172a;
    padding: 7px;
}

.jdp-days button:hover,
.jdp-head button:hover {
    background: #2563eb;
    color: #fff;
}

.jdp-weekdays {
    color: #64748b;
    font-size: .78rem;
    font-weight: 800;
    margin-bottom: 6px;
}

@media (max-width: 768px) {
    .schedule-calendar-grid {
        min-width: 760px;
    }

    .schedule-calendar-card {
        overflow-x: auto;
    }
}
.global-search{position:relative;min-width:320px;max-width:420px;width:32vw}.global-search-results{position:absolute;top:calc(100% + .5rem);right:0;left:0;background:#fff;border:1px solid #e9ecef;border-radius:1rem;z-index:1050;max-height:420px;overflow:auto}.search-group-title{padding:.75rem 1rem .25rem;font-size:.78rem;font-weight:700;color:#6c757d}.search-result-item{display:flex;justify-content:space-between;gap:.75rem;padding:.65rem 1rem;color:#212529;text-decoration:none}.search-result-item:hover{background:#f8f9fa}.search-result-item small{color:#6c757d}.attention-card{border:1px solid #ffe0a3;background:#fffaf0}.mobile-card-list{display:none}@media (max-width: 767.98px){.responsive-table table{display:none}.mobile-card-list{display:block}.mobile-list-card{border:1px solid #edf0f3;border-radius:1rem;padding:1rem;margin-bottom:.75rem;background:#fff}}
.simple-form .more-options{border:1px dashed #d9e2ec;border-radius:1rem;padding:1rem;background:#fbfdff}.simple-form summary,.more-options summary{cursor:pointer}.kanban-task{cursor:grab}.kanban-task:active{cursor:grabbing}
.seo-page .fw-black{font-weight:900}.seo-stat{background:linear-gradient(135deg,#fff,#eef4ff);border:1px solid #e2e8f0;border-radius:20px;padding:18px;box-shadow:0 12px 30px rgba(15,23,42,.06)}.seo-stat span{display:block;color:#64748b;font-size:.85rem}.seo-stat b{font-size:2rem;color:#2563eb}.calendar-toolbar{display:flex;align-items:center;gap:12px;background:#fff;border-radius:20px;padding:14px;box-shadow:0 12px 30px rgba(15,23,42,.06);margin-bottom:14px}.calendar-toolbar h3{margin:0 auto;font-weight:900}.seo-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}.seo-day,.seo-weekday{background:#fff;border-radius:18px;min-height:130px;padding:10px;border:1px solid #e2e8f0}.seo-weekday{min-height:auto;text-align:center;font-weight:800;background:#eff6ff}.seo-day.friday{background:#fff7ed}.seo-day-num{font-weight:900;color:#0f172a}.seo-event{display:block;border:0;border-right:4px solid var(--c,#2563eb);background:#f8fafc;border-radius:12px;padding:7px;margin-top:7px;text-align:right;width:100%;font-size:.82rem;cursor:grab}.seo-event small{display:block;color:#64748b}.kanban-board{display:flex;gap:14px;overflow-x:auto;padding-bottom:12px}.kanban-col{min-width:290px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;padding:12px}.kanban-col h6{border-right:5px solid var(--c);padding-right:8px;font-weight:900}.kanban-card{background:#fff;border-radius:16px;padding:12px;margin:10px 0;box-shadow:0 10px 25px rgba(15,23,42,.08);cursor:grab}.kanban-card small{display:block;color:#64748b;margin-top:6px}.public-calendar{background:#f8fafc;color:#0f172a}.public-hero{background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;border-radius:28px;padding:32px;box-shadow:0 20px 50px rgba(37,99,235,.25)}.public-content-card{background:#fff;border-radius:24px;padding:20px;box-shadow:0 12px 35px rgba(15,23,42,.08);height:100%}.public-content-card h2{font-size:1.15rem;font-weight:900;margin:16px 0 10px}@media(max-width:768px){.seo-calendar-grid{grid-template-columns:1fr}.seo-weekday{display:none}.seo-day{min-height:auto}.calendar-toolbar{flex-wrap:wrap}.calendar-toolbar h3{width:100%;text-align:center;order:-1}}

.seo-modal-dialog{max-width:900px}.seo-content-modal{overflow:hidden;border:0;border-radius:28px}.seo-modal-header{align-items:flex-start;background:linear-gradient(135deg,#eff6ff,#f5f3ff);border:0;padding:22px 24px}.seo-modal-kicker{display:inline-flex;align-items:center;gap:6px;margin-bottom:6px;color:#2563eb;font-size:.78rem;font-weight:900}.seo-content-modal .modal-body{background:#f8fafc;padding:18px}.seo-form-section{background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:16px;margin-bottom:14px;box-shadow:0 10px 24px rgba(15,23,42,.04)}.seo-form-section.is-primary{border-color:#bfdbfe;box-shadow:0 16px 34px rgba(37,99,235,.08)}.seo-section-title{display:flex;align-items:center;gap:8px;margin-bottom:14px;color:#0f172a;font-weight:900}.seo-section-title i{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:12px;background:#eff6ff;color:#2563eb}.seo-content-modal .form-label{font-size:.82rem;font-weight:800;color:#475569}.seo-content-modal .form-control,.seo-content-modal .form-select{border-radius:14px;border-color:#dbe4ef;background-color:#fff}.seo-content-modal .form-control:focus,.seo-content-modal .form-select:focus{border-color:#60a5fa;box-shadow:0 0 0 .2rem rgba(37,99,235,.12)}.seo-advanced-fields{background:#fff;border:1px dashed #cbd5e1;border-radius:20px;padding:0 16px;margin-top:4px}.seo-advanced-fields summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;padding:16px 0;font-weight:900;list-style:none}.seo-advanced-fields summary::-webkit-details-marker{display:none}.seo-advanced-fields summary span{display:flex;align-items:center;gap:8px;color:#334155}.seo-advanced-fields summary small{font-weight:700;color:#64748b}.seo-modal-footer{background:#fff;border:0;padding:16px 24px}.seo-page .nav-pills{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:6px;box-shadow:0 10px 26px rgba(15,23,42,.05);display:inline-flex}.seo-page .nav-pills .nav-link{border-radius:14px;font-weight:900;color:#1e293b;background:#f8fafc;border:1px solid transparent}.seo-page .nav-pills .nav-link:hover,.seo-page .nav-pills .nav-link:focus{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.seo-page .nav-pills .nav-link.active{color:#fff;background:linear-gradient(135deg,#2563eb,#7c3aed);box-shadow:0 10px 22px rgba(37,99,235,.22)}@media(max-width:768px){.seo-modal-header,.seo-modal-footer{padding:16px}.seo-content-modal .modal-body{padding:12px}.seo-advanced-fields summary{align-items:flex-start;flex-direction:column}.seo-page .nav-pills{display:flex;width:100%;overflow-x:auto}}

.seo-workspace{display:grid;grid-template-columns:1fr;gap:16px;align-items:start}.seo-calendar-panel,.seo-kanban-panel{background:rgba(255,255,255,.82);border:1px solid #e2e8f0;border-radius:28px;padding:14px;box-shadow:0 18px 40px rgba(15,23,42,.06);backdrop-filter:blur(10px)}.seo-calendar-panel .calendar-toolbar{box-shadow:none;border:1px solid #edf2f7;background:#f8fafc;margin-bottom:12px}.seo-calendar-grid{gap:8px}.seo-weekday{border:0;background:#f1f5f9;color:#64748b;border-radius:14px;padding:9px;min-height:auto}.seo-day{position:relative;min-height:112px;border-color:#edf2f7;background:linear-gradient(180deg,#fff,#fbfdff);border-radius:16px;transition:.18s ease}.seo-day.is-empty{background:transparent;border:1px dashed #eef2f7;box-shadow:none}.seo-day.is-today{border-color:#f59e0b;background:linear-gradient(180deg,#fff7ed,#fffbeb);box-shadow:inset 0 0 0 2px rgba(245,158,11,.28),0 12px 28px rgba(245,158,11,.16)}.seo-day.is-today .seo-day-num{background:#f97316;color:#fff}.seo-today-badge{position:absolute;top:10px;left:10px;border-radius:999px;background:#f97316;color:#fff;font-size:.7rem;font-weight:900;padding:3px 9px}.seo-day:hover,.seo-day.is-over{border-color:#93c5fd;box-shadow:inset 0 0 0 2px rgba(37,99,235,.08);transform:translateY(-1px)}.seo-day.friday{background:linear-gradient(180deg,#fff,#fff7ed)}.seo-day-num{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;background:#f1f5f9;font-size:.86rem}.seo-event{border:1px solid #e2e8f0;border-right:4px solid var(--c,#2563eb);background:#fff;padding:8px 9px;box-shadow:0 8px 18px rgba(15,23,42,.05);transition:.18s ease}.seo-event:hover,.kanban-card:hover{transform:translateY(-2px);box-shadow:0 14px 26px rgba(15,23,42,.10)}.seo-event b{display:block;font-size:.82rem;color:#0f172a}.seo-kanban-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px;padding:4px 2px 10px;border-bottom:1px solid #eef2f7}.seo-kanban-head span{color:#2563eb;font-size:.75rem;font-weight:900}.seo-kanban-head h5{font-weight:900;margin:2px 0 0}.seo-kanban-head small{max-width:150px;color:#64748b;font-size:.74rem;line-height:1.7}.kanban-board.is-compact{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;max-height:none;overflow:visible;padding:2px 2px 8px}.kanban-board.is-compact .kanban-col{min-width:0;border-radius:18px;padding:10px;background:#f8fafc;transition:.18s ease}.kanban-board.is-compact .kanban-col.is-over{border-color:#93c5fd;background:#eff6ff}.kanban-board.is-compact .kanban-col h6{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-size:.85rem}.kanban-count{min-width:26px;height:24px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#64748b;border:1px solid #e2e8f0;font-size:.75rem}.kanban-card-list{display:grid;gap:8px}.kanban-card{margin:0;border:1px solid #e2e8f0;border-right:4px solid var(--c,#2563eb);box-shadow:0 8px 18px rgba(15,23,42,.05)}.kanban-card b{display:block;font-size:.84rem;color:#0f172a}.kanban-meta{display:flex;justify-content:space-between;color:#64748b;font-size:.72rem;margin:8px 0 6px}.kanban-card .progress{height:5px;background:#e2e8f0}.kanban-card .progress-bar{background:var(--c,#2563eb)}@media(max-width:1199px){.seo-workspace{grid-template-columns:1fr}.kanban-board.is-compact{grid-template-columns:repeat(2,minmax(240px,1fr));max-height:none}}@media(max-width:768px){.seo-calendar-grid{grid-template-columns:1fr}.kanban-board.is-compact{grid-template-columns:1fr}.seo-calendar-panel,.seo-kanban-panel{border-radius:20px;padding:10px}.seo-day{min-height:auto}}
.seo-page .table .form-control-sm,.seo-page .table .form-select-sm{min-width:120px;border-radius:10px}.seo-page .table td{vertical-align:middle}.seo-page .table th{white-space:nowrap}.seo-page .js-save-row{white-space:nowrap}
.management-kanban-link{color:#0f172a;transition:.18s ease}.management-kanban-link:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(15,23,42,.10)!important}
.seo-content-table{table-layout:auto}.seo-content-table th,.seo-content-table td{white-space:nowrap}.seo-content-table .seo-title-col{min-width:240px;white-space:normal}.seo-content-table .seo-keyword-col{min-width:210px;white-space:normal}.seo-table-title{font-weight:900;color:#0f172a;line-height:1.8}.seo-table-keyword{color:#334155;line-height:1.8}.seo-content-table .badge{font-size:.78rem;padding:.45rem .65rem}.seo-modal-footer #contentModalDelete{margin-left:auto;margin-right:0}

.participant-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;max-height:250px;overflow:auto;padding:6px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc}.participant-option{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;cursor:pointer;transition:.18s ease}.participant-option:hover{border-color:#bfdbfe;background:#f8fbff}.participant-option input{margin-top:2px}.participant-option strong,.participant-option small{display:block}.participant-option small{color:#64748b}
.schedule-meta-card{height:100%;padding:14px 16px;border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc}.schedule-meta-card span{display:block;color:#64748b;font-size:.82rem;margin-bottom:6px}.schedule-meta-card strong{display:block;color:#0f172a;line-height:1.9}.participant-chip-list{display:flex;flex-wrap:wrap;gap:8px}.participant-chip{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-weight:700}.meeting-textarea{min-height:140px;resize:vertical}.meeting-textarea-lg{min-height:220px}.meeting-note-preview{padding:14px 16px;border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc;line-height:2;white-space:pre-wrap}.minutes-archive-card{height:100%;padding:16px;border:1px solid #e2e8f0;border-radius:20px;background:#fff;box-shadow:0 10px 26px rgba(15,23,42,.04)}.minutes-archive-card.is-current{border-color:#bfdbfe;background:#f8fbff}

.kanban-page{display:grid;gap:18px}.kanban-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:26px;border:1px solid #dbeafe;border-radius:30px;background:radial-gradient(circle at top right,rgba(59,130,246,.18),transparent 34%),linear-gradient(135deg,#fff,#f8fbff 52%,#eef6ff);box-shadow:0 22px 55px rgba(15,23,42,.08)}.kanban-hero:after{content:"";position:absolute;inset:auto -45px -70px auto;width:180px;height:180px;border-radius:999px;background:rgba(124,58,237,.12)}.kanban-eyebrow{display:inline-flex;align-items:center;gap:7px;margin-bottom:10px;color:#2563eb;font-size:.78rem;font-weight:900}.kanban-hero h3{margin:0 0 8px;color:#0f172a;font-weight:950;letter-spacing:-.03em}.kanban-hero p{max-width:640px;margin:0;color:#64748b;line-height:1.9}.kanban-hero-actions{position:relative;z-index:1;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.kanban-total-pill{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid #bfdbfe;border-radius:999px;background:rgba(255,255,255,.78);color:#334155;font-weight:800;box-shadow:0 10px 24px rgba(37,99,235,.08)}.kanban-total-pill span{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;border-radius:999px;background:#2563eb;color:#fff}.kanban-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.kanban-shortcut-card{display:flex;align-items:center;gap:12px;min-height:86px;padding:15px;border:1px solid #e2e8f0;border-radius:22px;background:rgba(255,255,255,.88);color:#0f172a;text-decoration:none;box-shadow:0 14px 34px rgba(15,23,42,.05);transition:.18s ease}.kanban-shortcut-card:hover{transform:translateY(-2px);border-color:#bfdbfe;box-shadow:0 18px 38px rgba(37,99,235,.10)}.kanban-shortcut-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 46px;width:46px;height:46px;border-radius:16px;font-size:1.35rem}.kanban-shortcut-card strong,.kanban-shortcut-card small{display:block}.kanban-shortcut-card small{margin-top:4px;color:#64748b}.kanban-shortcut-arrow{margin-right:auto;color:#94a3b8}.kanban-board-shell{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(292px,1fr);gap:14px;overflow-x:auto;padding:4px 2px 16px;scroll-snap-type:x proximity}.kanban-status-card{display:flex;flex-direction:column;min-height:540px;border:1px solid #e2e8f0;border-radius:26px;background:linear-gradient(180deg,rgba(248,250,252,.94),rgba(255,255,255,.84));box-shadow:0 18px 42px rgba(15,23,42,.06);scroll-snap-align:start;overflow:hidden}.kanban-status-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 16px;border-bottom:1px solid #e8eef6;background:rgba(255,255,255,.82);backdrop-filter:blur(10px)}.kanban-status-header>div{display:flex;align-items:center;gap:9px}.kanban-status-dot{width:10px;height:10px;border-radius:999px;background:#2563eb;box-shadow:0 0 0 5px rgba(37,99,235,.10)}.kanban-status-count{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:28px;padding:0 9px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:.82rem;font-weight:900}.kanban-task-list{display:grid;align-content:start;gap:12px;min-height:470px;padding:14px;transition:.18s ease}.kanban-task-list.is-over{background:#eff6ff;box-shadow:inset 0 0 0 2px rgba(37,99,235,.14)}.kanban-task-card{position:relative;padding:14px;border:1px solid #e2e8f0;border-radius:20px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.06);cursor:grab;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.kanban-task-card:hover{transform:translateY(-2px);border-color:#bfdbfe;box-shadow:0 16px 34px rgba(37,99,235,.10)}.kanban-task-card:active{cursor:grabbing}.kanban-task-card.is-dragging{opacity:.62;transform:scale(.98)}.kanban-task-card.is-unseen{border-right:4px solid #06b6d4}.kanban-task-card.is-urgent{border-color:#fecaca;background:linear-gradient(180deg,#fff,#fff5f5)}.kanban-task-topline{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:10px}.kanban-task-title{color:#0f172a;text-decoration:none;font-weight:900;line-height:1.75}.kanban-task-title:hover{color:#2563eb}.kanban-task-meta{display:grid;gap:7px;color:#64748b;font-size:.78rem}.kanban-task-meta span,.kanban-task-footer span{display:inline-flex;align-items:center;gap:6px;min-width:0}.kanban-task-meta i,.kanban-task-footer i{color:#94a3b8}.kanban-task-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.kanban-task-footer{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:12px;padding-top:12px;border-top:1px solid #eef2f7;color:#64748b;font-size:.75rem}.kanban-status-form{margin-top:12px}.kanban-status-form .form-select{border-radius:14px;border-color:#dbe4ef;background-color:#f8fafc;font-size:.78rem}.kanban-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:145px;border:1px dashed #cbd5e1;border-radius:20px;background:rgba(255,255,255,.55);color:#94a3b8;font-weight:800}.kanban-empty-state i{font-size:1.65rem}@media(max-width:991.98px){.kanban-hero{align-items:flex-start;flex-direction:column}.kanban-shortcuts{grid-template-columns:1fr}.kanban-board-shell{grid-auto-columns:minmax(280px,86vw)}}@media(min-width:1400px){.kanban-board-shell{grid-auto-columns:minmax(310px,1fr)}}
