/*
 * Sistema MDRHC V20
 * Template global modernu no elegante ba fitur hotu.
 */
:root {
    --app-primary: #173b68;
    --app-primary-dark: #102c50;
    --app-primary-soft: #eaf2fb;
    --app-secondary: #64748b;
    --app-success: #0f9f6e;
    --app-info: #1687a7;
    --app-warning: #d99013;
    --app-danger: #d64550;
    --app-dark: #172033;
    --app-bg: #f2f5f9;
    --app-surface: #ffffff;
    --app-surface-soft: #f8fafc;
    --app-border: #e2e8f0;
    --app-border-strong: #cbd5e1;
    --app-text: #223047;
    --app-muted: #6b7a90;
    --app-radius-sm: 9px;
    --app-radius: 15px;
    --app-radius-lg: 20px;
    --app-shadow-sm: 0 4px 14px rgba(23, 43, 77, .06);
    --app-shadow: 0 12px 34px rgba(23, 43, 77, .09);
    --app-shadow-lg: 0 22px 60px rgba(18, 38, 68, .16);
    --app-transition: .18s ease;
}

html { scroll-behavior: smooth; }
body.app-modern {
    color: var(--app-text);
    background: var(--app-bg);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: .94rem;
    -webkit-font-smoothing: antialiased;
}
a { transition: color var(--app-transition), background-color var(--app-transition), border-color var(--app-transition), transform var(--app-transition); }
a:hover { text-decoration: none; }
::selection { color: #fff; background: var(--app-primary); }

/* Layout global */
.app-content-wrapper,
.content-wrapper {
    min-height: 100vh;
    background:
        radial-gradient(circle at 90% 0%, rgba(36, 88, 132, .08), transparent 30%),
        linear-gradient(180deg, #f7f9fc 0, var(--app-bg) 42%, #eef2f7 100%);
}
.app-page-header { padding: 1.35rem .5rem 1rem; }
.app-page-heading {
    display: flex;
    align-items: center;
    gap: .9rem;
    min-height: 68px;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(226, 232, 240, .82);
    border-radius: var(--app-radius-lg);
    background: rgba(255, 255, 255, .88);
    box-shadow: var(--app-shadow-sm);
    backdrop-filter: blur(10px);
}
.app-page-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--app-primary), #2f6c9d);
    box-shadow: 0 10px 22px rgba(23, 59, 104, .23);
}
.app-page-copy h1 {
    margin: 0;
    color: var(--app-dark);
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -.025em;
}
.app-page-copy p { margin: .3rem 0 0; color: var(--app-muted); font-size: .9rem; }
.app-page-content { padding-bottom: 1.75rem; }
.app-footer {
    padding: .9rem 1.25rem;
    color: var(--app-muted);
    border-top: 1px solid var(--app-border);
    background: rgba(255, 255, 255, .94);
}

/* Navbar */
.app-navbar {
    min-height: 58px;
    padding: .42rem .9rem;
    border-bottom: 1px solid rgba(226, 232, 240, .86) !important;
    box-shadow: 0 7px 24px rgba(22, 42, 74, .07);
    backdrop-filter: blur(13px);
}
.app-navbar.navbar-white { background: rgba(255, 255, 255, .94) !important; }
.app-navbar .nav-link { border-radius: 10px; }
.app-navbar .nav-link:hover { background: rgba(23, 59, 104, .07); }
.app-navbar .dropdown-menu {
    margin-top: .7rem;
    border: 1px solid var(--app-border);
    border-radius: 14px;
    box-shadow: var(--app-shadow-lg);
    overflow: hidden;
}
.navbar-avatar {
    width: 30px !important;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--app-border-strong);
}
.navbar-badge { border-radius: 999px; box-shadow: 0 0 0 2px #fff; }

/* Sidebar */
.app-sidebar {
    background: linear-gradient(180deg, #122943 0%, #11243b 48%, #0d1d31 100%) !important;
    box-shadow: 8px 0 30px rgba(7, 20, 37, .17) !important;
}
.app-sidebar .brand-link {
    min-height: 58px;
    display: flex;
    align-items: center;
    border-bottom-color: rgba(255, 255, 255, .08) !important;
    background: rgba(255, 255, 255, .025);
}
.brand-link .brand-image-custom { height: 34px; width: 34px; object-fit: contain; margin-left: .65rem; margin-right: .55rem; }
.app-sidebar .brand-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; font-weight: 650 !important; font-size: .96rem; }
.app-sidebar .sidebar { padding: 0 .1rem 1rem; }
.app-sidebar .user-panel {
    margin-left: 10px;
    margin-right: 10px;
    padding: .75rem .45rem !important;
    border-bottom: 0 !important;
    border-radius: 13px;
    background: rgba(255, 255, 255, .045);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035);
}
.app-sidebar .user-panel .info a { color: #fff; font-weight: 650; }
.app-sidebar .user-panel .info small { opacity: .68; font-size: .67rem; letter-spacing: .055em; }
.user-avatar { width: 36px !important; height: 36px !important; object-fit: cover; }
.avatar-fallback { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .18); color: #fff; }

.main-sidebar .nav-sidebar { padding: 0 0 14px; }
.main-sidebar .nav-sidebar > .nav-item > .nav-link,
.main-sidebar .nav-treeview > .nav-item > .nav-link {
    --menu-color: #94a3b8;
    --menu-soft: rgba(148, 163, 184, .14);
    position: relative;
    margin: 3px 8px;
    padding: .66rem .78rem;
    border-left: 3px solid transparent;
    border-radius: 10px;
    color: rgba(255, 255, 255, .82);
    transition: background-color var(--app-transition), border-color var(--app-transition), color var(--app-transition), transform var(--app-transition), box-shadow var(--app-transition);
}
.main-sidebar .nav-sidebar .nav-link .nav-icon,
.main-sidebar .nav-sidebar .nav-link > .fas:first-child,
.main-sidebar .nav-sidebar .nav-link > .far:first-child { color: var(--menu-color); transition: color var(--app-transition), transform var(--app-transition); }
.main-sidebar .nav-sidebar .nav-link:hover { color: #fff; background: var(--menu-soft); border-left-color: var(--menu-color); transform: translateX(2px); }
.main-sidebar .nav-sidebar .nav-link:hover .nav-icon,
.main-sidebar .nav-sidebar .nav-link:hover > .fas:first-child,
.main-sidebar .nav-sidebar .nav-link:hover > .far:first-child { color: #fff; transform: scale(1.06); }
.main-sidebar .nav-sidebar .nav-link.active {
    color: #fff !important;
    background: linear-gradient(90deg, var(--menu-soft), rgba(255, 255, 255, .035)) !important;
    border-left-color: var(--menu-color);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .14), inset 0 0 0 1px rgba(255, 255, 255, .035);
}
.main-sidebar .nav-sidebar .nav-link.active .nav-icon,
.main-sidebar .nav-sidebar .nav-link.active > .fas:first-child,
.main-sidebar .nav-sidebar .nav-link.active > .far:first-child { color: var(--menu-color) !important; }
.main-sidebar .nav-treeview { padding: 2px 0 5px; }
.main-sidebar .nav-treeview > .nav-item > .nav-link { margin-left: 21px; padding-top: .54rem; padding-bottom: .54rem; padding-left: 2.25rem; font-size: .9rem; border-radius: 9px; }
.main-sidebar .nav-treeview > .nav-item > .nav-link::before { content: ''; position: absolute; left: -9px; top: 50%; width: 7px; height: 1px; background: var(--menu-color); opacity: .65; }
.main-sidebar .nav-header { margin: 12px 12px 5px; padding: 7px 8px; border-radius: 8px; background: rgba(255, 255, 255, .045); color: rgba(255, 255, 255, .46); font-size: .68rem; font-weight: 700; letter-spacing: .12em; }
.main-sidebar .badge-danger { box-shadow: 0 0 0 2px rgba(255, 255, 255, .1); }
.menu-dashboard { --menu-color: #60a5fa !important; --menu-soft: rgba(59, 130, 246, .20) !important; }
.menu-relatoriu { --menu-color: #2dd4bf !important; --menu-soft: rgba(20, 184, 166, .20) !important; }
.menu-arkivu { --menu-color: #f59e0b !important; --menu-soft: rgba(245, 158, 11, .20) !important; }
.menu-agendamentu { --menu-color: #fbbf24 !important; --menu-soft: rgba(245, 158, 11, .20) !important; }
.menu-notifikasaun { --menu-color: #fb7185 !important; --menu-soft: rgba(244, 63, 94, .20) !important; }
.menu-users { --menu-color: #c084fc !important; --menu-soft: rgba(168, 85, 247, .20) !important; }
.menu-master { --menu-color: #22d3ee !important; --menu-soft: rgba(6, 182, 212, .20) !important; }
.menu-settings { --menu-color: #818cf8 !important; --menu-soft: rgba(99, 102, 241, .20) !important; }
.menu-profile { --menu-color: #4ade80 !important; --menu-soft: rgba(34, 197, 94, .20) !important; }
.menu-user-list { --menu-color: #a78bfa !important; --menu-soft: rgba(139, 92, 246, .17) !important; }
.menu-user-create { --menu-color: #f472b6 !important; --menu-soft: rgba(236, 72, 153, .17) !important; }
.menu-dg { --menu-color: #38bdf8 !important; --menu-soft: rgba(14, 165, 233, .17) !important; }
.menu-dn { --menu-color: #2dd4bf !important; --menu-soft: rgba(20, 184, 166, .17) !important; }
.menu-departamentu { --menu-color: #34d399 !important; --menu-soft: rgba(16, 185, 129, .17) !important; }
.menu-gabinete { --menu-color: #f59e0b !important; --menu-soft: rgba(245, 158, 11, .17) !important; }
.menu-unidade { --menu-color: #fb7185 !important; --menu-soft: rgba(244, 63, 94, .17) !important; }
.menu-municipio { --menu-color: #67e8f9 !important; --menu-soft: rgba(34, 211, 238, .16) !important; }
.menu-posto { --menu-color: #60a5fa !important; --menu-soft: rgba(59, 130, 246, .16) !important; }
.menu-suco { --menu-color: #4ade80 !important; --menu-soft: rgba(34, 197, 94, .16) !important; }
.menu-aldeia { --menu-color: #facc15 !important; --menu-soft: rgba(234, 179, 8, .16) !important; }
.menu-posisaun { --menu-color: #f472b6 !important; --menu-soft: rgba(236, 72, 153, .16) !important; }
.menu-settings-general { --menu-color: #a5b4fc !important; --menu-soft: rgba(129, 140, 248, .17) !important; }
.menu-settings-db { --menu-color: #34d399 !important; --menu-soft: rgba(16, 185, 129, .17) !important; }

/* Cards, panels and metrics */
.card {
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    background: var(--app-surface);
    box-shadow: var(--app-shadow-sm);
    overflow: hidden;
    transition: transform var(--app-transition), box-shadow var(--app-transition), border-color var(--app-transition);
}
.card:hover { border-color: #d5dee9; box-shadow: var(--app-shadow); }
.card.card-outline { border-top: 3px solid var(--app-primary); }
.card-header {
    min-height: 56px;
    padding: .92rem 1.12rem;
    border-bottom: 1px solid var(--app-border);
    background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
}
.card-header::after { content: none; }
.card-title { color: var(--app-text); font-size: 1rem; font-weight: 700; }
.card-subtitle { color: var(--app-muted); font-size: .82rem; }
.card-body { padding: 1.15rem; }
.card-footer { border-top: 1px solid var(--app-border); background: var(--app-surface-soft); }
.card-modern .card-header { gap: .8rem; }
.card-icon { width: 40px; height: 40px; flex: 0 0 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; }
.card-icon-primary { color: #1d4f7c; background: #e7f1fb; }
.card-icon-success { color: #087a55; background: #e5f8f0; }
.card-icon-dark { color: #fff; background: linear-gradient(135deg, #243750, #172033); }
.dashboard-welcome-card { border-left: 4px solid var(--app-primary); }
.master-form-card { top: 1rem; }

.metric-card {
    display: flex;
    align-items: center;
    gap: .9rem;
    min-height: 118px;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--app-shadow-sm);
}
.metric-icon { width: 48px; height: 48px; flex: 0 0 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 15px; font-size: 1.1rem; }
.metric-card > div:last-child { min-width: 0; }
.metric-label { display: block; margin-bottom: .2rem; color: var(--app-muted); font-size: .72rem; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.metric-card strong { display: block; overflow: hidden; color: var(--app-dark); font-size: 1.15rem; text-overflow: ellipsis; white-space: nowrap; }
.metric-card small { display: block; margin-top: .2rem; color: var(--app-muted); }
.metric-card-primary .metric-icon { color: #1d4f7c; background: #e6f0fb; }
.metric-card-success .metric-icon { color: #087a55; background: #e5f8f0; }
.metric-card-info .metric-icon { color: #0c708c; background: #e4f5f9; }
.metric-card-warning .metric-icon { color: #a76408; background: #fff2d8; }

.small-box,
.info-box {
    border: 0;
    border-radius: var(--app-radius);
    box-shadow: var(--app-shadow-sm);
    overflow: hidden;
}
.small-box { min-height: 128px; }
.small-box > .inner { padding: 1rem 1.1rem; }
.small-box h3 { font-size: 2rem; font-weight: 750; letter-spacing: -.04em; }
.small-box .icon { opacity: .18; }
.small-box-footer { padding: .5rem 1rem !important; background: rgba(0, 0, 0, .09) !important; }
.info-box { background: #fff; }
.info-box-icon { border-radius: 13px !important; margin: .7rem; width: 58px; }

/* Forms */
label { color: #334158; font-size: .84rem; font-weight: 650; }
.required::after { content: " *"; color: var(--app-danger); }
.form-control,
.custom-select,
.input-group-text,
.custom-file-label {
    min-height: 42px;
    border-color: var(--app-border-strong);
    border-radius: var(--app-radius-sm);
    color: var(--app-text);
    background-color: #fff;
    box-shadow: none !important;
    transition: border-color var(--app-transition), box-shadow var(--app-transition), background-color var(--app-transition);
}
textarea.form-control { min-height: 110px; }
.form-control:focus,
.custom-select:focus,
.custom-file-input:focus ~ .custom-file-label {
    border-color: var(--app-primary);
    box-shadow: 0 0 0 .2rem rgba(23, 59, 104, .12) !important;
}
.form-control::placeholder { color: #9aa6b7; }
.input-group > .form-control:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group-text { color: var(--app-muted); background: #f7f9fc; }
.custom-control-label { font-weight: 550; }
.custom-switch .custom-control-label::before { border-color: #b8c3d1; background: #dbe2ea; }
.custom-switch .custom-control-input:checked ~ .custom-control-label::before { border-color: var(--app-primary); background: var(--app-primary); }
.form-group small.text-muted { line-height: 1.45; }
.logo-preview { max-width: 180px; max-height: 90px; object-fit: contain; border: 1px dashed var(--app-border-strong); padding: .55rem; border-radius: 12px; background: #fff; }
.avatar-preview { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--app-border), 0 8px 22px rgba(31, 45, 61, .12); }

/* Buttons and badges */
.btn {
    border-radius: 9px;
    font-weight: 650;
    box-shadow: none;
    transition: transform var(--app-transition), box-shadow var(--app-transition), background-color var(--app-transition), border-color var(--app-transition);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-modern { min-height: 42px; padding-left: 1rem; padding-right: 1rem; box-shadow: 0 7px 17px rgba(23, 59, 104, .13); }
.btn-primary { background: linear-gradient(135deg, var(--app-primary), #285f91) !important; border-color: var(--app-primary) !important; }
.btn-success { background: linear-gradient(135deg, #0f9f6e, #087d59); border-color: #0f8d63; }
.btn-danger { background: linear-gradient(135deg, #dc4c58, #bd313d); border-color: #ca3a46; }
.btn-light { border-color: var(--app-border); color: var(--app-text); background: #f8fafc; }
.btn-sm { min-height: 34px; border-radius: 8px; }
.badge { padding: .43em .72em; border-radius: 999px; font-weight: 700; letter-spacing: .01em; }
.badge-primary { background: #315f8e; }
.badge-success { background: #0d9568; }
.badge-info { background: #1883a1; }
.badge-warning { color: #5b3a04; background: #ffd982; }
.badge-secondary { background: #718096; }

/* Alerts and empty states */
.alert {
    border: 1px solid transparent;
    border-radius: 12px;
    box-shadow: var(--app-shadow-sm);
}
.alert-success { color: #075f44; border-color: #b7ead7; background: #e9f8f2; }
.alert-danger { color: #8c2530; border-color: #f1c3c8; background: #fff0f1; }
.alert-warning { color: #75500b; border-color: #f4ddad; background: #fff8e8; }
.alert-info { color: #175d70; border-color: #bfe2eb; background: #edf9fc; }
.empty-state { padding: 2.25rem; text-align: center; color: var(--app-muted); }
.modern-empty-state { display: flex; flex-direction: column; align-items: center; gap: .45rem; }
.modern-empty-state i { font-size: 2rem; color: #a9b6c7; }
.modern-empty-state strong { color: var(--app-text); font-size: 1rem; }

/* Tables */
.table td,
.table th { vertical-align: middle; }
.table-responsive .table { min-width: 720px; }
.modern-table-wrap { border-radius: 0 0 var(--app-radius) var(--app-radius); background: #fff; }
.modern-table {
    min-width: 760px;
    margin: 0 !important;
    color: var(--app-text);
    border-collapse: separate !important;
    border-spacing: 0 !important;
}
.modern-table thead th {
    padding: .86rem .82rem;
    color: #fff;
    border: 0 !important;
    background: linear-gradient(135deg, #163a63 0%, #285f8d 100%);
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .045em;
    text-transform: uppercase;
    white-space: nowrap;
}
.modern-table tbody td,
.modern-table tbody th { padding: .8rem .82rem; border-top: 0 !important; border-bottom: 1px solid #edf1f5 !important; background: #fff; }
.modern-table.table-bordered td,
.modern-table.table-bordered th { border-left: 0 !important; border-right: 0 !important; }
.modern-table tbody tr:not(.table-group-header):not(.user-group-row):not(.week-group-header):hover > td { background: #f4f8fc !important; }
.modern-table tbody tr:nth-of-type(even):not(.table-group-header):not(.user-group-row):not(.week-group-header) > td { background: #fbfcfe; }
.modern-table tbody tr:last-child td { border-bottom: 0 !important; }
.modern-table .action-buttons,
.modern-table td:last-child { white-space: nowrap; }
.modern-table .table-group-header td,
.modern-table .user-group-row td,
.modern-table .week-group-header td,
.table-group-header td,
.user-group-row td { color: #284866; border-top: 2px solid #c7d7e8 !important; border-bottom: 1px solid #dce6f1 !important; background: linear-gradient(90deg, #eaf1fa 0%, #f6f9fd 100%) !important; font-weight: 750; }
.pagination .page-link { margin: 0 .15rem; color: var(--app-primary); border-color: var(--app-border); border-radius: 8px !important; }
.pagination .page-item.active .page-link { border-color: var(--app-primary); background: var(--app-primary); }
.action-buttons { white-space: nowrap; }

/* Photos and preview */
.user-table-photo { width: 36px !important; height: 36px !important; min-width: 36px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1px #ced8e5; cursor: zoom-in; background: #eef2f6; transition: transform var(--app-transition), box-shadow var(--app-transition); }
.user-table-photo:hover,
.user-table-photo:focus { transform: scale(1.1); box-shadow: 0 0 0 2px var(--app-primary), 0 5px 14px rgba(32, 52, 77, .18); outline: 0; }
.user-table-photo-placeholder { cursor: default; color: #7b8999; }
.table-photo-thumb { width: 50px !important; height: 50px !important; min-width: 50px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 1px #ced8e5, 0 5px 14px rgba(32, 52, 77, .14); cursor: zoom-in; transition: transform var(--app-transition), box-shadow var(--app-transition); background: #eef2f6; }
.table-photo-thumb:hover,
.table-photo-thumb:focus { transform: scale(1.08); box-shadow: 0 0 0 2px var(--app-primary), 0 8px 20px rgba(32, 52, 77, .2); outline: 0; }
.table-photo-placeholder { width: 50px; height: 50px; min-width: 50px; border-radius: 50%; background: #eef2f6; border: 1px solid #d6dee8; display: inline-flex; align-items: center; justify-content: center; color: #7b8999; }
.avatar-preview[data-image-preview] { cursor: zoom-in; transition: transform var(--app-transition), box-shadow var(--app-transition); }
.avatar-preview[data-image-preview]:hover,
.avatar-preview[data-image-preview]:focus { transform: scale(1.04); box-shadow: 0 0 0 2px var(--app-primary), 0 8px 24px rgba(31, 45, 61, .18); outline: 0; }
.image-preview-modal .modal-content { background: transparent; border: 0; box-shadow: none; }
.image-preview-modal .modal-body { padding: 0; text-align: center; }
.image-preview-modal img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 14px; background: #fff; box-shadow: 0 22px 80px rgba(0, 0, 0, .45); }
.image-preview-modal .close { position: absolute; right: -8px; top: -42px; color: #fff; opacity: 1; font-size: 2rem; text-shadow: none; z-index: 3; }

/* Organization tree */
.org-tree-wrapper { overflow: auto; max-height: 680px; background: #fbfcfe; }
.org-tree,
.org-tree ul { position: relative; margin: 0; padding-left: 1.35rem; list-style: none; }
.org-tree-root { padding-left: 0; }
.org-tree ul::before { content: ""; position: absolute; left: .48rem; top: 0; bottom: .65rem; border-left: 1px solid #ced4da; }
.org-tree-node { position: relative; margin: .28rem 0; }
.org-tree-node > details > summary,
.org-tree-leaf { display: flex; align-items: center; min-height: 40px; padding: .42rem .58rem; border: 1px solid #e3e7eb; border-radius: 10px; background: #fff; cursor: pointer; list-style: none; }
.org-tree-node > details > summary::-webkit-details-marker { display: none; }
.org-tree-node > details > summary::before { content: "\f0da"; margin-right: .45rem; color: #6c757d; font-family: "Font Awesome 6 Free"; font-weight: 900; transition: transform var(--app-transition); }
.org-tree-node > details[open] > summary::before { transform: rotate(90deg); }
.org-tree-node:not(.org-tree-root)::before { content: ""; position: absolute; left: -.87rem; top: 20px; width: .87rem; border-top: 1px solid #ced4da; }
.org-tree-icon { width: 28px; height: 28px; flex: 0 0 28px; display: inline-flex; align-items: center; justify-content: center; margin-right: .45rem; border-radius: 50%; color: #495057; background: #eef2f7; }
.org-tree-root > details > summary { color: #fff; border-color: #173b68; background: linear-gradient(135deg, #173b68, #285f8d); }
.org-tree-root > details > summary .org-tree-icon { color: #fff; background: rgba(255, 255, 255, .18); }
.org-tree-branch > details > summary { border-color: #b8d2f3; background: #eaf2ff; font-weight: 650; }
.org-tree-dg > details > summary,
.org-tree-dn > details > summary { border-left: 4px solid #6f42c1; }
.org-tree-gabinete > details > summary,
.org-tree-unidade > details > summary { border-left: 4px solid #28a745; }
.org-tree-departamentu > details > summary { border-left: 4px solid #fd7e14; }
.org-tree-user .org-tree-leaf { margin-left: .15rem; border-style: dashed; }
.org-tree-label { word-break: break-word; }
.dashboard-group-table { max-height: 680px; }
.dashboard-group-table thead th { position: sticky; top: 0; z-index: 2; }

/* Print and documents */
.report-print-toolbar { background: linear-gradient(135deg, #f7f9fc, #eef4fa); }
.report-document-shell { padding: 16px; border: 1px solid #d3dae3; border-radius: 14px; background: #dfe4ea; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
.report-document-frame { display: block; width: 100%; height: 980px; border: 0; border-radius: 9px; background: #fff; box-shadow: 0 10px 28px rgba(27, 39, 53, .18); }
.document-modal-frame { display: block; width: 100%; height: 78vh; border: 0; background: #e4e8ed; }
.document-preview-modal .modal-dialog { max-width: 1180px; }
.document-preview-modal .modal-content { overflow: hidden; border: 0; border-radius: 16px; box-shadow: 0 30px 90px rgba(12, 27, 45, .35); }
.document-preview-modal .modal-header { color: #fff; border: 0; background: linear-gradient(135deg, #15395f, #245b87); }
.document-preview-modal .close { color: #fff; opacity: .9; text-shadow: none; }
.document-preview-toolbar { display: flex; gap: .5rem; flex-wrap: wrap; }
.print-settings-preview { padding: 16px; border-radius: 12px; background: #e3e7ec; }
.print-settings-page { width: 100%; max-width: 720px; min-height: 360px; margin: auto; padding: 30px; color: #1c2838; background: #fff; box-shadow: 0 10px 30px rgba(24, 39, 58, .16); font-family: Arial, sans-serif; }
.print-settings-header { display: grid; grid-template-columns: 78px 1fr 78px; gap: 14px; align-items: center; padding-bottom: 12px; border-bottom: 3px double #1c2838; text-align: center; }
.print-settings-logo { width: 68px; height: 68px; margin: auto; object-fit: contain; }
.print-settings-title { font-size: 1rem; font-weight: 800; line-height: 1.35; text-transform: uppercase; }
.print-settings-subtitle { margin-top: 3px; font-size: .88rem; font-weight: 700; }
.print-settings-address { margin-top: 4px; color: #536174; font-size: .72rem; }
.print-settings-document-title { margin: 30px 0 12px; font-size: 1.05rem; font-weight: 800; text-align: center; text-decoration: underline; text-transform: uppercase; }

/* Agenda and notifications */
.notification-dropdown { min-width: 360px; max-height: 430px; overflow-y: auto; }
.notification-dropdown-item { padding: .75rem 1rem; line-height: 1.25; white-space: normal; }
.notification-list-item { padding: 1rem 1.15rem; border-left: 4px solid transparent; }
.notification-list-item.notification-unread { border-left-color: var(--app-primary); background: #f0f7ff; }
.notification-icon { width: 38px; height: 38px; min-width: 38px; display: inline-flex; align-items: center; justify-content: center; margin-right: .8rem; color: #fff; border-radius: 50%; }
.notification-icon.badge-primary { background: #007bff; }
.notification-icon.badge-warning { color: #212529; background: #ffc107; }
.notification-icon.badge-danger { background: #dc3545; }
.agenda-description { color: #34445a; font-size: 1rem; line-height: 1.75; white-space: normal; }

/* Database backup and restore */
.database-stat-grid { margin-bottom: .1rem; }
.database-action-card { min-height: 220px; }
.database-note { display: flex; align-items: flex-start; gap: .65rem; padding: .8rem .9rem; border: 1px solid #d8e7f5; border-radius: 11px; color: #3b5875; background: #f1f7fc; font-size: .84rem; }
.database-note i { margin-top: .15rem; color: var(--app-primary); }
.modern-file-input .custom-file-label { padding-top: .58rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.modern-file-input .custom-file-label::after { height: 40px; padding-top: .58rem; content: "Hili"; color: #fff; border-left: 0; border-radius: 0 8px 8px 0; background: var(--app-primary); }
.database-list-header { min-height: 70px; }
.database-count-badge { padding: .55rem .8rem; color: var(--app-primary); border: 1px solid #dbe5ef; background: #f4f8fc; }
.database-table-wrap { border-radius: 0; }
.database-file-cell { display: flex; align-items: center; gap: .7rem; min-width: 250px; }
.database-file-cell strong { display: block; max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.database-file-cell small { display: block; margin-top: .18rem; color: var(--app-muted); }
.database-file-icon { width: 38px; height: 38px; flex: 0 0 38px; display: inline-flex; align-items: center; justify-content: center; color: #1d4f7c; border-radius: 11px; background: #e6f0fb; }
.database-file-icon.is-gzip { color: #087a55; background: #e5f8f0; }
.database-summary-chip { display: inline-flex; align-items: center; gap: .3rem; margin: .12rem .18rem .12rem 0; padding: .3rem .48rem; color: #4c5d73; border: 1px solid #dde5ee; border-radius: 999px; background: #f8fafc; font-size: .76rem; }
.database-safety-panel { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; padding: 1.05rem 1.15rem; color: #275441; border: 1px solid #c8eadc; border-radius: var(--app-radius); background: linear-gradient(135deg, #eefaf5, #f8fffc); box-shadow: var(--app-shadow-sm); }
.database-safety-panel p { color: #527263; font-size: .86rem; }
.database-safety-icon { width: 46px; height: 46px; flex: 0 0 46px; display: inline-flex; align-items: center; justify-content: center; color: #087a55; border-radius: 14px; background: #d8f4e8; }
.restore-modal-content { overflow: hidden; border: 0; border-radius: 18px; box-shadow: var(--app-shadow-lg); }
.restore-modal-header { display: flex; align-items: center; gap: .75rem; color: #fff; border: 0; background: linear-gradient(135deg, #9f2632, #d54551); }
.restore-modal-header .close { color: #fff; opacity: .9; text-shadow: none; }
.restore-modal-icon { width: 42px; height: 42px; flex: 0 0 42px; display: inline-flex; align-items: center; justify-content: center; color: #9f2632; border-radius: 13px; background: #fff; }
.restore-file-preview { margin-bottom: 1rem; padding: .8rem .9rem; border: 1px solid var(--app-border); border-radius: 11px; background: #f8fafc; }
.restore-file-preview span { display: block; margin-bottom: .2rem; color: var(--app-muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.restore-file-preview strong { display: block; overflow-wrap: anywhere; }
.database-quick-card { border-color: #d8e7f5; background: linear-gradient(135deg, #f6faff, #fff); }
.database-quick-icon { width: 48px; height: 48px; flex: 0 0 48px; display: inline-flex; align-items: center; justify-content: center; margin-right: .85rem; color: #fff; border-radius: 15px; background: linear-gradient(135deg, var(--app-primary), #2f6c9d); box-shadow: 0 8px 18px rgba(23, 59, 104, .22); }
.database-quick-card h4 { color: var(--app-dark); font-size: 1rem; font-weight: 750; }
.database-quick-card p { font-size: .82rem; line-height: 1.45; }

/* Login */
.login-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 15%, rgba(52, 114, 164, .22), transparent 30%),
        radial-gradient(circle at 85% 85%, rgba(30, 156, 123, .13), transparent 28%),
        linear-gradient(135deg, #e9f0f7 0%, #f7f9fc 48%, #e8eef5 100%);
}
.login-box { width: 390px; max-width: calc(100vw - 2rem); }
.login-logo { margin-bottom: 1.1rem; color: var(--app-dark); font-size: 1.45rem; }
.login-box .card { border: 1px solid rgba(255, 255, 255, .8); border-radius: 22px; box-shadow: 0 28px 75px rgba(21, 44, 76, .18); }
.login-card-body { padding: 2rem; border-radius: 22px; }
.login-box-msg { color: var(--app-muted); font-weight: 600; }
.login-page .input-group-text { border-left: 0; }
.login-page .input-group .form-control { border-right: 0; }
.login-page .btn-block { min-height: 44px; margin-top: .35rem; }

/* Modal global */
.modal-content { border: 1px solid rgba(226, 232, 240, .75); border-radius: 16px; box-shadow: var(--app-shadow-lg); }
.modal-header { border-bottom-color: var(--app-border); }
.modal-footer { border-top-color: var(--app-border); }

/* Accessibility */
.btn:focus,
.nav-link:focus,
a:focus-visible,
button:focus-visible { outline: 2px solid rgba(23, 59, 104, .35); outline-offset: 2px; }

@media (max-width: 991.98px) {
    .master-form-card { position: static !important; }
    .app-page-header { padding-left: .25rem; padding-right: .25rem; }
    .metric-card { min-height: 105px; }
}

@media (max-width: 767.98px) {
    body.app-modern { font-size: .91rem; }
    .app-page-heading { min-height: 60px; padding: .82rem .9rem; border-radius: 14px; }
    .app-page-icon { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; }
    .card { border-radius: 12px; }
    .card-header,
    .card-body { padding-left: .9rem; padding-right: .9rem; }
    .modern-table { min-width: 700px; }
    .org-tree,
    .org-tree ul { padding-left: .9rem; }
    .org-tree-node:not(.org-tree-root)::before { left: -.45rem; width: .45rem; }
    .org-tree ul::before { left: .25rem; }
    .org-tree-node > details > summary,
    .org-tree-leaf { align-items: flex-start; flex-wrap: wrap; }
    .report-document-shell { padding: 7px; border-radius: 9px; }
    .report-document-frame { height: 760px; }
    .document-preview-modal .modal-dialog { margin: .4rem; }
    .document-modal-frame { height: 82vh; }
    .print-settings-page { padding: 18px; }
    .print-settings-header { grid-template-columns: 56px 1fr 56px; gap: 8px; }
    .print-settings-logo { width: 50px; height: 50px; }
    .database-safety-panel { align-items: flex-start; }
    .database-file-cell strong { max-width: 240px; }
}

@media (max-width: 575.98px) {
    .notification-dropdown { min-width: 300px; max-width: 94vw; }
    .notification-dropdown-item .float-right { display: block; float: none !important; margin-top: .25rem; }
    .app-page-copy p { display: none; }
    .database-safety-panel { flex-direction: column; }
    .database-quick-card .card-body { align-items: flex-start !important; flex-wrap: wrap; }
    .database-quick-card .btn { margin: .8rem 0 0 !important; width: 100%; }
}

@media print {
    .app-page-header,
    .main-header,
    .main-sidebar,
    .app-footer,
    .btn,
    .no-print { display: none !important; }
    .content-wrapper { margin-left: 0 !important; background: #fff !important; }
    .card { border: 0 !important; box-shadow: none !important; }
}

/* V21 — Manejamentu Menu no Asesu */
.menu-admin-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.45rem 1.6rem;
    color: #fff;
    border-radius: 18px;
    background:
        radial-gradient(circle at 88% 18%, rgba(255,255,255,.20), transparent 25%),
        linear-gradient(135deg, #173b68 0%, #215b8f 55%, #19856f 100%);
    box-shadow: 0 18px 45px rgba(23,59,104,.18);
}
.menu-admin-kicker { display:block; margin-bottom:.35rem; font-size:.72rem; font-weight:800; letter-spacing:.16em; opacity:.78; }
.menu-admin-hero h2 { margin:0 0 .3rem; font-size:1.45rem; font-weight:800; }
.menu-admin-hero p { margin:0; max-width:760px; color:rgba(255,255,255,.82); }
.menu-admin-stats { display:flex; gap:.7rem; flex-shrink:0; }
.menu-admin-stats span { min-width:95px; padding:.65rem .8rem; text-align:center; border:1px solid rgba(255,255,255,.2); border-radius:13px; background:rgba(255,255,255,.10); }
.menu-admin-stats strong { display:block; font-size:1.2rem; }
.menu-structure-table td { vertical-align:middle; }
.menu-parent-row { background:rgba(23,59,104,.035); }
.menu-parent-row td:first-child strong { color:var(--app-dark); }
.menu-child-row .menu-name-cell { padding-left:1.65rem; position:relative; }
.menu-child-row .menu-name-cell::before { content:""; position:absolute; left:.55rem; top:50%; width:.7rem; border-top:1px solid #cbd5e1; }
.menu-name-cell { display:flex; align-items:center; gap:.7rem; min-width:260px; }
.menu-name-cell small { display:block; margin-top:.15rem; color:var(--app-muted); font-size:.72rem; }
.menu-icon-preview,.menu-access-icon,.selected-user-avatar { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; width:35px; height:35px; border-radius:10px; color:#215b8f; background:#eaf2fb; }
.menu-editor-card { top:1rem; }
.menu-role-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.4rem .7rem; padding:.7rem; border:1px solid var(--app-border); border-radius:12px; background:#f8fafc; }
.menu-role-grid label { margin:0; font-size:.8rem; font-weight:600; color:#475569; }
.menu-user-selector { max-width:760px; }
.menu-user-selector > label { font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; color:var(--app-muted); }
.selected-user-access { display:flex; align-items:center; gap:.8rem; padding:.85rem 1rem; border:1px solid #dbe6f2; border-radius:14px; background:linear-gradient(135deg,#f8fbff,#f4faf8); }
.selected-user-access small { display:block; color:var(--app-muted); }
.selected-user-avatar { width:42px; height:42px; color:#fff; background:linear-gradient(135deg,#215b8f,#19856f); }
.menu-access-table td { vertical-align:middle; }
.menu-access-table thead th { white-space:nowrap; }
.menu-access-table input[type="radio"] { width:18px; height:18px; cursor:pointer; accent-color:#215b8f; }
.menu-access-child td:first-child { padding-left:2.35rem; position:relative; }
.menu-access-child td:first-child::before { content:""; position:absolute; left:1.2rem; top:50%; width:.7rem; border-top:1px solid #cbd5e1; }
.menu-access-actions { padding-top:1rem; border-top:1px solid var(--app-border); }

@media (max-width: 767.98px) {
    .menu-admin-hero { align-items:flex-start; flex-direction:column; padding:1.1rem; }
    .menu-admin-stats { width:100%; }
    .menu-admin-stats span { flex:1; }
    .menu-role-grid { grid-template-columns:1fr; }
    .menu-access-actions small { width:100%; margin:.4rem 0 0 !important; }
}

/* V22 — Migrasaun database automatika */
.migration-center-card { overflow: hidden; border: 0; }
.migration-center-header { gap: 1rem; padding: 1.25rem 1.35rem; background: linear-gradient(135deg, #f8fafc, #eef6ff); border-bottom: 1px solid var(--app-border); }
.migration-primary-action .btn { min-width: 220px; }
.migration-summary-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .85rem; margin-bottom: 1rem; }
.migration-summary-item { padding: .9rem 1rem; border: 1px solid var(--app-border); border-radius: 14px; background: #fff; box-shadow: 0 8px 20px rgba(15,23,42,.04); }
.migration-summary-item span { display: block; color: var(--app-muted); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.migration-summary-item strong { display: block; margin-top: .15rem; color: #172033; font-size: 1.35rem; }
.migration-summary-item.is-success { border-left: 4px solid #1f9d68; }
.migration-summary-item.is-info { border-left: 4px solid #2583c5; }
.migration-summary-item.is-warning { border-left: 4px solid #e2a21a; }
.migration-summary-item.is-danger { border-left: 4px solid #d64550; }
.migration-info-strip { display: flex; align-items: center; gap: .85rem; padding: .95rem 1rem; border-radius: 14px; color: #17446f; background: linear-gradient(135deg,#eaf5ff,#f3f9ff); }
.migration-info-strip > i { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 12px; color: #fff; background: #2583c5; }
.migration-info-strip strong,.migration-info-strip span { display: block; }
.migration-info-strip span { color: #55728d; font-size: .82rem; }
.migration-table-wrap { border: 1px solid var(--app-border); border-radius: 14px; }
.migration-version-pill { display: inline-flex; min-width: 38px; justify-content: center; padding: .25rem .55rem; border-radius: 999px; color: #17446f; font-weight: 800; background: #eaf5ff; }
.migration-modal-header { display: flex; align-items: center; gap: .75rem; color: #fff; border: 0; background: linear-gradient(135deg,#b5780a,#e2a21a); }
.migration-modal-header .close { color: #fff; opacity: .9; text-shadow: none; }
.migration-confirm-steps { display: grid; gap: .55rem; margin-bottom: 1rem; }
.migration-confirm-steps span { display: flex; align-items: center; gap: .65rem; padding: .65rem .75rem; border: 1px solid #e8edf3; border-radius: 11px; background: #f8fafc; }
.migration-confirm-steps i { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 8px; color: #fff; font-size: .72rem; background: #2583c5; }
@media (max-width: 991.98px) { .migration-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 575.98px) { .migration-summary-grid { grid-template-columns: 1fr; } .migration-info-strip { align-items: flex-start; flex-wrap: wrap; } .migration-primary-action,.migration-primary-action .btn { width: 100%; } }

/* V24 — Input Dadus Dinâmiku */
.input-form-choice {
    display: block;
    min-height: 210px;
    margin-bottom: 1rem;
    padding: 1.15rem;
    color: #172033;
    border: 1px solid #dbe6f2;
    border-radius: 18px;
    background: linear-gradient(145deg,#ffffff,#f6f9fd);
    box-shadow: 0 12px 28px rgba(23,59,104,.07);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.input-form-choice:hover { color:#172033; text-decoration:none; transform:translateY(-3px); border-color:#8eb5d8; box-shadow:0 18px 35px rgba(23,59,104,.13); }
.input-form-choice-icon { display:inline-flex; width:46px; height:46px; margin-bottom:.8rem; align-items:center; justify-content:center; border-radius:14px; color:#fff; background:linear-gradient(135deg,#215b8f,#19856f); box-shadow:0 8px 18px rgba(33,91,143,.22); }
.input-form-choice strong,.input-form-choice small { display:block; }
.input-form-choice strong { margin-bottom:.25rem; font-size:1rem; }
.input-form-choice small { margin-bottom:.65rem; color:#5f7185; font-weight:700; }
.input-form-choice p { margin:0; color:#6b7a8c; font-size:.84rem; line-height:1.55; }
.input-data-form-card .card-header { background:linear-gradient(135deg,#f7fbff,#f4fbf8); }
.input-data-meta-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.8rem; }
.input-data-meta-grid > div { padding:.9rem 1rem; border:1px solid #e2e8f0; border-radius:14px; background:#f8fafc; }
.input-data-meta-grid small,.input-data-meta-grid strong,.input-data-meta-grid span { display:block; }
.input-data-meta-grid small { color:#708095; font-size:.69rem; font-weight:800; letter-spacing:.07em; text-transform:uppercase; }
.input-data-meta-grid strong { margin:.25rem 0 .1rem; color:#172033; }
.input-data-meta-grid span { color:#708095; font-size:.78rem; }
.input-data-values { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem; }
.input-data-value { min-height:86px; padding:.9rem 1rem; border-left:4px solid #2583c5; border-radius:12px; background:#f8fafc; }
.input-data-value small { display:block; margin-bottom:.35rem; color:#5f7185; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.input-field-builder { margin-bottom:1rem; padding:1rem; border:1px solid #dbe6f2; border-radius:16px; background:linear-gradient(145deg,#fff,#f8fafc); box-shadow:0 8px 20px rgba(15,23,42,.04); }
.input-level-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.65rem; padding:.9rem; border:1px solid #dbe6f2; border-radius:14px; background:#f8fafc; }
@media (max-width: 991.98px) { .input-data-meta-grid,.input-data-values { grid-template-columns:1fr; } .input-level-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 575.98px) { .input-level-grid { grid-template-columns:1fr; } }

/* MDRHC V25: Kampu Dinámiku Global */
.dynamic-module-card{display:flex;align-items:center;gap:14px;height:100%;padding:16px;border:1px solid rgba(15,23,42,.1);border-radius:16px;background:#fff;color:#1f2937;box-shadow:0 8px 24px rgba(15,23,42,.06);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.dynamic-module-card:hover,.dynamic-module-card.is-active{transform:translateY(-2px);box-shadow:0 14px 30px rgba(15,23,42,.11);border-color:var(--app-primary,#2563eb);color:#111827}.dynamic-module-icon{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,rgba(37,99,235,.14),rgba(14,165,233,.12));color:var(--app-primary,#2563eb);font-size:1.1rem}.dynamic-module-card strong,.dynamic-module-card small{display:block}.dynamic-module-card small{margin-top:3px;color:#6b7280}.dynamic-fields-card{border-radius:16px;overflow:hidden}.dynamic-fields-display dd{white-space:normal;word-break:break-word}.dynamic-fields-display dt{color:#475569}

/* V33 - Dadus kontratu no dokumentus pessoal */
.user-contract-card .card-body{background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(244,248,252,.96));}
.user-contract-card dl dt{color:#5b6675;font-weight:600;}
.user-contract-card dl dd{font-weight:600;color:#1f2937;}
.menu-hau_nia_dokumentus .nav-icon{color:#35b6c8!important;}

/* V34 - História Kontratu no trajetória servisu */
.contract-hero {
  border: 0;
  background: linear-gradient(135deg, rgba(15, 118, 110, .11), rgba(37, 99, 235, .08));
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}
.contract-timeline { position: relative; padding-left: 2.65rem; }
.contract-timeline::before {
  content: ""; position: absolute; left: 1.15rem; top: .6rem; bottom: .6rem;
  width: 2px; background: linear-gradient(#0f766e, #cbd5e1);
}
.contract-timeline-item { position: relative; margin-bottom: 1.35rem; }
.contract-timeline-marker {
  position: absolute; left: -2.65rem; top: .9rem; width: 2.3rem; height: 2.3rem;
  border-radius: 999px; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 2px solid #94a3b8; color: #475569; z-index: 2;
  box-shadow: 0 5px 18px rgba(15, 23, 42, .12);
}
.contract-timeline-item.is-current .contract-timeline-marker { border-color: #0f766e; color: #0f766e; }
.contract-card { border: 0; box-shadow: 0 12px 30px rgba(15, 23, 42, .08); overflow: hidden; }
.contract-timeline-item.is-current .contract-card { border-left: 4px solid #0f766e; }
.contract-note { padding: .8rem 1rem; border-radius: .75rem; background: #f8fafc; color: #334155; }
@media (max-width: 575.98px) {
  .contract-timeline { padding-left: 2.15rem; }
  .contract-timeline-marker { left: -2.15rem; width: 1.85rem; height: 1.85rem; }
  .contract-timeline::before { left: .86rem; }
}

/* V38 — Messenger Internu: template full-page modernu bazeia ba V36 */
.menu-messenger .nav-icon{color:#5eead4!important}.messenger-overview-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;margin-bottom:1rem}.messenger-overview-card{display:flex;align-items:center;gap:.85rem;padding:.85rem 1rem;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.055)}.messenger-overview-card>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;color:#fff}.messenger-overview-card small,.messenger-overview-card strong{display:block}.messenger-overview-card small{color:#64748b;font-size:.72rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.messenger-overview-card strong{color:#172033;font-size:1.15rem}.messenger-overview-card .tone-primary{background:linear-gradient(135deg,#2563eb,#0ea5e9)}.messenger-overview-card .tone-success{background:linear-gradient(135deg,#059669,#14b8a6)}.messenger-overview-card .tone-info{background:linear-gradient(135deg,#4f46e5,#7c3aed)}
.messenger-app{display:grid;grid-template-columns:320px minmax(0,1fr) 260px;height:calc(100vh - 255px);min-height:610px;max-height:830px;border:1px solid #dfe7f1;border-radius:20px;background:#fff;box-shadow:0 18px 45px rgba(15,23,42,.10);overflow:hidden}.messenger-left-panel{display:flex;min-width:0;flex-direction:column;border-right:1px solid #e5ebf2;background:linear-gradient(180deg,#fbfdff,#f6f9fc)}.messenger-panel-header,.messenger-online-heading{display:flex;align-items:center;justify-content:space-between;padding:1.05rem 1.1rem .85rem}.messenger-panel-header h3,.messenger-online-heading h4{margin:0;color:#172033;font-weight:800}.messenger-eyebrow{display:block;margin-bottom:.1rem;color:#0f766e;font-size:.66rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.messenger-search{position:relative;margin:0 .9rem .75rem}.messenger-search i{position:absolute;left:.85rem;top:50%;color:#94a3b8;transform:translateY(-50%)}.messenger-search input{width:100%;height:42px;padding:0 .8rem 0 2.45rem;border:1px solid #dbe5ef;border-radius:13px;background:#fff;outline:none;transition:.18s}.messenger-search input:focus{border-color:#38bdf8;box-shadow:0 0 0 3px rgba(56,189,248,.12)}.messenger-tabs{display:grid;grid-template-columns:1fr 1fr;gap:.35rem;margin:0 .9rem .75rem;padding:.25rem;border-radius:12px;background:#eaf0f6}.messenger-tabs button{padding:.48rem .4rem;border:0;border-radius:9px;color:#64748b;background:transparent;font-size:.78rem;font-weight:800}.messenger-tabs button.is-active{color:#0f4d73;background:#fff;box-shadow:0 3px 10px rgba(15,23,42,.08)}.messenger-tabs span{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;margin-left:.25rem;border-radius:999px;background:#e2e8f0;font-size:.67rem}.messenger-list{display:none;min-height:0;flex:1;overflow:auto;padding:0 .55rem .7rem}.messenger-list.is-active{display:block}.messenger-list-item{display:flex;width:100%;align-items:center;gap:.7rem;margin:.2rem 0;padding:.7rem;border:0;border-radius:14px;color:#1e293b;text-align:left;background:transparent;transition:.16s}.messenger-list-item:hover{background:#edf5fb}.messenger-list-item.is-active{background:linear-gradient(135deg,#dff3ff,#e7f8f4);box-shadow:inset 3px 0 #0f8b8d}.messenger-list-item.has-unread{background:#eef8ff}.messenger-list-copy{display:block;min-width:0;flex:1}.messenger-list-top,.messenger-list-bottom{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:.5rem}.messenger-list-top strong{min-width:0;overflow:hidden;font-size:.86rem;text-overflow:ellipsis;white-space:nowrap}.messenger-list-top time,.messenger-list-top em{flex:none;color:#94a3b8;font-size:.65rem;font-style:normal}.messenger-list-bottom>span{min-width:0;overflow:hidden;color:#64748b;font-size:.73rem;text-overflow:ellipsis;white-space:nowrap}.messenger-list-bottom b{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;border-radius:999px;color:#fff;background:#ef4444;font-size:.65rem}.messenger-list-empty{display:flex;min-height:180px;align-items:center;justify-content:center;flex-direction:column;gap:.7rem;color:#94a3b8;font-size:.82rem}.messenger-list-empty i{font-size:1.5rem}.messenger-avatar{position:relative;display:inline-grid;width:42px;height:42px;min-width:42px;place-items:center;overflow:visible;border-radius:50%;color:#075985;background:linear-gradient(135deg,#dbeafe,#ccfbf1);font-weight:900;box-shadow:0 3px 10px rgba(15,23,42,.09)}.messenger-avatar.is-large{width:48px;height:48px;min-width:48px;font-size:1rem}.messenger-avatar img{width:100%;height:100%;border-radius:inherit;object-fit:cover}.messenger-presence-dot{position:absolute;right:-1px;bottom:1px;width:12px;height:12px;border:2px solid #fff;border-radius:50%;background:#22c55e}.messenger-chat-panel{display:flex;min-width:0;flex-direction:column;background:linear-gradient(180deg,#f8fbfd,#f2f6fa)}.messenger-chat-header{display:flex;min-height:72px;align-items:center;padding:.75rem 1rem;border-bottom:1px solid #e2e8f0;background:rgba(255,255,255,.94);backdrop-filter:blur(10px)}.messenger-chat-person{display:flex;min-width:0;align-items:center;gap:.75rem}.messenger-chat-person>div{min-width:0}.messenger-chat-person strong,.messenger-chat-person small{display:block}.messenger-chat-person strong{overflow:hidden;color:#172033;font-size:.96rem;text-overflow:ellipsis;white-space:nowrap}.messenger-chat-person small{color:#64748b;font-size:.72rem}.messenger-secure-pill{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .6rem;border-radius:999px;color:#0f766e;background:#dff7f0;font-size:.68rem;font-weight:800}.messenger-message-area{min-height:0;flex:1;overflow-y:auto;padding:1rem 1.15rem 1.4rem;scroll-behavior:smooth}.messenger-empty{display:flex;height:100%;min-height:320px;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#64748b}.messenger-empty>span{display:grid;width:78px;height:78px;margin-bottom:1rem;place-items:center;border-radius:26px;color:#fff;background:linear-gradient(135deg,#2563eb,#14b8a6);font-size:1.65rem;box-shadow:0 16px 35px rgba(37,99,235,.22)}.messenger-empty h4{margin:0 0 .35rem;color:#172033;font-weight:800}.messenger-empty p{max-width:330px;margin:0}.messenger-date-separator{display:flex;align-items:center;gap:.7rem;margin:1rem 0;color:#94a3b8;font-size:.66rem;font-weight:800;text-align:center}.messenger-date-separator::before,.messenger-date-separator::after{content:"";height:1px;flex:1;background:#dbe4ee}.messenger-message{display:flex;align-items:flex-end;gap:.55rem;margin:.45rem 0}.messenger-message.is-mine{justify-content:flex-end}.messenger-message>.messenger-avatar{width:30px;height:30px;min-width:30px;font-size:.72rem}.messenger-bubble{max-width:min(72%,620px);padding:.66rem .82rem .42rem;border-radius:16px 16px 16px 4px;color:#263547;background:#fff;box-shadow:0 5px 14px rgba(15,23,42,.075);word-break:break-word}.messenger-message.is-mine .messenger-bubble{border-radius:16px 16px 4px 16px;color:#fff;background:linear-gradient(135deg,#1769aa,#0f8b8d)}.messenger-bubble p{margin:0;white-space:pre-wrap}.messenger-message-meta{display:block;margin-top:.28rem;color:#94a3b8;font-size:.61rem;text-align:right}.messenger-message.is-mine .messenger-message-meta{color:rgba(255,255,255,.72)}.messenger-attachment{display:flex;min-width:210px;align-items:center;gap:.65rem;margin:.15rem 0;padding:.55rem .65rem;border:1px solid #dce7f1;border-radius:11px;color:#164e63;background:#f8fafc}.messenger-message.is-mine .messenger-attachment{border-color:rgba(255,255,255,.25);color:#fff;background:rgba(255,255,255,.12)}.messenger-attachment:hover{text-decoration:none}.messenger-attachment>i{font-size:1.1rem}.messenger-attachment strong,.messenger-attachment small{display:block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.messenger-attachment small{opacity:.75;font-size:.66rem}.messenger-composer{display:flex;align-items:flex-end;gap:.65rem;padding:.75rem 1rem;border-top:1px solid #dfe7ef;background:#fff}.messenger-attach-btn,.messenger-send-btn{display:inline-flex;height:42px;align-items:center;justify-content:center;border:0;border-radius:13px;cursor:pointer}.messenger-attach-btn{width:42px;min-width:42px;color:#47657d;background:#edf3f8}.messenger-attach-btn input{display:none}.messenger-compose-main{min-width:0;flex:1}.messenger-compose-main textarea{display:block;width:100%;max-height:130px;padding:.62rem .78rem;border:1px solid #dbe5ef;border-radius:13px;background:#f8fafc;outline:none;resize:none}.messenger-compose-main textarea:focus{border-color:#38bdf8;background:#fff;box-shadow:0 0 0 3px rgba(56,189,248,.10)}.messenger-compose-main small{display:block;max-width:100%;overflow:hidden;color:#64748b;font-size:.66rem;text-overflow:ellipsis;white-space:nowrap}.messenger-send-btn{gap:.4rem;padding:0 .9rem;color:#fff;background:linear-gradient(135deg,#2563eb,#0f8b8d);font-weight:800;box-shadow:0 8px 16px rgba(37,99,235,.19)}.messenger-send-btn:disabled,.messenger-composer textarea:disabled{cursor:not-allowed;opacity:.55}.messenger-online-panel{min-width:0;flex-direction:column;border-left:1px solid #e5ebf2;background:#fbfdff}.messenger-online-list{min-height:0;flex:1;overflow:auto;padding:0 .7rem}.messenger-online-user{display:flex;width:100%;align-items:center;gap:.65rem;margin:.15rem 0;padding:.62rem;border:0;border-radius:13px;text-align:left;background:transparent}.messenger-online-user:hover{background:#eef7f5}.messenger-online-user .messenger-avatar{width:36px;height:36px;min-width:36px;font-size:.75rem}.messenger-online-user>span:last-child{min-width:0}.messenger-online-user strong,.messenger-online-user small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.messenger-online-user strong{color:#233044;font-size:.8rem}.messenger-online-user small{color:#64748b;font-size:.66rem}.messenger-online-empty{padding:2rem 1rem;color:#94a3b8;font-size:.8rem;text-align:center}.messenger-privacy-note{display:flex;align-items:flex-start;gap:.65rem;margin:.7rem;padding:.8rem;border:1px solid #d7eee8;border-radius:14px;color:#0f766e;background:#effbf7}.messenger-privacy-note i{margin-top:.15rem}.messenger-privacy-note p,.messenger-privacy-note strong,.messenger-privacy-note span{display:block;margin:0}.messenger-privacy-note strong{font-size:.75rem}.messenger-privacy-note span{color:#52776f;font-size:.65rem}.messenger-toast{position:fixed;right:1.25rem;bottom:1.25rem;z-index:2000;max-width:360px;padding:.8rem 1rem;border-radius:13px;color:#fff;background:#334155;box-shadow:0 15px 35px rgba(15,23,42,.2);opacity:0;transform:translateY(18px);pointer-events:none;transition:.2s}.messenger-toast.is-show{opacity:1;transform:none}.messenger-toast.is-danger{background:#b91c1c}.messenger-toast.is-success{background:#047857}.messenger-install-icon{display:inline-grid;width:72px;height:72px;place-items:center;border-radius:24px;color:#fff;background:linear-gradient(135deg,#2563eb,#14b8a6);font-size:1.5rem}.navbar-messenger-online{position:absolute;right:0;bottom:3px;width:8px;height:8px;border:1px solid #fff;border-radius:50%;background:#22c55e}
@media(max-width:1199.98px){.messenger-app{grid-template-columns:310px minmax(0,1fr)}}@media(max-width:991.98px){.messenger-overview-row{grid-template-columns:repeat(2,minmax(0,1fr))}.messenger-app{position:relative;display:block;height:calc(100vh - 230px);min-height:600px}.messenger-left-panel{position:absolute;inset:0 auto 0 0;z-index:20;width:min(86vw,340px);height:100%;box-shadow:15px 0 35px rgba(15,23,42,.18);transform:translateX(-105%);transition:transform .2s}.messenger-sidebar-open .messenger-left-panel{transform:none}.messenger-chat-panel{height:100%}.messenger-bubble{max-width:82%}}@media(max-width:575.98px){.messenger-overview-row{grid-template-columns:1fr 1fr}.messenger-overview-card{padding:.7rem}.messenger-overview-card>span{width:36px;height:36px}.messenger-overview-card small{font-size:.61rem}.messenger-overview-card strong{font-size:.96rem}.messenger-app{height:calc(100vh - 245px);min-height:560px;border-radius:14px}.messenger-chat-header{min-height:64px;padding:.55rem}.messenger-secure-pill{display:none}.messenger-message-area{padding:.7rem}.messenger-composer{gap:.4rem;padding:.55rem}.messenger-bubble{max-width:88%}.messenger-send-btn{width:42px;padding:0}.messenger-attachment{min-width:180px}}
.messenger-floating-launch{position:fixed;right:1.25rem;bottom:1.25rem;z-index:1035;display:grid;width:54px;height:54px;place-items:center;border-radius:18px;color:#fff!important;background:linear-gradient(135deg,#2563eb,#0f8b8d);font-size:1.15rem;box-shadow:0 14px 30px rgba(15,95,150,.28);transition:transform .18s,box-shadow .18s}.messenger-floating-launch:hover{text-decoration:none;transform:translateY(-3px);box-shadow:0 18px 36px rgba(15,95,150,.34)}.messenger-floating-launch span{position:absolute;right:-5px;top:-5px;display:inline-flex;min-width:22px;height:22px;align-items:center;justify-content:center;padding:0 5px;border:2px solid #fff;border-radius:999px;color:#fff;background:#ef4444;font-size:.65rem;font-weight:900}.messenger-floating-launch span[hidden]{display:none!important}@media(max-width:575.98px){.messenger-floating-launch{right:.8rem;bottom:.8rem;width:48px;height:48px;border-radius:16px}}

/* V41 — popup, desktop notification and sound controls */
.notification-live-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .45rem;
    padding: .65rem .8rem;
    background: linear-gradient(135deg, #f7fbff, #f4fbfa);
}
.notification-live-tools .btn {
    border-radius: .65rem;
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}
.notification-live-tools .btn.is-active {
    color: #fff;
    border-color: #168568;
    background: #168568;
}
.notification-live-status {
    grid-column: 1 / -1;
    display: block;
    line-height: 1.3;
    text-align: center;
}
.realtime-notification-toasts {
    position: fixed;
    z-index: 1095;
    right: 1.1rem;
    top: 4.5rem;
    display: grid;
    width: min(390px, calc(100vw - 2rem));
    gap: .65rem;
    pointer-events: none;
}
.realtime-notification-toast {
    --notify-tone: #2563eb;
    position: relative;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 26px;
    align-items: center;
    gap: .75rem;
    min-height: 84px;
    padding: .85rem .75rem .85rem .85rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .32);
    border-left: 4px solid var(--notify-tone);
    border-radius: 1rem;
    color: #1f2937;
    background: rgba(255,255,255,.97);
    box-shadow: 0 20px 48px rgba(15, 23, 42, .2);
    opacity: 0;
    transform: translateX(35px) scale(.97);
    transition: opacity .22s ease, transform .22s ease;
    pointer-events: auto;
    backdrop-filter: blur(14px);
}
.realtime-notification-toast:hover {
    color: #111827;
    text-decoration: none;
    box-shadow: 0 24px 55px rgba(15, 23, 42, .25);
}
.realtime-notification-toast.is-visible { opacity: 1; transform: translateX(0) scale(1); }
.realtime-notification-toast.is-leaving { opacity: 0; transform: translateX(35px) scale(.97); }
.realtime-notification-toast:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, color-mix(in srgb, var(--notify-tone) 5%, transparent), transparent 45%);
    pointer-events: none;
}
.realtime-notification-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: .8rem;
    color: var(--notify-tone);
    background: color-mix(in srgb, var(--notify-tone) 12%, white);
    font-size: 1.05rem;
}
.realtime-notification-body {
    position: relative;
    z-index: 1;
    display: block;
    min-width: 0;
}
.realtime-notification-body small {
    display: block;
    color: var(--notify-tone);
    font-size: .65rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.realtime-notification-body strong {
    display: block;
    margin: .08rem 0 .15rem;
    overflow: hidden;
    color: #182235;
    font-size: .88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.realtime-notification-body > span {
    display: -webkit-box;
    overflow: hidden;
    color: #64748b;
    font-size: .76rem;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.realtime-notification-close {
    position: relative;
    z-index: 2;
    align-self: start;
    padding: 0;
    border: 0;
    color: #94a3b8;
    background: transparent;
    font-size: 1.3rem;
    line-height: 1;
}
.realtime-notification-toast.tone-success { --notify-tone: #16a34a; }
.realtime-notification-toast.tone-info { --notify-tone: #0891b2; }
.realtime-notification-toast.tone-warning { --notify-tone: #d97706; }
.realtime-notification-toast.tone-danger { --notify-tone: #dc2626; }
.realtime-notification-toast.tone-indigo { --notify-tone: #4f46e5; }
.realtime-notification-toast.tone-slate { --notify-tone: #475569; }
@media (max-width: 575.98px) {
    .realtime-notification-toasts { right: .65rem; top: 4rem; width: calc(100vw - 1.3rem); }
    .realtime-notification-toast { grid-template-columns: 40px minmax(0,1fr) 22px; min-height: 76px; padding: .72rem; }
    .realtime-notification-icon { width: 39px; height: 39px; }
}
.realtime-permission-prompt { grid-template-columns: 46px minmax(0,1fr) auto; }
.realtime-permission-prompt .btn { position: relative; z-index: 2; border-radius: .65rem; font-weight: 800; }
@media (max-width: 575.98px) { .realtime-permission-prompt { grid-template-columns: 40px minmax(0,1fr); } .realtime-permission-prompt .btn { grid-column: 1 / -1; } }

/* V47 — Rekursu Umanu: filtro, foto no tabela impressa */
.hr-filter-card {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(23, 59, 87, .08);
}
.hr-filter-card .card-header {
    border-bottom: 1px solid rgba(148, 163, 184, .18);
    background: linear-gradient(135deg, rgba(37, 99, 235, .06), rgba(14, 165, 233, .04));
    border-radius: 18px 18px 0 0;
}
.hr-user-photo {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .15);
    background: #eef2f7;
}
.hr-user-photo-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}
.hr-employee-table td,
.hr-report-table td {
    vertical-align: middle;
}
.hr-employee-table thead th,
.hr-report-table thead th {
    white-space: nowrap;
    background: #f8fafc;
    border-bottom: 2px solid #dbe4ee;
}
.hr-report-table .badge,
.hr-employee-table .badge {
    white-space: normal;
}
@media (max-width: 767.98px) {
    .hr-filter-card .form-group { margin-bottom: .75rem; }
    .hr-user-photo { width: 42px; height: 42px; min-width: 42px; border-radius: 12px; }
}
/* V384 - Global access-denied modal */
.access-denied-modal .modal-dialog{max-width:410px}
.access-denied-modal .modal-content{overflow:hidden;border:0;border-radius:24px;background:#fff;box-shadow:0 26px 75px rgba(19,49,86,.28)}
.access-denied-modal .modal-content:before{content:"";display:block;height:7px;background:linear-gradient(90deg,#17365d 0%,#2e75b6 62%,#e36c0a 100%)}
.access-denied-modal .modal-body{padding:32px 28px 28px}
.access-denied-close{position:absolute;z-index:2;top:18px;right:18px;width:34px;height:34px;border:0;border-radius:50%;background:#eef3f8;color:#53657a;transition:.2s ease}
.access-denied-close:hover,.access-denied-close:focus{background:#dfe9f3;color:#17365d;outline:0;transform:rotate(4deg)}
.access-denied-icon{position:relative;display:grid;place-items:center;width:82px;height:82px;margin:0 auto 18px;border-radius:24px;background:linear-gradient(145deg,#e9f2fb,#f8fbfe);color:#2e75b6;font-size:38px;box-shadow:inset 0 0 0 1px #d8e6f3}
.access-denied-icon span{position:absolute;right:-4px;bottom:-4px;display:grid;place-items:center;width:34px;height:34px;border:4px solid #fff;border-radius:50%;background:#e36c0a;color:#fff;font-size:13px}
.access-denied-kicker{display:inline-block;margin-bottom:7px;color:#e36c0a;font-size:.69rem;font-weight:800;letter-spacing:.13em}
.access-denied-modal .modal-title{margin:0 0 10px;color:#17365d;font-size:1.45rem;font-weight:800}
.access-denied-modal p{margin:0;color:#33465c;font-size:.96rem;line-height:1.55}
.access-denied-modal small{display:block;margin:13px auto 22px;color:#718096;font-size:.78rem;line-height:1.45}
.access-denied-confirm{min-width:155px;padding:.68rem 1.2rem;border-radius:12px;background:#17365d;color:#fff;font-weight:700;box-shadow:0 9px 20px rgba(23,54,93,.2)}
.access-denied-confirm:hover,.access-denied-confirm:focus{background:#245589;color:#fff;box-shadow:0 11px 24px rgba(23,54,93,.27)}
@media (max-width:575.98px){.access-denied-modal .modal-dialog{margin:1rem}.access-denied-modal .modal-body{padding:28px 21px 23px}.access-denied-icon{width:72px;height:72px;font-size:33px}}

/* V385 - User active list, soft delete and password-protected trash */
.user-active-only-badge{padding:.48rem .68rem;border-radius:999px;font-size:.74rem;box-shadow:0 5px 14px rgba(40,167,69,.14)}
.user-trash-card{overflow:hidden;border:0;border-radius:18px;box-shadow:0 12px 34px rgba(23,54,93,.09)}
.user-trash-card .card-header{padding:1rem 1.2rem;border-bottom:1px solid #e8eef5;background:linear-gradient(135deg,#fff 0%,#f7fafe 100%)}
.user-trash-table thead th{border-top:0;background:#f7f9fc;color:#526174;font-size:.75rem;letter-spacing:.035em;text-transform:uppercase;white-space:nowrap}
.user-trash-table td{vertical-align:middle}
.user-trash-table .user-table-photo{width:42px;height:42px;min-width:42px;border-radius:13px;object-fit:cover;background:#edf2f7;color:#7b8ca2}
.user-soft-delete-modal .modal-dialog,.user-danger-modal .modal-dialog{max-width:430px}
.user-soft-delete-modal .modal-content,.user-danger-modal .modal-content{overflow:hidden;border:0;border-radius:24px;box-shadow:0 26px 75px rgba(43,30,35,.25)}
.user-soft-delete-modal .modal-content:before,.user-danger-modal .modal-content:before{content:"";display:block;height:7px;background:linear-gradient(90deg,#f0ad4e 0%,#dc3545 100%)}
.user-soft-delete-modal .modal-body,.user-danger-modal .modal-body{padding:31px 29px 28px}
.user-soft-delete-icon,.user-danger-icon{position:relative;display:grid;place-items:center;width:82px;height:82px;margin:0 auto 17px;border-radius:25px;background:linear-gradient(145deg,#fff2e8,#fff8f5);color:#dc3545;font-size:34px;box-shadow:inset 0 0 0 1px #f6d6d9}
.user-soft-delete-icon span{position:absolute;right:-4px;bottom:-4px;display:grid;place-items:center;width:34px;height:34px;border:4px solid #fff;border-radius:50%;background:#f0ad4e;color:#fff;font-size:12px}
.user-danger-icon{background:linear-gradient(145deg,#ffecef,#fff8f8);font-size:37px}
.user-danger-kicker{display:inline-block;margin-bottom:7px;color:#dc3545;font-size:.69rem;font-weight:800;letter-spacing:.13em}
.user-soft-delete-modal .modal-title,.user-danger-modal .modal-title{margin:0 0 10px;color:#29384a;font-weight:800}
.user-soft-delete-modal p,.user-danger-modal p{margin:0;color:#47576b;line-height:1.55}
.user-danger-modal .form-control{height:44px;border-radius:11px 0 0 11px}
.user-danger-modal .input-group-append .btn{border-radius:0 11px 11px 0}
@media (max-width:575.98px){.user-soft-delete-modal .modal-dialog,.user-danger-modal .modal-dialog{margin:1rem}.user-soft-delete-modal .modal-body,.user-danger-modal .modal-body{padding:27px 20px 23px}.user-trash-table{min-width:780px}}
