@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* enable absolute positioning */

.inner-addon {
    position: relative;
}


/* style glyph */

.inner-addon .fa {
    position: absolute;
    padding: 10px;
    pointer-events: none;
}


/* align glyph */

.left-addon .fa {
    left: 0px;
}

.right-addon .fa {
    right: 10px;
}


/* add padding  */

.left-addon input {
    padding-left: 30px;
}

.right-addon input {
    padding-right: 30px;
}

.custom-nav .active {
    background: transparent !important;
    border-bottom: 4px solid #007bff !important;
    border-radius: 0px !important;
    color: black;
    font-weight: 900;
}
    
.nav a {
    color: grey;
}

@media screen and (max-width: 640px) {
    table#availableMobileView caption {
        background-image: none;
    }
    table#availableMobileView thead {
        display: none;
    }
    table#availableMobileView tbody td {
        display: block;
        padding: .6rem;
    }
    table#availableMobileView tbody tr td:first-child {
        background: #666;
        color: #fff;
    }
    table#availableMobileView tbody tr td:first-child a {
        color: #fff;
    }
    table#availableMobileView tbody tr td:first-child:before {
        color: rgb(225, 181, 71);
    }
    table#availableMobileView tbody td:before {
        content: attr(data-th);
        font-weight: bold;
        display: inline-block;
        width: 10rem;
    }
    table#availableMobileView tr th:last-child,
    table#availableMobileView tr td:last-child {
        max-width: 100% !important;
        min-width: 100px !important;
        width: 100% !important;
    }
}

.image-pic {
    max-height: 100px;
    display: block;
    margin-bottom: 5px;
}

.file-upload {
    display: none;
}


/* .nav-treeview {
    font-size: 14px;
    margin-left: 15px;
    padding-right: 15px;
} */

/*
Table of Contents
*/
th.numbering {
    width: 50px;
    min-width: 50px;
    max-width: 50px;
}
th.action {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}

/* Enhance ADMINLTE */
.info-box .info-box-number {
    font-size: 30px;
}

.upload-button {
    opacity: 1;
}

/* body {
    font-family: 'Inter', sans-serif!important;
} */

.m-header {
    height: 80px !important;
    background: #192f59 !important;
}

/* Logo color */
.m-header img {
    border-radius: 8px;
    padding: 4px;
}

.b-brand {
    margin: auto!important;
}

div.dataTables_wrapper div.dataTables_length select {
    margin: 0 10px;
}

div.dataTables_wrapper div.dataTables_filter input {
    margin: 0 10px;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    gap: 4px;
}

body.pace-done.modal-open {
    overflow: hidden; /* Ensure scrolling is disabled when modal is open */
    position: relative; /* Avoid any potential positioning issues */
}

/* ===================================
   DASHBOARD CARDS (Big Size)
   =================================== */
/* Dashboard Cards Styling */
.info-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #192f59;
}

.icon-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.info-card:hover .icon-wrapper {
    background: linear-gradient(135deg, #192f59 0%, #2a4a8a 100%);
    transform: scale(1.1);
}

.info-card:hover .icon-wrapper i {
    color: white !important;
}

/* 5 columns layout for extra large screens */
@media (min-width: 1200px) {
    .icon-item-5col {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* Remove icon background color and increase size for fa-6x */
.icon-wrapper {
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    min-width: 120px;
    min-height: 100px;
}

.info-card:hover .icon-wrapper {
    background: transparent !important;
    transform: none !important;
}

.info-card:hover .icon-wrapper i {
    color: inherit !important;
}

/* 
.card {
    border: 2px solid #192f59;
} */

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
}

.portal-info-card-body {
    height: 100%;
}

.portal-info-card-action {
    margin-top: auto;
    align-self: end;
}

@media (max-width: 1399.98px) {
    .portal-info-card-body {
        min-height: auto !important;
    }

    .portal-info-card-title {
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}

.btn-outline-primary {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-color: #192f59;
    color: #192f59;
    text-decoration: none;
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25,47,89,0.3);
    background-color: #192f59;
    border-color: #192f59;
    color: white;
    text-decoration: none;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.empty-state-icon {
    margin-bottom: 1.5rem;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.empty-state-description {
    color: #adb5bd;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .info-card {
        margin-bottom: 1rem;
    }
}

/* ===================================
   TABLE STYLING (Consistent across icon-content and sidemenu)
   =================================== */

/* Badge styling - Consistent colors across all tables */
.badge {
    font-size: 0.75em;
    font-weight: 500;
}

.badge.bg-success {
    background-color: #28a745 !important;
}

.badge.bg-secondary {
    background-color: #6c757d !important;
}

.badge.bg-info {
    background-color: #17a2b8 !important;
}

.badge.bg-light {
    background-color: #f8f9fa !important;
    color: #495057 !important;
}

/* Role badges styling */
.role-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.role-badges .badge {
    font-size: 0.7em;
}

/* Code styling */
code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.875em;
    color: #6c757d;
}

/* Icon styling */
.text-primary {
    color: #3454d1 !important;
}

.text-muted {
    color: #6c757d !important;
}

/* Table row styling */
.side-menu-row, .icon-content-row {
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.side-menu-row:hover, .icon-content-row:hover {
    border-left-color: #007bff;
    background-color: #f8f9fa;
    transform: translateX(2px);
}

/* Table enhancements */
.table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: #495057;
}

.table td {
    vertical-align: middle;
    padding: 12px 8px;
}

/* Action buttons styling */
.hstack.gap-2 .btn {
    border-radius: 6px;
    transition: all 0.2s ease;
}

.hstack.gap-2 .btn:hover {
    transform: translateY(-1px);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .badge {
        font-size: 0.7em;
    }
    
    code {
        font-size: 0.8em;
    }

    .role-badges {
        flex-direction: column;
    }
}

/* ===================================
   DROPDOWN BUTTON (sidemenu.index.blade.php)
   =================================== */
    /* Enhanced Dropdown Button Styling */
    .menu-toggle-btn {
        transition: all 0.3s ease;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .menu-toggle-btn:hover {
        background-color: #e9ecef;
        border-color: #adb5bd;
        transform: translateY(-1px);
    }

    .menu-toggle-btn.expanded {
        background-color: #007bff;
        border-color: #007bff;
        color: white;
    }

    .menu-toggle-btn.expanded:hover {
        background-color: #0056b3;
        border-color: #0056b3;
    }

    .menu-toggle-btn i {
        transition: transform 0.3s ease;
    }

    .menu-toggle-btn.expanded i {
        transform: rotate(180deg);
    }

    /* Child row styling */
    .child-row {
        background-color: #f8f9fa;
        transition: all 0.3s ease;
    }

    .child-row:hover {
        background-color: #e9ecef;
    }

    /* Parent row styling */
    .parent-row {
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
    }

    .parent-row:hover {
        border-left-color: #007bff;
        background-color: #f8f9fa;
    }

    /* Animation for child rows */
    .child-row.show {
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }


/* Card hover effect for dashboard icons (Small Size)*/
    .card.dashboard-icon-card {
        transition: box-shadow 0.2s, transform 0.2s;
        cursor: pointer;
        border-width: 4px !important; /* or 3px for even bolder */
        border-style: solid;
        border-color: #e9ecef; /* or your preferred color */
    }
    .card.dashboard-icon-card:hover {
        box-shadow: 0 8px 24px rgba(25,47,89,0.15), 0 1.5px 6px rgba(25,47,89,0.10);
        transform: translateY(-4px) scale(1.04);
        border: 1.5px solid #192f59;
        border-color: #192f59 !important;
    }
    .card.dashboard-icon-card .dashboard-icon-circle {
        transition: background 0.2s, color 0.2s;
    }
    .card.dashboard-icon-card:hover .dashboard-icon-circle {
        background: #192f59 !important;
    }
    .card.dashboard-icon-card:hover .dashboard-icon-circle i {
        color: #fff !important;
    }

/* ===================================
   QUICK ACCESS SEARCH IN HEADER
   =================================== */
/* Search box wrapper in card header */
.quick-access-search-wrapper {
    transition: all 0.3s ease;
}

.quick-access-search-wrapper .input-group-sm {
    height: 32px;
}

.quick-access-search-wrapper .form-control {
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.quick-access-search-wrapper .form-control:focus {
    border-color: #192f59;
    box-shadow: 0 0 0 0.2rem rgba(25, 47, 89, 0.15);
    z-index: 3;
}

.quick-access-search-wrapper .input-group-text {
    font-size: 0.875rem;
    padding: 0.375rem 0.5rem;
}

.quick-access-search-wrapper .btn {
    font-size: 0.875rem;
    padding: 0.375rem 0.5rem;
}

/* Icon item animations */
.quick-access-icon-item {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Empty state styling */
#quick-access-empty {
    animation: fadeIn 0.5s ease-in;
}

/* Responsive adjustments for search box */
@media (max-width: 768px) {
    .quick-access-search-wrapper {
        width: 100% !important;
        margin-top: 0.5rem;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .card-header-action {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .dashboard-icon-title {
        font-size: 0.85rem !important;
        min-height: 2em !important;
    }
    
    .dashboard-icon-circle {
        width: 60px !important;
        height: 60px !important;
    }
    
    .dashboard-icon-circle i {
        font-size: 2rem !important;
    }
}

@media (max-width: 576px) {
    .quick-access-search-wrapper {
        width: 100% !important;
    }
}

    





/* ===================================
   ENHANCED TAB STYLING - TASK 1
   =================================== */

/* Enhanced User Role Container - Aligns tabs with card design */
.user-role-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(25, 47, 89, 0.12);
    overflow: hidden;
    margin-bottom: 2rem;
}

/* Enhanced Tab Navigation - Corporate style aligned with cards */
.enhanced-tabs {
    background: linear-gradient(135deg, #192f59 0%, #2a4a8a 100%);
    border-bottom: none;
    margin: 0;
    padding: 0 20px;
    position: relative;
}

/* Tab header overlay for enhanced visual effect */
.enhanced-tabs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.enhanced-tabs .nav-item {
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.enhanced-tabs .nav-link {
    color: rgba(255, 255, 255, 0.85);
    border: none;
    background: transparent;
    padding: 20px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 0;
    margin-right: 0;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}
.enhanced-tabs .nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transform: translateY(-2px);
}

.enhanced-tabs .nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    font-weight: 600;
}

.enhanced-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: white;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.enhanced-tabs .nav-link.active::after {
    width: 80%;
}

.enhanced-tabs .nav-link i {
    margin-right: 8px;
    font-size: 0.9em;
    opacity: 0.9;
}

/* Enhanced Tab Content - Seamless integration with cards */
.enhanced-tab-content {
    background: white;
    border: none;
    border-radius: 0 0 16px 16px;
    box-shadow: none;
    padding: 0;
}

.enhanced-tab-content .tab-pane {
    padding: 0;
}

/* Card integration styling */
.enhanced-tab-content .card {
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
}

.enhanced-tab-content .card-header {
    background: transparent;
    border-bottom: 1px solid #e9ecef;
    padding: 20px 25px 15px;
}

.enhanced-tab-content .card-body {
    padding: 0 25px 25px;
}

/* Add space above search form in enhanced tab content */
.enhanced-tab-content .card-body > form:first-child {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Fix spacing issues in Assigned Users tab */
.enhanced-tab-content .card-body .main-content {
    margin-top: 1.5rem;
}

/* Filters section spacing */
.enhanced-tab-content .card-body .d-flex.flex-wrap.align-items-center.gap-2 {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(25, 47, 89, 0.02);
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

/* Form elements spacing within filters */
.enhanced-tab-content .card-body .d-flex.flex-wrap.align-items-center.gap-2 form {
    margin-right: 1rem;
}

.enhanced-tab-content .card-body .d-flex.flex-wrap.align-items-center.gap-2 .form-select {
    margin-right: 0.5rem;
    min-width: 150px;
}

.enhanced-tab-content .card-body .d-flex.flex-wrap.align-items-center.gap-2 .form-control {
    min-width: 200px;
    max-width: 300px;
}

/* Table spacing */
.enhanced-tab-content .card-body .enhanced-table {
    margin-bottom: 2rem;
}

/* Pagination spacing */
.enhanced-tab-content .card-body .pagination {
    margin-top: 1.5rem;
    justify-content: center;
}

/* Responsive spacing adjustments */
@media (max-width: 768px) {
    .enhanced-tab-content .card-body .d-flex.flex-wrap.align-items-center.gap-2 {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .enhanced-tab-content .card-body .d-flex.flex-wrap.align-items-center.gap-2 form {
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .enhanced-tab-content .card-body .d-flex.flex-wrap.align-items-center.gap-2 .form-select,
    .enhanced-tab-content .card-body .d-flex.flex-wrap.align-items-center.gap-2 .form-control {
        min-width: 120px;
        max-width: 200px;
    }
}

@media (max-width: 576px) {
    .enhanced-tab-content .card-body .d-flex.flex-wrap.align-items-center.gap-2 {
        flex-direction: column;
        align-items: stretch !important;
        gap: 1rem !important;
    }
    
    .enhanced-tab-content .card-body .d-flex.flex-wrap.align-items-center.gap-2 form {
        margin-right: 0;
        margin-bottom: 0;
    }
    
    .enhanced-tab-content .card-body .d-flex.flex-wrap.align-items-center.gap-2 .form-select,
    .enhanced-tab-content .card-body .d-flex.flex-wrap.align-items-center.gap-2 .form-control {
        min-width: 100%;
        max-width: 100%;
    }
}

/* Responsive design for enhanced tabs */
@media (max-width: 768px) {
    .enhanced-tabs {
        padding: 0 10px;
    }
    
    .enhanced-tabs .nav-link {
        padding: 15px 20px;
        font-size: 0.9rem;
    }
    
    .enhanced-tabs .nav-link::after {
        display: none;
    }
    
    .enhanced-tab-content .card-header {
        padding: 15px 20px 10px;
    }
    
    .enhanced-tab-content .card-body {
        padding: 0 20px 20px;
    }
}

@media (max-width: 576px) {
    .user-role-container {
        border-radius: 12px;
        margin-bottom: 1rem;
    }
    
    .enhanced-tabs .nav-link {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
    
    .enhanced-tabs .nav-item {
        flex: 1;
    }
    
    .enhanced-tabs .nav-link {
        text-align: center;
    }
}

/* ===================================
   ENHANCED TABLE COMPONENT STYLING
   =================================== */

/* Enhanced Table Component - Corporate Design */
/* Follows design requirements: Header gradient, row hover effects, brand colors */
.enhanced-table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    background: white;
    margin-bottom: 1rem;
}

/* Header Colors: Dark blue gradient background, white text, no border */
.enhanced-table-header {
    background: linear-gradient(135deg, #192f59 0%, #2a4a8a 100%) !important;
    color: white !important;
    border: none !important;
    padding: 18px 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.8px !important;
    position: relative !important;
}

/* Header overlay for enhanced visual effect */
.enhanced-table-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

/* Row Colors: Normal white background, hover light blue gradient */
.enhanced-table tbody tr {
    background: white;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f3f4;
}

/* Hover effect: Light blue gradient background */
.enhanced-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(25, 47, 89, 0.05) 0%, rgba(42, 74, 138, 0.03) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 47, 89, 0.12);
    border-left: 4px solid #192f59;
}

/* Table cell styling */
.enhanced-table tbody td {
    padding: 16px;
    vertical-align: middle;
    border: none;
    font-size: 0.9rem;
    background: transparent;
}

/* Remove border from last row */
.enhanced-table tbody tr:last-child {
    border-bottom: none;
}

/* Responsive design for enhanced table */
@media (max-width: 768px) {
    .enhanced-table-header {
        padding: 12px 8px !important;
        font-size: 0.75rem !important;
    }
    
    .enhanced-table tbody td {
        padding: 12px 8px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .enhanced-table {
        font-size: 0.8rem;
        border-radius: 8px;
    }
}

/* ===================================
   ENHANCED EDIT USER ROLE FORM STYLING - TASK 5
   =================================== */

/* Enhanced Edit User Role Form Container */
.enhanced-edit-form {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(25, 47, 89, 0.12);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

/* Enhanced Card Header */
.enhanced-edit-form .card-header {
    background: linear-gradient(135deg, #192f59 0%, #2a4a8a 100%);
    color: #ffffff !important;
    padding: 25px 30px;
    border-bottom: none;
    position: relative;
    box-shadow: 0 4px 15px rgba(25, 47, 89, 0.3);
}

.enhanced-edit-form .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    pointer-events: none;
}

.enhanced-edit-form .card-header h4 {
    margin: 0;
    font-weight: 700;
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

/* Enhanced Card Body */
.enhanced-edit-form .card-body {
    padding: 30px;
    background: white;
}

/* Enhanced Alert Styling */
.enhanced-edit-form .alert {
    border-radius: 12px;
    border: none;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.enhanced-edit-form .alert-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.enhanced-edit-form .alert-danger strong {
    font-weight: 600;
}

.enhanced-edit-form .alert-danger ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.enhanced-edit-form .alert-danger li {
    margin-bottom: 5px;
}

/* Enhanced Section Styling */
.enhanced-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.enhanced-section:hover {
    box-shadow: 0 8px 25px rgba(25, 47, 89, 0.1);
    transform: translateY(-2px);
}

/* Enhanced Section Header */
.enhanced-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.enhanced-section-header h5 {
    margin: 0;
    font-weight: 600;
    color: #192f59;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.enhanced-section-header h5::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #192f59 0%, #2a4a8a 100%);
    margin-right: 12px;
    border-radius: 2px;
}

.enhanced-section-header .text-muted {
    margin-left: 15px;
    font-size: 0.9rem;
    color: #6c757d !important;
    margin-bottom: 0;
    align-self: center;
    line-height: 1.4;
}

/* Enhanced Info Cards */
.enhanced-info-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(25, 47, 89, 0.08);
    height: 100%;
}

.enhanced-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(25, 47, 89, 0.15);
    border-color: #2a4a8a;
}

.enhanced-info-card-header {
    background: linear-gradient(135deg, #192f59 0%, #2a4a8a 100%);
    color: #ffffff;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.enhanced-info-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.enhanced-info-card-header i {
    font-size: 1.5rem;
    margin-right: 12px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.enhanced-info-card-header h6 {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.enhanced-info-card-body {
    padding: 25px;
}

/* Enhanced Info Items */
.enhanced-info-item {
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.enhanced-info-item:last-child {
    margin-bottom: 0;
}

.enhanced-info-item:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-color: #2a4a8a;
    box-shadow: 0 5px 15px rgba(25, 47, 89, 0.1);
    transform: translateX(5px);
}

.info-label {
    color: #495057;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.info-label i {
    color: #2a4a8a;
    margin-right: 8px;
    font-size: 0.9rem;
}

.info-value {
    color: #192f59;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.4;
}

/* Enhanced Role Badges */
.enhanced-role-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.enhanced-role-badge {
    background: linear-gradient(135deg, #192f59 0%, #2a4a8a 100%);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(25, 47, 89, 0.2);
}

.enhanced-role-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 47, 89, 0.3);
}

.enhanced-role-badge i {
    margin-right: 5px;
    font-size: 0.8rem;
}

/* Enhanced Count Badge */
.enhanced-count-badge {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.enhanced-count-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.enhanced-count-badge i {
    margin-right: 6px;
    font-size: 0.9rem;
}

/* Enhanced PTJ Section */
.enhanced-ptj-section {
    margin-bottom: 30px;
}

.enhanced-ptj-section .enhanced-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding: 20px 0;
    border-bottom: 2px solid #e9ecef;
    position: relative;
}

.enhanced-ptj-section .enhanced-section-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(135deg, #192f59 0%, #2a4a8a 100%);
    border-radius: 1px;
}

.enhanced-ptj-section .enhanced-section-header h5 {
    color: #192f59;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
    display: flex;
    align-items: center;
}

.enhanced-ptj-section .enhanced-section-header h5 i {
    color: #2a4a8a;
    margin-right: 10px;
    font-size: 1.2rem;
}

.enhanced-ptj-section .enhanced-section-header .text-muted {
    color: #6c757d !important;
    font-size: 0.9rem;
    margin: 0;
    align-self: center;
    line-height: 1.4;
}

/* Enhanced Table Container */
.enhanced-table-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(25, 47, 89, 0.08);
    border: 1px solid #e9ecef;
}

/* Enhanced PTJ Table */
.enhanced-ptj-table {
    margin: 0;
    background: transparent;
}

.enhanced-ptj-table thead {
    background: linear-gradient(135deg, #192f59 0%, #2a4a8a 100%);
}

.enhanced-ptj-table thead th {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 18px 15px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.enhanced-ptj-table thead th i {
    margin-right: 8px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.enhanced-ptj-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #e9ecef;
}

.enhanced-ptj-table tbody tr:last-child {
    border-bottom: none;
}

.enhanced-ptj-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(25, 47, 89, 0.05) 0%, rgba(42, 74, 138, 0.03) 100%);
    transform: translateX(5px);
}

.enhanced-ptj-table tbody td {
    padding: 15px;
    vertical-align: middle;
    border: none;
    color: #495057;
}

/* Enhanced PTJ Row States */
.enhanced-ptj-row.active-row {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05) 0%, rgba(32, 201, 151, 0.03) 100%);
    border-left: 4px solid #28a745;
}

.enhanced-ptj-row.expired-row {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05) 0%, rgba(255, 193, 7, 0.03) 100%);
    border-left: 4px solid #dc3545;
}

.enhanced-ptj-row.future-row {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(108, 117, 125, 0.03) 100%);
    border-left: 4px solid #007bff;
}

/* Enhanced Table Cells */
.ptj-name-cell {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.ptj-name-cell i {
    color: #2a4a8a;
    margin-right: 10px;
    font-size: 1rem;
}

.date-cell {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.date-cell i {
    margin-right: 6px;
    font-size: 0.9rem;
}

.duration-cell {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #6c757d;
}

.duration-cell i {
    margin-right: 6px;
    font-size: 0.9rem;
}

.status-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Enhanced Status Badges */
.enhanced-status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.enhanced-status-badge.active {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.enhanced-status-badge.expired {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.enhanced-status-badge.future {
    background: linear-gradient(135deg, #007bff 0%, #6c757d 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.enhanced-status-badge:hover {
    transform: scale(1.05);
}

.enhanced-status-badge i {
    margin-right: 5px;
    font-size: 0.8rem;
}

/* Enhanced Empty State */
.enhanced-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border: 2px dashed #dee2e6;
    margin: 20px 0;
}

.empty-state-icon {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 20px;
    opacity: 0.6;
}

.enhanced-empty-state h6 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.enhanced-empty-state p {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
}

/* Enhanced Form Actions */
.enhanced-staff-profile .enhanced-form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    padding: 25px 0;
    border-top: 1px solid #e9ecef;
    margin-top: 30px;
}

.enhanced-staff-profile .enhanced-form-actions .btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.enhanced-staff-profile .enhanced-form-actions .btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    border: none;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(108, 117, 125, 0.3);
}

.enhanced-staff-profile .enhanced-form-actions .btn-secondary:hover {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .enhanced-staff-profile .card-header {
        padding: 20px 25px;
    }
    
    .enhanced-staff-profile .card-header h4 {
        font-size: 1.3rem;
    }
    
    .enhanced-staff-info-section .enhanced-section-header,
    .enhanced-ptj-section .enhanced-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .enhanced-staff-info-section .enhanced-section-header .text-muted,
    .enhanced-ptj-section .enhanced-section-header .text-muted {
        align-self: flex-start;
    }
    
    .enhanced-info-card-body {
        padding: 20px;
    }
    
    .enhanced-info-item {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .enhanced-ptj-table thead th {
        padding: 15px 10px;
        font-size: 0.8rem;
    }
    
    .enhanced-ptj-table tbody td {
        padding: 12px 10px;
    }
    
    .enhanced-role-badges {
        gap: 6px;
    }
    
    .enhanced-role-badge {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
    
    .enhanced-staff-profile .enhanced-form-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .enhanced-staff-profile .enhanced-form-actions .btn {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .enhanced-staff-profile .card-header {
        padding: 15px 20px;
    }
    
    .enhanced-staff-profile .card-header h4 {
        font-size: 1.1rem;
    }
    
    .enhanced-staff-info-section .enhanced-section-header h5,
    .enhanced-ptj-section .enhanced-section-header h5 {
        font-size: 1.1rem;
    }
    
    .enhanced-info-card-header {
        padding: 15px 20px;
    }
    
    .enhanced-info-card-header h6 {
        font-size: 1rem;
        color: #ffffff !important;
    }
    
    .enhanced-info-card-body {
        padding: 15px;
    }
    
    .enhanced-ptj-table {
        font-size: 0.85rem;
    }
    
    .enhanced-ptj-table thead th {
        padding: 12px 8px;
        font-size: 0.75rem;
    }
    
    .enhanced-ptj-table tbody td {
        padding: 10px 8px;
    }
    
    .ptj-name-cell,
    .date-cell,
    .duration-cell {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .ptj-name-cell i,
    .date-cell i,
    .duration-cell i {
        margin-right: 0;
        margin-bottom: 2px;
    }
    
    .enhanced-empty-state {
        padding: 40px 15px;
    }
    
    .empty-state-icon {
        font-size: 3rem;
    }
}

/* Enhanced Back Button - Reusable Component */
.enhanced-back-btn {
    background: linear-gradient(135deg, #192f59 0%, #2a4a8a 100%);
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(25, 47, 89, 0.2);
    position: relative;
    overflow: hidden;
}

.enhanced-back-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.enhanced-back-btn:hover {
    background: linear-gradient(135deg, #2a4a8a 0%, #192f59 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 47, 89, 0.4);
    text-decoration: none;
}

.enhanced-back-btn:hover::before {
    opacity: 0.8;
}

.enhanced-back-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(25, 47, 89, 0.3);
}

.enhanced-back-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.enhanced-back-btn:hover i {
    transform: translateX(-3px);
}

/* ================================
   Module: Content Management - Category Styling
   ================================ */

.category-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.category-icon i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.enhanced-table tbody tr:hover .category-icon {
    background: rgba(255, 193, 7, 0.2);
    transform: scale(1.05);
}

.enhanced-table tbody tr:hover .category-icon i {
    transform: scale(1.1);
}

.category-name-cell .fw-bold {
    font-weight: 600;
    transition: color 0.3s ease;
}

.enhanced-table tbody tr:hover .category-name-cell .fw-bold {
    color: #0056b3 !important;
}

.category-description {
    line-height: 1.4;
    color: #6c757d;
}

.category-count-badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
    border-radius: 20px;
    font-weight: 500;
}

.category-count-badge i {
    font-size: 0.8rem;
}

/* Responsive adjustments for category table */
@media (max-width: 768px) {
    .category-icon {
        width: 35px;
        height: 35px;
    }
    
    .category-icon i {
        font-size: 1rem;
    }
    
    .category-name-cell .fw-bold {
        font-size: 0.9rem;
    }
    
    .category-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .category-icon {
        width: 30px;
        height: 30px;
    }
    
    .category-icon i {
        font-size: 0.9rem;
    }
    
    .category-name-cell {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .category-name-cell .fw-bold {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }
    
    .category-description {
        font-size: 0.8rem;
    }
}

/* ================================
   Module: Content Management - Content Cards Styling
   ================================ */

.content-card {
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.content-card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
}

.content-card .card-body {
    padding: 1.25rem;
}

.content-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2c3e50;
}

.content-card .card-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-card .card-title a:hover {
    color: #007bff;
    text-decoration: underline;
}

.content-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.content-meta small {
    font-size: 0.875rem;
    color: #6c757d;
}

.content-meta i {
    margin-right: 0.25rem;
    opacity: 0.7;
}

.content-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.content-actions .btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.content-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Content card status badges */
.content-card .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
}

/* Responsive adjustments for content cards */
@media (max-width: 768px) {
    .content-card .card-body {
        padding: 1rem;
    }
    
    .content-card .card-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .content-meta {
        gap: 0.75rem;
        margin-top: 0.375rem;
    }
    
    .content-actions {
        gap: 0.375rem;
        margin-bottom: 0.5rem;
    }
    
    .content-actions .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .content-card {
        margin-bottom: 0.75rem;
    }
    
    .content-card .card-body {
        padding: 0.875rem;
    }
    
    .content-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .content-actions {
        justify-content: flex-start;
        margin-top: 0.75rem;
    }
}

/* ===================================
   CONTENT DISPLAY FLOW STYLES
   =================================== */

/* Hero Content Card - Enhanced for Table of Contents */
.content-hero-card {
    background: linear-gradient(135deg, #192f59 0%, #2a4a8a 100%);
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(25, 47, 89, 0.2);
    overflow: hidden;
    position: relative;
}

.content-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.content-hero-card .card-body {
    position: relative;
    z-index: 1;
    color: white;
}

.content-hero-card .card-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.content-hero-card .card-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-icon {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-icon i {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item h4 {
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.stat-item small {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.hero-actions .btn {
    border-radius: 30px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid;
}

.hero-actions .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.hero-actions .btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-actions .btn-outline-primary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.hero-actions .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Section Title Styling */
.section-title {
    color: #192f59;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.section-title i {
    color: #007bff;
    margin-right: 0.75rem;
}

/* Table of Contents Styling */
#contentTable {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Enhanced table header styling - consistent with table component */
.enhanced-table thead th {
    background: #f8f9fa !important;
    color: #000000 !important;
    border: none !important;
    padding: 18px 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.8px !important;
    position: relative !important;
}

#contentTable tbody tr {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

#contentTable tbody tr:hover {
    background-color: #f8f9fa;
    border-left-color: #007bff;
    transform: translateX(2px);
}

#contentTable tbody td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

.content-row .content-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.content-row:hover .content-icon {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    transform: scale(1.1);
}

.content-row:hover .content-icon i {
    color: white !important;
}

.content-title {
    color: #192f59;
    font-weight: 600;
    transition: all 0.3s ease;
}

.content-title:hover {
    color: #007bff;
    text-decoration: none;
}

.author-avatar {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Search and Filter Styling */
.search-box {
    position: relative;
    min-width: 250px;
}

.search-box input {
    border-radius: 25px;
    padding-left: 1rem;
    padding-right: 1rem;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

#contentFilter {
    border-radius: 25px;
    border: 2px solid #e9ecef;
    padding: 0.5rem 1rem;
    min-width: 150px;
    transition: all 0.3s ease;
}

#contentFilter:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Article Display Styling */
.article-header-card {
    /*background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);*/
    background-color: #ffffff;
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.article-title {
    color: #192f59;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.2;
}

.article-meta .badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.article-info {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.article-content-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.article-content {
    line-height: 1.8;
    font-size: 16px;
    color: #2c3e50;
}

.article-content h1, .article-content h2, .article-content h3, 
.article-content h4, .article-content h5, .article-content h6 {
    color: #192f59;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content h1 { font-size: 2rem; }
.article-content h2 { font-size: 1.75rem; }
.article-content h3 { font-size: 1.5rem; }
.article-content h4 { font-size: 1.25rem; }
.article-content h5 { font-size: 1.1rem; }
.article-content h6 { font-size: 1rem; }

.article-content p {
    margin-bottom: 14px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.article-content blockquote {
    border-left: 4px solid #007bff;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6c757d;
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 0 10px 10px 0;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-footer {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 2rem;
}

/* Related Articles Styling */
.related-article-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.related-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.related-article-card .card-title a {
    color: #192f59;
    font-weight: 600;
    transition: all 0.3s ease;
}

.related-article-card .card-title a:hover {
    color: #007bff;
    text-decoration: none;
}

/* Category Information Styling */
.category-icon-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.category-icon-wrapper:hover {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    transform: scale(1.1);
}

.category-icon-wrapper:hover i {
    color: white !important;
}

.category-meta {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.75rem;
}

/* Quick Navigation Styling */
.list-group-item {
    border: none;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.list-group-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.list-group-item i {
    color: #007bff;
    width: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-hero-card .card-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        padding: 1rem;
    }
    
    .hero-actions .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .article-title {
        font-size: 26px;
    }
    
    .search-box {
        min-width: 200px;
    }
    
    .enhanced-table thead th {
        padding: 12px 8px !important;
        font-size: 0.75rem !important;
    }
    
    #contentTable tbody td {
        padding: 0.75rem 0.5rem;
    }
    
    .content-row .content-icon {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 576px) {
    .content-hero-card .card-title {
        font-size: 1.75rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .search-box, #contentFilter {
        min-width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .article-title {
        font-size: 1.75rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    #contentTable {
        font-size: 0.875rem;
    }
    
    .content-row .content-icon {
        width: 28px;
        height: 28px;
    }
}

/* ===================================
   DROPDOWN CHECKBOX COMPONENT STYLING
   =================================== */

/* Dropdown Container */
.dropdown-check-list {
    position: relative;
}

/* Avoid clipping checkbox dropdown menus inside theme cards */
.card-body:has(.dropdown-check-list) {
    overflow: visible;
}

/* Dropdown Button */
.dropdown-check-list .custom-dropdown-toggle {
    border: 1px solid #e9ecef;
    background: #ffffff;
    color: #495057;
    padding: 0.625rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-align: left;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    width: 100%;
}

/* Hide Bootstrap's default arrow */
.dropdown-check-list .custom-dropdown-toggle::after {
    display: none !important;
}

.dropdown-check-list .custom-dropdown-toggle:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.dropdown-check-list .custom-dropdown-toggle:focus,
.dropdown-check-list .custom-dropdown-toggle.show {
    border-color: #192f59;
    color: #192f59;
    box-shadow: 0 0 0 0.2rem rgba(25, 47, 89, 0.15);
}

/* Selected Text */
#selected_roles_text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100% - 25px);
    color: #6c757d;
    transition: color 0.2s ease;
}

.dropdown-check-list .custom-dropdown-toggle:hover #selected_roles_text,
.dropdown-check-list .custom-dropdown-toggle:focus #selected_roles_text,
.dropdown-check-list .custom-dropdown-toggle.show #selected_roles_text {
    color: #192f59;
}

/* Chevron Icon */
.dropdown-check-list .custom-dropdown-toggle .float-end i {
    color: #adb5bd;
    transition: all 0.2s ease;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

.dropdown-check-list .custom-dropdown-toggle:hover .float-end i,
.dropdown-check-list .custom-dropdown-toggle:focus .float-end i,
.dropdown-check-list .custom-dropdown-toggle.show .float-end i {
    color: #192f59;
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-check-list .dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem 0;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: white;
    margin-top: 0.25rem;
    min-width: 100%;
}

/* Dropdown Items */
.dropdown-check-list .dropdown-item {
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
    border: none;
    background: transparent;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.dropdown-check-list .dropdown-item:hover {
    background: #f8f9fa;
    color: #192f59;
}

/* Checkboxes */
.dropdown-check-list .dropdown-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #192f59;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    cursor: pointer;
}

.dropdown-check-list .dropdown-item input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 0.15rem rgba(25, 47, 89, 0.15);
}

/* Labels */
.dropdown-check-list .dropdown-item label {
    cursor: pointer;
    margin-bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    color: #495057;
    transition: color 0.15s ease;
}

.dropdown-check-list .dropdown-item:hover label {
    color: #192f59;
}

/* Role Icons */
.dropdown-check-list .dropdown-item i.fa-user-shield {
    color: #6c757d;
    font-size: 0.85rem;
    opacity: 0.7;
}

.dropdown-check-list .dropdown-item:hover i.fa-user-shield {
    opacity: 1;
    color: #192f59;
}

/* Divider */
.dropdown-check-list .dropdown-divider {
    margin: 0.5rem 0;
    border-color: #e9ecef;
    opacity: 0.5;
}

/* Action Buttons */
.dropdown-check-list .dropdown-item#select_all_roles {
    color: #28a745;
    font-weight: 500;
    border-top: 1px solid #e9ecef;
    margin-top: 0.25rem;
    padding-top: 0.5rem;
    font-size: 0.85rem;
}

.dropdown-check-list .dropdown-item#clear_all_roles {
    color: #dc3545;
    font-weight: 500;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0.25rem;
    padding-bottom: 0.5rem;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .dropdown-check-list .dropdown-menu {
        max-height: 250px;
        font-size: 0.9rem;
    }
    
    .dropdown-check-list .dropdown-item {
        padding: 0.6rem 0.8rem;
    }
    
    .dropdown-check-list .custom-dropdown-toggle {
        padding: 0.6rem 0.8rem;
        min-height: 40px;
    }
}

@media (max-width: 576px) {
    .dropdown-check-list .dropdown-menu {
        max-height: 200px;
        font-size: 0.85rem;
    }
    
    .dropdown-check-list .dropdown-item {
        padding: 0.5rem 0.6rem;
    }
    
    .dropdown-check-list .custom-dropdown-toggle {
        padding: 0.5rem 0.6rem;
        min-height: 38px;
    }
    
    #selected_roles_text {
        font-size: 0.85rem;
    }
}

/* ===================================
   SIDEBAR STYLING - Moved from sidebar.blade.php
   =================================== */

/* Sidebar Chevron Styling */
.nxl-chevron {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    z-index: 10;
}

.nxl-chevron i {
    font-size: 12px;
    color: #6c757d;
    transition: transform 0.3s ease;
    transform-origin: center;
    display: block;
    width: 12px;
    height: 12px;
    text-align: center;
    line-height: 12px;
}

/* Parent menu positioning */
.nxl-item.has-children {
    position: relative;
    overflow: visible;
}

.nxl-item.has-children .nxl-link {
    padding-right: 45px;
    position: relative;
}

/* Submenu styling */
.nxl-submenu {
    display: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Show submenu if it contains active child (CSS fallback) */
.nxl-submenu:has(.nxl-item.active) {
    display: block !important;
}

/* Alternative for browsers that don't support :has() */
.nxl-submenu.has-active-child {
    display: block !important;
}

/* Chevron rotation - ensure it stays centered */
.nxl-chevron.rotated i {
    transform: rotate(180deg);
}

.nxl-chevron i {
    transform: rotate(0deg);
}

/* Rotate chevron if submenu contains active child (CSS fallback) */
.nxl-item.has-children:has(.nxl-submenu:has(.nxl-item.active)) .nxl-chevron i,
.nxl-item.has-children:has(.nxl-submenu.has-active-child) .nxl-chevron i {
    transform: rotate(180deg);
}

/* Active states */
.nxl-item.has-children.active .nxl-chevron i {
    color: #fff;
}

.nxl-item.has-children:hover .nxl-chevron i {
    color: #adb5bd;
}

/* Ensure chevron container doesn't move during rotation */
.nxl-chevron {
    transform: translateY(-50%);
    transform-origin: center;
}

/* ===================================
   SEARCH BOX STYLING - Centralized
   =================================== */

/* Search container styling */
.search-container {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Search input styling */
.search-input {
    border-radius: 25px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Search button styling */
.search-btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
}

/* Clear search button styling */
.clear-search-btn {
    border-radius: 25px;
    padding: 0.5rem 1rem;
}

/* Status toggle styling for icon content */
.form-check-input.status-toggle {
    cursor: pointer;
    width: 3rem;
    height: 1.5rem;
}

.form-check-input.status-toggle:checked {
    background-color: #198754;
    border-color: #198754;
}

.form-check-input.status-toggle:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-check-input.status-toggle:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.status-text {
    font-size: 0.875rem;
    font-weight: 500;
}

.form-check-label {
    cursor: pointer;
    user-select: none;
}

/* Responsive design for search components */
@media (max-width: 768px) {
    .search-container {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .search-input {
        border-radius: 20px;
    }
    
    .search-btn, .clear-search-btn {
        border-radius: 20px;
        padding: 0.4rem 1rem;
    }
}

@media (max-width: 576px) {
    .search-container {
        padding: 0.75rem;
    }
    
    .search-input {
        border-radius: 18px;
    }
    
    .search-btn, .clear-search-btn {
        border-radius: 18px;
        padding: 0.35rem 0.8rem;
        font-size: 0.875rem;
    }
}

/* ===================================
   TOASTR CUSTOM STYLING - CLEAN VERSION
   =================================== */

/* Toastr Container Customization */
#toast-container {
    z-index: 9999 !important;
    top: 20px !important;
    right: 20px !important;
}

/* Toastr Notification Base Styling */
.toast {
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 400 !important;
    transition: all 0.3s ease !important;
    min-width: 300px !important;
    max-width: 400px !important;
    padding: 15px 20px !important;
    position: relative !important;
}

/* Toastr Success Styling */
.toast-success {
    background-color: #d4edda !important;
    color: #155724 !important;
    border-left: 4px solid #28a745 !important;
}

.toast-success .toast-title {
    color: #155724 !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    margin-bottom: 5px !important;
}

.toast-success .toast-message {
    color: #155724 !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
}

/* Toastr Error Styling */
.toast-error {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    border-left: 4px solid #dc3545 !important;
}

.toast-error .toast-title {
    color: #721c24 !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    margin-bottom: 5px !important;
}

.toast-error .toast-message {
    color: #721c24 !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
}

/* Toastr Warning Styling */
.toast-warning {
    background-color: #fff3cd !important;
    color: #856404 !important;
    border-left: 4px solid #ffc107 !important;
}

.toast-warning .toast-title {
    color: #856404 !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    margin-bottom: 5px !important;
}

.toast-warning .toast-message {
    color: #856404 !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
}

/* Toastr Info Styling */
.toast-info {
    background-color: #d1ecf1 !important;
    color: #0c5460 !important;
    border-left: 4px solid #17a2b8 !important;
}

.toast-info .toast-title {
    color: #0c5460 !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    margin-bottom: 5px !important;
}

.toast-info .toast-message {
    color: #0c5460 !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
}

/* Toastr Close Button Styling */
.toast-close-button {
    color: inherit !important;
    font-size: 1.2rem !important;
    font-weight: bold !important;
    text-shadow: none !important;
    opacity: 0.7 !important;
    transition: opacity 0.2s ease !important;
    position: absolute !important;
    right: 10px !important;
    top: 10px !important;
}

.toast-close-button:hover {
    opacity: 1 !important;
}

/* Toastr Progress Bar Styling */
.toast-progress {
    background: rgba(0, 0, 0, 0.1) !important;
    height: 3px !important;
    border-radius: 0 0 8px 8px !important;
}

/* Toastr Animation */
.toast {
    animation: slideInRight 0.4s ease-out !important;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Toastr Hover Effects */
.toast:hover {
    transform: translateX(-3px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Responsive Toastr Styling */
@media (max-width: 768px) {
    #toast-container {
        top: 10px !important;
        right: 10px !important;
        left: 10px !important;
    }
    
    .toast {
        margin: 5px 0 !important;
        border-radius: 6px !important;
        min-width: auto !important;
        max-width: none !important;
        padding: 12px 15px !important;
    }
    
    .toast-title {
        font-size: 0.95rem !important;
    }
    
    .toast-message {
        font-size: 0.85rem !important;
    }
}

/* Search results: body snippet under title */
.search-result-body-snippet {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.45;
    word-break: break-word;
    max-width: 42rem;
}

/* Search results table: stack rows as cards on small screens */
@media (max-width: 767.98px) {
    .ump-search-results-page {
        min-width: 0;
    }

    .ump-search-results-page .section-title {
        font-size: 1.1rem;
        line-height: 1.35;
        word-break: break-word;
    }

    .ump-search-results-page .ump-search-results-summary {
        font-size: 0.9375rem;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .search-result-body-snippet {
        max-width: 100%;
    }

    .ump-search-results-responsive {
        overflow-x: visible !important;
        -webkit-overflow-scrolling: auto;
        padding: 0.5rem 0.65rem 0.85rem;
    }

    .ump-search-results-table {
        border: 0;
        margin-bottom: 0;
    }

    .ump-search-results-table,
    .ump-search-results-table tbody,
    .ump-search-results-table tr,
    .ump-search-results-table td {
        display: block;
        width: 100%;
    }

    .ump-search-results-table thead {
        display: none;
    }

    .ump-search-results-table tbody tr.content-row {
        margin-bottom: 0.85rem;
        border: 1px solid rgba(15, 23, 42, 0.1);
        border-radius: 0.5rem;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    }

    .ump-search-results-table tbody tr.content-row:last-child {
        margin-bottom: 0;
    }

    .ump-search-results-table tbody tr.content-row td {
        border: 0;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        padding: 0.65rem 0.85rem;
    }

    .ump-search-results-table tbody tr.content-row td:last-child {
        border-bottom: 0;
    }

    .ump-search-results-table tbody td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-size: 0.6875rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #64748b;
        margin-bottom: 0.35rem;
    }

    .ump-search-results-table .ump-col-num {
        background: #f8fafc;
        font-size: 0.9375rem;
    }

    .ump-search-results-table .ump-col-title a {
        overflow-wrap: anywhere;
        max-width: 100%;
    }

    .ump-search-results-table .ump-col-category .badge {
        max-width: 100%;
        white-space: normal;
    }

    .ump-search-pagination {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-bottom: 0.25rem;
    }

    .ump-search-pagination .pagination {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 0.35rem;
        column-gap: 0.15rem;
        margin-bottom: 0;
        padding-left: 0;
    }

    .ump-search-pagination .page-link {
        padding: 0.35rem 0.45rem;
        font-size: 0.8125rem;
        min-width: 2.25rem;
        text-align: center;
    }

    .ump-search-pagination .page-item:first-child .page-link,
    .ump-search-pagination .page-item:last-child .page-link {
        padding-inline: 0.4rem;
    }

    .ump-search-results-page .empty-state-title {
        font-size: 1.25rem;
    }

    .ump-search-results-page .empty-state-icon .fa-4x {
        font-size: 2.35rem;
    }

    .ump-search-results-page .empty-state-description {
        font-size: 0.9375rem;
        line-height: 1.55;
        overflow-wrap: anywhere;
    }
}

/* Keep header avatars circular regardless of uploaded image dimensions. */
.nxl-header .user-avtar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
}

/* Duralux layout: global content search in page-header (input + button) */
.ump-header-search-form-wrap {
    min-width: 14rem;
    max-width: 22rem;
    padding-top: 10px;
}

.ump-header-search-form {
    --ump-search-border: rgba(15, 23, 42, 0.12);
    --ump-search-bg: #f8fafc;
    --ump-search-focus: rgba(13, 110, 253, 0.22);
    --ump-search-height: 2.5rem;
    display: flex;
    align-items: stretch;
    border-radius: 9999px;
    overflow: hidden;
    border: 1px solid var(--ump-search-border);
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ump-header-search-form:focus-within {
    border-color: rgba(13, 110, 253, 0.45);
    box-shadow: 0 0 0 3px var(--ump-search-focus), 0 2px 10px rgba(15, 23, 42, 0.06);
}

.ump-header-search-form .ump-header-search-lead {
    border: 0;
    background: var(--ump-search-bg);
    color: #64748b;
    flex: 0 0 auto;
    width: var(--ump-search-height);
    min-width: var(--ump-search-height);
    min-height: var(--ump-search-height);
    max-height: var(--ump-search-height);
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.ump-header-search-form .ump-header-search-lead i {
    display: block;
    line-height: 1;
}

.ump-header-search-form .ump-header-search-input {
    flex: 1 1 auto;
    min-width: 0;
    box-sizing: border-box;
    height: var(--ump-search-height);
    min-height: var(--ump-search-height);
    max-height: var(--ump-search-height);
    border: 0;
    background: var(--ump-search-bg);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #0f172a;
    line-height: 1.3;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0.35rem;
    padding-right: 0.65rem;
}

.ump-header-search-form .ump-header-search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
    letter-spacing: 0;
}

.ump-header-search-form .ump-header-search-input:focus {
    box-shadow: none;
    background: #fff;
    z-index: 1;
}

.ump-header-search-form:focus-within .ump-header-search-lead {
    background: #fff;
    color: #475569;
}

.ump-header-search-form .ump-header-search-submit {
    border: 0;
    border-radius: 0;
    flex: 0 0 auto;
    box-sizing: border-box;
    height: var(--ump-search-height);
    min-height: var(--ump-search-height);
    max-height: var(--ump-search-height);
    min-width: var(--ump-search-height);
    padding: 0;
    padding-inline: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: none;
    transition: filter 0.15s ease, transform 0.15s ease;
}

.ump-header-search-form .ump-header-search-submit i {
    font-size: 1.05rem;
    line-height: 1;
    display: block;
}

.ump-header-search-form .ump-header-search-submit:hover {
    filter: brightness(1.06);
}

.ump-header-search-form .ump-header-search-submit:active {
    transform: scale(0.98);
}

@media (max-width: 575.98px) {
    .ump-header-search-form-wrap {
        min-width: 0;
        max-width: none;
        width: 100%;
        flex: 1 1 100%;
    }

    .page-header > .d-flex.align-items-center {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.75rem !important;
    }

    .ump-header-search-form .ump-header-search-input {
        flex: 1 1 auto;
        min-width: 0;
    }
}

.highlight-blue {
    background-color: #add8e6;
    padding: 0 6px;
}

.highlight-red {
    background-color: #ffcccb;
    padding: 0 6px;
}

/* ===== Google Translate Widget (Dashboard) ===== */
#google_translate_element .goog-te-gadget > span {
    display: none;
}

/* --- Google Translate Button (SIMPLE layout) --- */
.goog-te-gadget-simple {
    display: inline-flex !important;
    align-items: center !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.goog-te-gadget-simple:hover {
    background: #f9fafb !important;
    border-color: #d1d5db !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
}

/* Ikon Globe di kiri */
.goog-te-gadget-simple::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif;
    font-weight: 900;
    content: "\f0ac";
    color: #111827 !important;
    font-size: 15px !important;
    margin-right: 8px !important;
}



/* Hide Google branding in dropdown */
.goog-logo-link {
    display: none !important;
}
.goog-te-gadget {
    color: transparent !important;
}

.goog-te-gadget-simple a.goog-te-menu-value {
    text-decoration: none !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 0px !important;
    font-size: 0 !important;
    color: transparent !important;
}

.goog-te-gadget-simple a.goog-te-menu-value span {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #111827 !important;
    font-family: 'Inter', sans-serif !important;
    text-decoration: none !important;
    border: none !important;
    transition: color 0.2s ease !important;
    text-transform: capitalize !important;
    letter-spacing: normal !important;
}

/* Buang dropdown arrow sepenuhnya (Sembunyikan semua elemen kecuali teks bahasa utama) */
.goog-te-gadget-simple a.goog-te-menu-value > *:not(span:first-child),
.goog-te-gadget-simple a.goog-te-menu-value > span > *,
.goog-te-gadget-simple a.goog-te-menu-value span[aria-hidden="true"] {
    display: none !important;
}

.goog-te-gadget-simple:hover a.goog-te-menu-value span {
    color: #000000 !important;
}

/* Hide default google translate arrow/images */
.goog-te-gadget-simple img {
    display: none !important;
}

/* Hide Google's logo image */
.goog-te-gadget-icon {
    display: none !important;
}

/* Hide the Google Translate top banner only (not the language dropdown) */
iframe.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
}

body > .skiptranslate.goog-translate-banner-hidden {
    display: none !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Prevent body from shifting down when translation is active */
html.translated-ltr body,
html.translated-rtl body,
body {
    top: 0 !important;
    position: static !important;
}

/* Hide the Google Translate tooltip on hover */
#goog-gt-tt {
    display: none !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}
