#wrapper {
    width: 100%;
}
#page-wrapper {
    padding:7em 2em 2.5em;
	background-color: #F1F1F1;
    padding-bottom: 240px;
/*    height: 100vh;*/
}
.navbar-top-links {
    margin-right: 0;
}

.navbar-top-links li {
    display: inline-block;
}

.navbar-top-links li:last-child {
    margin-right: 15px;
}

.navbar-top-links li a {
    padding: 15px;
    min-height: 50px;
}

.navbar-top-links .dropdown-menu li {
    display: block;
}

.navbar-top-links .dropdown-menu li:last-child {
    margin-right: 0;
}

.navbar-top-links .dropdown-menu li a {
    padding: 3px 20px;
    min-height: 0;
}

.navbar-top-links .dropdown-menu li a div {
    white-space: normal;
}

.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
    width: 310px;
    min-width: 0;
}
.navbar-top-links .dropdown-messages {
    margin-left: 5px;
}
.navbar-top-links .dropdown-tasks {
    margin-left: -59px;
}

.navbar-top-links .dropdown-alerts {
    margin-left: -123px;
}

.navbar-top-links .dropdown-user {
    right: 0;
    left: auto;
}

.sidebar .sidebar-nav.navbar-collapse {
    padding-right: 0;
    padding-left: 0;
}

.sidebar .sidebar-search {
    padding: 15px;
}
.sidebar .arrow {
    float: right;
}

.sidebar .fa.arrow:before {
    content: "\f104";
}

.sidebar .active>a>.fa.arrow:before {
    content: "\f107";
}

.sidebar .nav-second-level li,
.sidebar .nav-third-level li {
    border-bottom: 0!important;
	margin-bottom: 0;
}

.sidebar .nav-second-level li a {
    padding-left: 53px;
    font-size: .9em;
}
.sidebar .nav-third-level li a {
    padding-left: 52px;
}
@media(min-width:768px){
    .navbar-top-links .dropdown-messages,
    .navbar-top-links .dropdown-tasks,
    .navbar-top-links .dropdown-alerts {
        margin-left: auto;
    }
}

:root {
    --spa-bg: #f4f1ea;
    --spa-surface: rgba(255, 255, 255, 0.82);
    --spa-surface-strong: #ffffff;
    --spa-border: rgba(61, 48, 33, 0.10);
    --spa-border-strong: rgba(61, 48, 33, 0.16);
    --spa-text: #2b241d;
    --spa-muted: #766a5f;
    --spa-accent: #b16a3f;
    --spa-accent-dark: #8a4f2b;
    --spa-highlight: #1f6b63;
    --spa-danger: #c2564f;
    --spa-shadow: 0 24px 60px rgba(61, 48, 33, 0.12);
    --spa-shadow-soft: 0 12px 30px rgba(61, 48, 33, 0.08);
    --spa-radius: 24px;
    --spa-radius-sm: 16px;
}

html,
body {
    background:
        radial-gradient(circle at top left, rgba(177, 106, 63, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(31, 107, 99, 0.12), transparent 24%),
        linear-gradient(180deg, #f8f4ef 0%, #f2ede5 100%);
    color: var(--spa-text);
}

body {
    font-family: "Public Sans", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", sans-serif;
}

body a {
    color: var(--spa-accent-dark);
}

body a:hover,
body a:focus {
    color: var(--spa-accent);
}

#page-wrapper {
    position: relative;
    padding: 8.6em 2rem 2.5rem;
    background: transparent;
    min-height: 100vh;
}

#page-wrapper::before {
    content: "";
    position: absolute;
    inset: 104px 18px 18px 18px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(6px);
    z-index: 0;
}

#page-wrapper > * {
    position: relative;
    z-index: 1;
}

.main-page {
    max-width: 100%;
}

.sticky-header.header-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 24px;
    margin: 14px 18px 0 !important;
    width: calc(100% - 36px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 28px;
    background: rgba(255, 248, 241, 0.74);
    backdrop-filter: blur(18px);
    box-shadow: var(--spa-shadow-soft);
}

.main-content {
    position: relative;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    float: none;
    width: auto;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(145deg, #fffdf9, #f2e8dd);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--spa-shadow-soft);
}

.logo-top {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.header-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header-kicker {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--spa-muted);
}

.header-brand-copy strong {
    font-size: 18px;
    color: var(--spa-text);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-translate {
    padding: 9px 14px;
    border: 1px solid var(--spa-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
}

.header-alert-toggle,
.profile-trigger {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid var(--spa-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--spa-shadow-soft);
}

.header-alert-toggle i {
    font-size: 18px;
}

.header-alert-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--spa-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.profile_img {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-summary {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.prfil-img img,
.avatar img {
    border-radius: 16px;
    object-fit: cover;
}

.avatar-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--spa-accent), var(--spa-accent-dark));
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: var(--spa-shadow-soft);
}

.avatar-initials-lg {
    width: 50px;
    height: 50px;
    border-radius: 18px;
}

.user-name p,
.profile-menu-head strong {
    margin: 0;
    color: var(--spa-text);
    font-weight: 700;
}

.user-name span,
.profile-menu-head span {
    display: block;
    font-size: 12px;
    color: var(--spa-muted);
}

.header-dropdown {
    min-width: 280px;
    margin-top: 12px;
    padding: 10px;
    border: 1px solid var(--spa-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--spa-shadow);
}

.header-dropdown li {
    list-style: none;
}

.header-dropdown .dropdown-item,
.header-dropdown li > a {
    display: block;
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--spa-text);
}

.header-dropdown .dropdown-item:hover,
.header-dropdown li > a:hover {
    background: rgba(177, 106, 63, 0.08);
}

.notification_header,
.notification_bottom,
.profile-menu-head {
    padding: 10px 12px;
}

.notification_header h3 {
    font-size: 15px;
    font-weight: 700;
}

.avatar-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cbp-spmenu-vertical {
    top: 18px;
    left: 18px;
    width: 309px;
    height: calc(100vh - 36px);
    padding: 18px;
    border-right: none;
    border-radius: 32px;
    background:
        radial-gradient(circle at top left, rgba(214, 169, 118, 0.22), transparent 28%),
        radial-gradient(circle at bottom right, rgba(91, 139, 132, 0.14), transparent 22%),
        linear-gradient(180deg, rgba(250, 245, 238, 0.98) 0%, rgba(242, 232, 221, 0.98) 100%);
    box-shadow: 0 28px 70px rgba(94, 73, 49, 0.18);
    overflow: hidden;
}

.sidebar-panel {
    position: relative;
    height: 100%;
    padding: 2px;
}

.sidebar-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    border: 1px solid rgba(109, 85, 58, 0.12);
    pointer-events: none;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
    padding: 16px 18px;
    border: 1px solid rgba(109, 85, 58, 0.10);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 247, 239, 0.45));
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.sidebar-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    padding: 6px;
}

.sidebar-brand strong,
.sidebar-brand span {
    display: block;
}

.sidebar-brand strong {
    color: #2d2118;
    font-size: 16px;
}

.sidebar-brand span {
    color: rgba(108, 87, 66, 0.72);
    font-size: 12px;
}

.sidebar ul li {
    padding: 0;
    margin-bottom: 8px;
}

.sidebar .sidetab {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 4px;
}

.sidebar .nav-item > a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 13px 16px;
    border: 1px solid transparent;
    border-radius: 18px;
    color: rgba(68, 49, 34, 0.88);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.01em;
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.sidebar .nav-item > a i:first-child {
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(177, 106, 63, 0.16), rgba(255, 255, 255, 0.55));
    color: #85502f;
    font-size: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.sidebar .nav-item > a .arrow {
    margin-left: auto;
    float: none;
    font-size: 14px;
    color: rgba(112, 90, 68, 0.56);
    transition: transform 0.35s ease, color 0.35s ease;
}

.sidebar .nav > li > a:hover,
.sidebar .nav > li > a:focus,
.sidebar .nav-item.active > a,
.sidebar .nav-item > a.active {
    background: linear-gradient(135deg, rgba(244, 205, 162, 0.92), rgba(232, 181, 124, 0.88));
    color: #1f1711 !important;
    margin: 0;
    padding: 13px 16px;
    border-color: rgba(255, 222, 190, 0.32);
    transform: translateX(4px);
    box-shadow: 0 18px 34px rgba(103, 66, 35, 0.16);
}

.sidebar .nav > li > a:hover i:first-child,
.sidebar .nav > li > a:focus i:first-child,
.sidebar .nav-item.active > a i:first-child,
.sidebar .nav-item > a.active i:first-child {
    background: rgba(86, 47, 21, 0.12);
    color: #734422;
    transform: translateY(-1px);
}

.sidebar .nav-item.active > a,
.sidebar .nav-item > a.active {
    box-shadow: 0 18px 34px rgba(103, 66, 35, 0.16);
}

.sidebar .nav-item > a.active,
.sidebar .nav-item > a.active span,
.sidebar .nav-item > a.active .arrow {
    color: #2b170d !important;
}

.sidebar .nav-item > a.active .arrow {
    color: #734422;
    transform: rotate(90deg);
}

.sidebar .nav-item.active > a:not(.active),
.sidebar .nav-item.active > a:not(.active) span {
    color: rgba(66, 49, 35, 0.92) !important;
}

.sidebar .nav-item.active > a:not(.active) i:first-child {
    background: linear-gradient(135deg, rgba(177, 106, 63, 0.16), rgba(255, 255, 255, 0.55));
    color: #85502f !important;
}

.sidebar .nav-item.active > a:not(.active) .arrow {
    color: rgba(112, 90, 68, 0.72) !important;
    transform: rotate(90deg);
}

.sidebar .nav-second-level {
    display: block;
    margin: 6px 0 14px;
    padding: 0 0 0 14px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    border-left: 1px solid rgba(140, 115, 90, 0.16);
    transition: max-height 0.38s ease, opacity 0.28s ease, transform 0.32s ease, padding 0.32s ease;
}

.sidebar .nav-second-level.show,
.sidebar .nav-second-level.in {
    max-height: 420px;
    opacity: 1;
    transform: translateY(0);
    padding-top: 8px;
}

.sidebar .nav-second-level li {
    margin-bottom: 6px;
}

.sidebar .nav-second-level li a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 12px 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(92, 72, 54, 0.76);
    border: 1px solid transparent;
    transition: background 0.32s ease, color 0.32s ease, border-color 0.32s ease, transform 0.32s ease;
}

.sidebar .nav-second-level li a i:first-child {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-right: 0;
    background: transparent;
    color: rgba(138, 111, 87, 0.56);
    font-size: 9px !important;
    transition: color 0.32s ease, transform 0.32s ease;
}

.sidebar .nav-second-level li a:hover,
.sidebar .nav-second-level li a.active {
    background: linear-gradient(135deg, rgba(196, 228, 224, 0.72), rgba(224, 238, 234, 0.84));
    color: #29423f !important;
    transform: translateX(4px);
    border: 1px solid rgba(141, 181, 177, 0.32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.sidebar .nav-second-level li a:hover i:first-child,
.sidebar .nav-second-level li a.active i:first-child {
    color: #3f6c67;
    transform: scale(1.06);
}

.sidebar .nav-second-level li a.active,
.sidebar .nav-second-level li a.active span,
.sidebar .nav-second-level li a.active .font {
    color: #29423f !important;
    font-weight: 700;
}

.sidebar .nav-item > a[href="logout.php"] {
    margin-top: 6px;
    border-color: rgba(180, 99, 90, 0.16);
    background: linear-gradient(135deg, rgba(255, 234, 230, 0.85), rgba(248, 221, 214, 0.9));
    color: #8b443d;
}

.sidebar .nav-item > a[href="logout.php"] i:first-child {
    background: rgba(198, 86, 79, 0.12);
    color: #8b443d;
}

#leftCol::-webkit-scrollbar {
    width: 8px;
}

#leftCol::-webkit-scrollbar-track {
    background: transparent;
}

#leftCol::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
}

.cbp-spmenu-push div#page-wrapper {
    margin: 0 0 0 21.5em;
}

.cbp-spmenu-left.cbp-spmenu-open {
    left: 18px;
}

button#showLeftPush,
.header-toggle {
    width: 50px;
    height: 50px;
    padding: 0;
    border: 1px solid var(--spa-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--spa-text);
    font-size: 20px;
}

@media (max-width: 1024px) {
    .header-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
}

@media (min-width: 992px) {
    .sticky-header.header-section {
        left: 343px;
        width: calc(100% - 361px);
    }

    .header-toggle {
        display: none !important;
    }

    .cbp-spmenu-vertical {
        left: 18px !important;
    }

    .cbp-spmenu-push,
    .cbp-spmenu-push-toright {
        left: 0 !important;
    }

    .cbp-spmenu-push div#page-wrapper,
    .cbp-spmenu-push.cbp-spmenu-push-toright div#page-wrapper {
        margin-left: 21.5em;
    }

    #page-wrapper {
        width: calc(100% - 21.5em);
        margin-left: 21.5em;
    }
}

h3.title1 {
    margin-bottom: 24px;
    color: var(--spa-text);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.title1 + p {
    color: var(--spa-muted);
}

.widget-shadow,
.table-responsive.bs-example,
.form-grids,
.dashboard-section,
.calendar-shell {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--spa-radius);
    background: var(--spa-surface);
    backdrop-filter: blur(14px);
    box-shadow: var(--spa-shadow-soft);
}

.tables .bs-example,
.tables .table-responsive,
.form-grids.row.widget-shadow {
    overflow: hidden;
}

.form-title {
    padding: 24px 28px 0;
    background: transparent;
    border: 0;
}

.form-title h4,
.tables h4,
.widget-shadow h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--spa-text);
}

.form-body {
    padding: 24px 28px 28px;
}

.forms label,
.control-label,
.form-label {
    margin-bottom: 8px;
    color: var(--spa-text);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.form-control,
select.form-control,
textarea.form-control {
    min-height: 46px;
    border: 1px solid var(--spa-border-strong);
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: none;
    color: var(--spa-text);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
    border-color: rgba(177, 106, 63, 0.45);
    box-shadow: 0 0 0 4px rgba(177, 106, 63, 0.12);
}

.radio {
    padding-top: 8px;
}

.radio label {
    margin-right: 18px;
    font-weight: 600;
    color: var(--spa-muted);
}

.btn,
button,
input[type="submit"] {
    border-radius: 14px !important;
}

.btn-default,
.forms button.btn.btn-default,
.btn-primary,
.btn-success,
.search-btn {
    padding: 11px 20px;
    border: none;
    background: linear-gradient(135deg, var(--spa-accent), var(--spa-accent-dark));
    color: #fff;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(177, 106, 63, 0.22);
}

.btn-danger {
    background: linear-gradient(135deg, #ce6b62, #b64c46);
    border: none;
}

.btn-primary:hover,
.btn-default:hover,
.btn-success:hover,
.btn-danger:hover,
input[type="submit"]:hover {
    opacity: 0.95;
    color: #fff;
}

.table {
    margin: 0;
    background: transparent;
}

.table > thead > tr > th {
    padding: 16px 18px !important;
    border-bottom: 1px solid var(--spa-border);
    color: var(--spa-text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.table > tbody > tr > td,
.table > tbody > tr > th {
    padding: 16px 18px !important;
    border-top: 1px solid rgba(61, 48, 33, 0.08) !important;
    vertical-align: middle !important;
    color: var(--spa-text);
}

.table > tbody > tr:hover {
    background: rgba(177, 106, 63, 0.05);
}

.dataTables_wrapper {
    padding: 22px 24px 24px;
}

.dt-buttons .btn {
    margin-right: 8px;
    margin-bottom: 10px;
}

.dashboard-boxes {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 132px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 24px;
    box-shadow: var(--spa-shadow-soft);
}

.dashboard-boxes label {
    display: block;
    margin-bottom: 6px;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.dashboard-boxes h4 {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 600;
}

.fs {
    font-size: 32px !important;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.16);
}

.bg1,
.bg2,
.bg3,
.bg4,
.bg5,
.bg6,
.bg7,
.bg8,
.bg9 {
    color: #fff;
}

.bg1 { background: linear-gradient(135deg, #8a4f2b, #c88757) !important; }
.bg2 { background: linear-gradient(135deg, #1f6b63, #3d9486) !important; }
.bg3 { background: linear-gradient(135deg, #98503d, #d38d73) !important; }
.bg4 { background: linear-gradient(135deg, #4e5c3b, #7f9660) !important; }
.bg5 { background: linear-gradient(135deg, #6a3c34, #b56e5f) !important; }
.bg6 { background: linear-gradient(135deg, #39455b, #6d84a3) !important; }
.bg7 { background: linear-gradient(135deg, #8a6124, #ce9653) !important; }
.bg8 { background: linear-gradient(135deg, #5d5a5a, #9b938c) !important; }
.bg9 { background: linear-gradient(135deg, #355a52, #4b877d) !important; }

#calendar {
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--spa-shadow-soft);
}

.fc .fc-toolbar-title {
    color: var(--spa-text);
    font-size: 1.35rem;
    font-weight: 800;
}

.fc .fc-button {
    border: none !important;
    background: rgba(177, 106, 63, 0.12) !important;
    color: var(--spa-accent-dark) !important;
    text-transform: capitalize !important;
    box-shadow: none !important;
}

.fc .fc-button.fc-button-active,
.fc .fc-button:hover {
    background: var(--spa-accent) !important;
    color: #fff !important;
}

.login {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(177, 106, 63, 0.24), transparent 24%),
        radial-gradient(circle at bottom right, rgba(31, 107, 99, 0.20), transparent 22%),
        linear-gradient(135deg, #f4ede5 0%, #efe6db 100%);
}

@media (max-width: 991px) {
    .sticky-header.header-section {
        left: 0;
        margin: 12px !important;
        width: calc(100% - 24px);
        padding: 12px 14px;
        gap: 12px;
        flex-wrap: nowrap;
    }

    .cbp-spmenu-vertical {
        top: 88px;
        left: -312px;
        width: 292px;
        height: calc(100vh - 100px);
        z-index: 1200;
    }

    .cbp-spmenu-left.cbp-spmenu-open {
        left: 12px;
    }

    .cbp-spmenu-push div#page-wrapper {
        margin-left: 0;
        padding-top: 8.25em;
    }

    #page-wrapper {
        width: 100%;
        margin-left: 0;
    }

    #page-wrapper::before {
        inset: 92px 12px 12px 12px;
    }

    #leftCol {
        width: 100%;
        max-height: calc(100vh - 210px);
    }
}

@media (max-width: 767px) {
    .sticky-header.header-section {
        padding: 10px 12px;
        gap: 10px;
        border-radius: 22px;
    }

    .header-left,
    .header-right {
        width: auto;
        gap: 10px;
        min-width: 0;
    }

    .header-brand {
        gap: 10px;
        min-width: 0;
    }

    .header-brand-link {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .logo-top {
        width: 28px;
        height: 28px;
    }

    .header-kicker {
        display: none;
    }

    .header-brand-copy strong {
        font-size: 14px;
        line-height: 1.2;
    }

    .header-tools {
        gap: 8px;
        flex-wrap: nowrap;
    }

    .header-translate {
        display: none;
    }

    .header-alert-toggle,
    .profile-trigger {
        padding: 8px 10px;
        border-radius: 14px;
        gap: 8px;
    }

    .profile-trigger {
        min-width: 0;
    }

    .profile_img {
        gap: 8px;
    }

    .user-name {
        display: block;
    }

    .user-name p {
        font-size: 12px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .user-name span {
        display: none;
    }

    #page-wrapper {
        padding: 7.5em 1rem 1.25rem;
    }

    .form-body,
    .dataTables_wrapper {
        padding: 18px;
    }

    .dashboard-boxes {
        min-height: auto;
    }
}

.page-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.page-toolbar p {
    margin: 8px 0 0;
    color: #7a6958;
}

.crud-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    box-shadow: var(--spa-shadow-soft, 0 20px 60px rgba(57, 42, 28, 0.12));
    overflow: hidden;
}

.table-action-group {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.panel-loading-dialog {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(43, 29, 17, 0.42);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 4000;
}

.panel-loading-dialog.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.panel-loading-card {
    min-width: 280px;
    max-width: 92vw;
    padding: 28px 30px;
    border-radius: 24px;
    text-align: center;
    background: #fffdf9;
    box-shadow: 0 24px 70px rgba(60, 37, 20, 0.2);
}

.panel-loading-card strong,
.panel-loading-card small {
    display: block;
}

.panel-loading-card strong {
    margin-bottom: 6px;
    color: #2e2419;
    font-size: 18px;
}

.panel-loading-card small {
    color: #7f7062;
}

.panel-loading-spinner {
    display: inline-block;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border: 4px solid rgba(177, 106, 63, 0.18);
    border-top-color: #b16a3f;
    border-radius: 50%;
    animation: panelSpin 0.9s linear infinite;
}

.panel-toast {
    position: fixed;
    right: 20px;
    bottom: 22px;
    min-width: 240px;
    max-width: 360px;
    padding: 14px 18px;
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 18px 40px rgba(32, 24, 16, 0.2);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 4100;
}

.panel-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.panel-toast-success {
    background: linear-gradient(135deg, #1f6b63, #3d9486);
}

.panel-toast-error {
    background: linear-gradient(135deg, #b84f45, #d87b67);
}

.entity-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(177, 106, 63, 0.12);
    color: #8b4a25;
    font-weight: 700;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.status-chip.is-active {
    background: rgba(61, 148, 134, 0.12);
    color: #1f6b63;
}

.status-chip.is-inactive {
    background: rgba(184, 79, 69, 0.12);
    color: #b84f45;
}

@keyframes panelSpin {
    to {
        transform: rotate(360deg);
    }
}
