.mk-text-15 {
    font-size: 15px;
}

.mk-text-20 {
    font-size: 20px;
}

.mk-text-50 {
    font-size: 50px;
}

.mk-m-t-none {
    margin-top: 0;
}

.mk-m-r-2 {
    margin-right: 2px;
}

.mk-m-r-5 {
    margin-right: 5px;
}

.mk-m-r-10 {
    margin-right: 10px;
}

.mk-m-t-10 {
    margin-top: 10px;
}

.mk-m-t-20 {
    margin-top: 20px;
}

.mk-m-t-30 {
    margin-top: 30px;
}

.mk-m-b-10 {
    margin-bottom: 10px;
}

.mk-chart-indicator {
    display: inline-flex;
    align-items: center;
}

.mk-form-checkbox {
    margin-bottom: 15px;
}

.mk-form-checkbox>label {
    display: inline-flex;
    align-items: center;
}

.mk-form-checkbox>label:hover {
    cursor: pointer;
}

.mk-form-checkbox>label>input[type="checkbox"] {
    margin-top: 0;
    margin-left: 4px;
}

@media (min-width: 992px) {
    .card form.mk-card-horizontal-form div[class*="col-"] {
        padding: 0 15px 0 15px;
    }

    .card form.mk-card-horizontal-form label[class*="col-"] {
        padding-top: 8px;
    }
}

.mk-hover-pointer:hover {
    cursor: pointer;
}

.badge-big {
    padding: 1px 9px 2px;
    font-size: 14.025px;
    font-weight: bold;
    white-space: nowrap;
    color: #ffffff;
    background-color: #999999;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
}

.badge-error {
    background-color: #b94a48;
}

.badge-error:hover {
    background-color: #953b39;
}

.badge-warning {
    background-color: #f89406;
}

.badge-warning:hover {
    background-color: #c67605;
}

.badge-success {
    background-color: #468847;
}

.badge-success:hover {
    background-color: #356635;
}

.badge-info {
    background-color: #3a87ad;
}

.badge-info:hover {
    background-color: #2d6987;
}

.badge-inverse {
    background-color: #333333;
}

.badge-inverse:hover {
    background-color: #1a1a1a;
}

.panel-danger>.panel-heading {
    color: #d9275f !important;
    background-color: #d9275f !important;
    border-color: #ebccd1 !important;
}


.panel-title-white {
    color: white !important;
}

.glyphicon-plus {
    color: white !important;
}

.glyphicon-chevron-down {
    color: white !important;
}

ul.breadcrumb {
    padding: 10px 16px;
    list-style: none;
    background-color: #00000014;
}

ul.breadcrumb li {
    display: inline;
    font-size: 18px;
}

ul.breadcrumb li+li:before {
    padding: 8px;
    color: black;
    content: "/\00a0";
}

ul.breadcrumb li a {
    color: #0275d8;
    text-decoration: none;
}

ul.breadcrumb li a:hover {
    color: #01447e;
    text-decoration: underline;
}


:root {

    --primary-color: #01577c;
    --primary-hover: #026aa6;
    --primary-light-bg: #f0f5fc;
    --primary-shadow: #01577c40;

    --success-color: #289140;
    --success-hover: #218838;
    --success-shadow: #28a74540;

    --warning-color: #f57c00;
    --warning-hover: #e65100;
    --warning-shadow: #f57c004d;

    --danger-color: #dc3545;
    --danger-hover: #c82333;
    --danger-shadow: #dc35454d;

    --bg-white: #ffffff;
    --text-main: #111827;
    --text-secondary: #64748b;
    --text-tertiary: #394b5a;

    --border-light: #e2e8f0;
    --border-medium: #caced4;
    --border-strong: #b4b4b4;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    padding: 10px 20px;
    border-radius: 12px;
}

.header-titles {
    display: flex;
    flex-direction: column;
    gap: 1.5px;
}

.dashboard-header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 5px;
}

.dashboard-header p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin: 0;
}

.text-secondary-small {
    color: var(--primary-color) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}


.btn-back {
    background: var(--bg-white);
    border: 1.2px solid var(--border-medium);
    color: var(--text-tertiary);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-back:hover {
    background: var(--primary-light-bg);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateX(-3px);
    box-shadow: 0 2px 5px var(--primary-shadow);
}

.btn-back:focus {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 1.2rem;
    border-radius: 8px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    height: 38px;
}

.btn-modern-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.btn-modern-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px var(--primary-shadow);
    color: white;
}

.btn-modern-actions {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--border-strong);
}

.btn-modern-actions i {
    font-size: 2.8rem;
}

.btn-modern-actions:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px var(--primary-shadow);
    color: white;
    border-color: var(--primary-color);
}

.btn-modern-success {
    background-color: var(--success-color) !important;
    color: white;
}

.btn-modern-success:hover {
    background-color: var(--success-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px var(--success-shadow);
    color: white;
}

.btn-modern-edit {
    background-color: var(--warning-color);
    color: white;
    border: none;
}

.btn-modern-edit:hover {
    background-color: var(--warning-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px var(--warning-shadow);
    color: white;
}

.btn-modern-delete {
    background-color: var(--danger-color);
    color: white;
    border: none;
}

.btn-modern-delete:hover {
    background-color: var(--danger-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px var(--danger-shadow);
    color: white;
}

.btn-modern-default {
    background-color: #e2e8f0;
    color: #475569;
    border: none;
}

.btn-modern-default:hover {
    background-color: #cbd5e1;
    color: #1e293b;
    transform: translateY(-2px);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown:hover .dropbtn:hover {
    color: var(--primary-hover) !important;
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: row !important;
        align-items: center !important;
        gap: 1.5rem;
        padding: 1rem;
    }
}

.custom-modern-navbar {
    background-color: #003044;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 5px 0;
    border-radius: 0;
    margin-bottom: 20px;
}

.custom-modern-navbar .navbar-toggle {
    border-color: rgba(255, 255, 255, 0.3);
    margin-top: 12px;
}

.custom-modern-navbar .navbar-toggle .icon-bar {
    background-color: #ffffff;
}

.custom-modern-navbar .navbar-toggle:hover,
.custom-modern-navbar .navbar-toggle:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
    .custom-modern-navbar .navbar-header {
        float: none;
    }

    .custom-modern-navbar .navbar-toggle {
        display: block !important;
    }

    .custom-modern-navbar .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
}

.modern-profile {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 15px !important;
    height: auto;
}


.avatar-circle {
    width: 35px;
    height: 35px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #003044;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.info-pill-wrapper {
    display: flex;
    align-items: center;
    padding: 0 10px;
    height: 100%;
}

.info-pill {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    white-space: nowrap;
    cursor: default;
}

.info-pill i {
    color: rgba(255, 255, 255, 0.6);
}

.info-pill .pill-label {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

.info-pill .pill-value {
    font-weight: 700;
    color: #ffffff;
}

.modern-navbar {
    background-color: #003044;
    padding: 5px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
    padding-right: 30px;
}

.navbar-left {
    display: flex;
    align-items: center;
}

.hamburger-btn {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: #ffffff;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s;
}

.hamburger-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
.hamburger-btn:active {
    transform: scale(0.92);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 25px;

}

.enterprise-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 25px;
}

.enterprise-info i {
    color: #ffffff;
}

.icon-btn.modern-icon-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8) !important;
    cursor: pointer;
    transition: color 0.2s;
    width: auto;
    height: auto;
    padding: 12px !important;
    margin: 0;
    border-radius: 8px !important;
}

.icon-btn.modern-icon-btn:hover,
.modern-dropdown.open .icon-btn.modern-icon-btn {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.logout-direct-btn.modern-icon-btn {
    color: #ff6b6b !important;
}

.logout-direct-btn.modern-icon-btn:hover {
    color: #ff4c4c !important;
}

.user-profile-wrapper {
    position: relative;
    display: inline-block;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.2s;
    text-decoration: none !important;
}

.user-profile:hover,
.open>.user-profile {
    background-color: rgba(255, 255, 255, 0.1);
}

.user-profile .avatar {
    width: 38px;
    height: 38px;
    background-color: #ffffff;
    color: #003044;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.4rem;
}

.user-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.user-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.user-role {
    margin-top: 1.5px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

.dropdown-icon {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 5px;
}

.user-profile-menu {
    width: 100%;
    min-width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
}

.modern-menu {
    border: none;
    border-radius: 10px;
    padding: 8px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
    min-width: 180px;
    margin-top: 10px;
    background-color: #ffffff;
}

.modern-menu>li>a {
    padding: 8px 12px;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s ease;
    cursor: pointer;
}

.modern-menu>li>a:hover {
    background-color: #f0f4f8;
    color: var(--primary-color, #01577c);
}

.modern-menu .dropdown-header {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9ca3af;
    padding: 5px 20px 10px;
}

.lang-text {
    font-weight: bold;
}

@media (max-width: 768px) {
    .modern-navbar {
        height: auto;
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }

    .navbar-left {
        width: 100%;
        justify-content: flex-start;
    }

    .navbar-right {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: right;
    }

    .enterprise-info {
        border-right: none;
        padding-right: 0;
    }
}

.modern-sidebar .modern-sidebar-wrapper {
    background-color: #003044 !important;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1) !important;
    overflow-x: hidden;
}

.modern-sidebar-wrapper::-webkit-scrollbar {
    width: 5px;
}

.modern-sidebar-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.modern-sidebar-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.modern-logo-container {
    padding: 15px 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.modern-logo-text {
    display: flex !important;
    align-items: center;
    gap: 12px;
    color: #ffffff !important;
    text-transform: none !important;
    text-decoration: none !important;
}

.modern-logo-text img {
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo-title {
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.modern-search-box {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.modern-search-box:hover {
    background-color: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.modern-search-box:active {
    background-color: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.modern-search-box i {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.modern-search-box input {
    background-color: transparent;
    border: none;
    color: #ffffff;
    outline: none;
    width: 100%;
    font-size: 13px;
}

.modern-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.custom-modern-sidebar-nav {
    margin-top: 0px !important;
    padding-bottom: 30px !important;
}

.custom-modern-sidebar-nav .modern-nav-link {
    display: flex !important;
    align-items: center;
    border-radius: 10px !important;
    padding: 12px 15px !important;
    color: rgba(255, 255, 255, 0.75) !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    background: transparent !important;
}

.custom-modern-sidebar-nav .modern-nav-link:hover,
.custom-modern-sidebar-nav li.active .modern-nav-link {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    transform: translateX(5px);
}

.custom-modern-sidebar-nav .modern-nav-link i {
    font-size: 18px !important;
    width: 30px !important;
    text-align: center;
    margin-right: 12px !important;
    color: inherit !important;
    flex-shrink: 0 !important;
}

.custom-modern-sidebar-nav .modern-nav-link p {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: bold !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.4 !important;
}

.logout-nav-item {
    margin-top: 25px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 15px;
    cursor: pointer;
}

.logout-nav-item .logout-link {
    color: rgba(255, 120, 120, 0.9) !important;
}

.logout-nav-item .logout-link:hover {
    background-color: rgba(239, 68, 68, 0.15) !important;
    color: #ff6b6b !important;
    transform: translateX(5px);
}

@media (min-width: 992px) {

    .sidebar,
    .main-panel {
        -webkit-transition: all 0.36s cubic-bezier(0.685, 0.0473, 0.346, 1);
        -moz-transition: all 0.36s cubic-bezier(0.685, 0.0473, 0.346, 1);
        -o-transition: all 0.36s cubic-bezier(0.685, 0.0473, 0.346, 1);
        -ms-transition: all 0.36s cubic-bezier(0.685, 0.0473, 0.346, 1);
        transition: all 0.36s cubic-bezier(0.685, 0.0473, 0.346, 1);
    }
}

.general-body{
    overflow: hidden;
}

.swal2-popup.colored-toast {
    border-radius: 10px !important;
    padding: 10px 16px !important;
    min-width: 280px !important;
    max-width: 420px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid transparent !important;
    border-left-width: 4px !important;
}

.swal2-popup.colored-toast .swal2-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.3 !important;
}

.swal2-popup.colored-toast.swal2-icon-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #f7fef9 100%) !important;
    color: #14532d !important;
    border-color: #bbf7d0 !important;
    border-left-color: #22c55e !important;
}
.swal2-popup.colored-toast.swal2-icon-success .swal2-title           { color: #14532d !important; }
.swal2-popup.colored-toast.swal2-icon-success .swal2-timer-progress-bar { background: #22c55e !important; }

.swal2-popup.colored-toast.swal2-icon-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fff5f5 100%) !important;
    color: #7f1d1d !important;
    border-color: #fecaca !important;
    border-left-color: #ef4444 !important;
}
.swal2-popup.colored-toast.swal2-icon-error .swal2-title            { color: #7f1d1d !important; }
.swal2-popup.colored-toast.swal2-icon-error .swal2-timer-progress-bar { background: #ef4444 !important; }

.swal2-popup.colored-toast.swal2-icon-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fffdf5 100%) !important;
    color: #78350f !important;
    border-color: #fde68a !important;
    border-left-color: #f59e0b !important;
}
.swal2-popup.colored-toast.swal2-icon-warning .swal2-title            { color: #78350f !important; }
.swal2-popup.colored-toast.swal2-icon-warning .swal2-timer-progress-bar { background: #f59e0b !important; }

.swal2-popup.colored-toast.swal2-icon-info {
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%) !important;
    color: #1e3a5f !important;
    border-color: #bfdbfe !important;
    border-left-color: #3b82f6 !important;
}
.swal2-popup.colored-toast.swal2-icon-info .swal2-title            { color: #1e3a5f !important; }
.swal2-popup.colored-toast.swal2-icon-info .swal2-timer-progress-bar { background: #3b82f6 !important; }

.swal-notification-action-btn {
    background: rgba(0, 0, 0, 0.08) !important;
    color: inherit !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    margin-left: 8px;
    cursor: pointer;
}
.swal-notification-action-btn:hover { background: rgba(0, 0, 0, 0.14) !important; }
.swal2-popup:not(.swal2-toast) .swal2-title {
    font-size: 2rem;
    line-height: 1.3;
}

.swal2-popup:not(.swal2-toast) .swal2-html-container,
.swal2-popup:not(.swal2-toast) .swal2-content {
    font-size: 1.4rem;
    line-height: 1.5;
}

.swal2-popup:not(.swal2-toast) .swal2-styled,
.swal2-popup:not(.swal2-toast) .swal2-input,
.swal2-popup:not(.swal2-toast) .swal2-textarea,
.swal2-popup:not(.swal2-toast) .swal2-select {
    font-size: 1.3rem;
}

.swal2-popup:not(.swal2-toast) .swal2-validation-message,
.swal2-popup:not(.swal2-toast) .swal2-footer {
    font-size: 1.3rem;
}

.swal2-popup.swal2-toast .swal2-title,
.swal2-popup.colored-toast .swal2-title {
    font-size: 1.45rem !important;
    line-height: 1.35 !important;
}

.swal2-container .swal2-popup.swal2-toast .swal2-html-container {
    font-size: 1.3rem;
    line-height: 1.45;
}
