.remove_violet_header .card-header{
    display:none;
}
.remove_violet_header.content{
    margin-top: 30px !important;
}
.remove_violet_header .custom-select{
    display: inline-block;
    width: 100px;
    border: 1px solid #eee !important;
    appearance: auto;
    border-radius: 6px;
    border-bottom: none !important;
    padding: 5px;
    margin: 0 3px;
}
.remove_violet_header .dataTables_filter span{
    display: inline-block;
}

.job-chat{
    height: 240px;
    overflow-y: auto;
}
.chat_btn{
    border:1px solid #eee;
}
.chat_btn textarea{
    padding: 10px;
    border:none;
    width: 100%;
}
.paginate_button.page-item:hover {
    background: none !important;
    border: none !important;
}
.sidebar .nav p {
    line-height: 25px !important;
    white-space: normal !important;
}
.sidebar .nav i {
    height: 35px !important;
}

/*modal image*/
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {
    opacity: 0.7;
}
.img-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    /*  z-index: -1;  Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(87,87,87,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content1 {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 700px;
}


/* Add Animation */
.modal-content1, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform:scale(0)
    }
    to {
        -webkit-transform:scale(1)
    }
}

@keyframes zoom {
    from {
        transform:scale(0)
    }
    to {
        transform:scale(1)
    }
}

/* The Close Button */
.img-close {
    position: absolute;
    top: 50px;
    right: 50px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.img-close:hover,
.img-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content1 {
        width: 100%;
    }
}

.error {
    color: #f33923 !important;
    /*font-size: 90% !important;*/
}

.delete-icon {
    color: red !important;
}

/*.sidebar .nav {
    margin-top: 7px;
}*/
.sidebar .nav li a, .sidebar .nav li .dropdown-menu a{
    /*margin: 5px 15px 0;*/
    padding: 7px 15px;
}

.submenu-hidden {
  visibility: hidden !important;
}

.add-btn  {
  text-transform: capitalize;
  font-weight: bold;
  font-size:13px !important;
}


/* Custom page title in place of layout titlePage */

/* Scoped overrides to resolve global CSS conflicts in Admin Portal */

.remove_violet_header .btn-primary {
    background-color: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

.remove_violet_header .btn-primary:hover {
    background-color: #333 !important;
    border-color: #333 !important;
}

.remove_violet_header .btn-secondary {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #fff !important;
}

.remove_violet_header .btn-secondary:hover {
    background-color: #5a6268 !important;
    border-color: black !important;
}

/* Validation messages */
.remove_violet_header span.text-danger {
    font-size: 0.875rem;
}

/* Card footer buttons spacing */
.remove_violet_header .card-footer .btn {
    margin-right: 8px;
}

/* Card styling */
.remove_violet_header .card {
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    background: #fff !important;
    box-shadow: none !important;
}

/* Card body padding */
.remove_violet_header .card-body {
    padding: 20px !important;
    color: #000 !important;
}

/* Card Titles */
.remove_violet_header .card .card-title {
    font-weight: 700 !important;   /* bold title */
    color: #000 !important;
}

/* Labels */
.remove_violet_header label.col-form-label {
    font-weight: 600 !important;   /* bold */
    color: #000 !important;        /* black */
}

/* Colon after labels */
.remove_violet_header label.col-form-label::after {
    content: " :";
    margin-left: 2px;
    font-weight: bold !important;
    float: right;
}

/* Input fields (text, email, number, password, textarea) */
.remove_violet_header .form-control,
.remove_violet_header input.form-control, 
.remove_violet_header select.form-control,
.remove_violet_header textarea.form-control {
    border: 1px solid #000 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    padding: 10px !important;
    color: #000 !important;
    background-color: #fff !important;
    outline: none !important;
}

/* Select boxes same style */
.remove_violet_header select.form-control {
    border: 1px solid #000 !important;
    color: #000 !important;
    background-color: #fff !important;
}

/* Error messages in red */
.remove_violet_header .text-danger {
    color: red !important;
    font-weight: bold !important;
}

/* Input focus styling */
.remove_violet_header .form-control:focus,
.remove_violet_header input.form-control:focus, 
.remove_violet_header select.form-control:focus,
.remove_violet_header textarea.form-control:focus {
    border-color: #999 !important;
    box-shadow: 0 0 5px rgba(0,0,0,0.2) !important;
}

/* Remove any small underline pseudo-elements */
.remove_violet_header input.form-control::after,
.remove_violet_header select.form-control::after {
    display: none !important;
}

/* user list & dataTables scoping */

/* Move search box to the right */
.remove_violet_header .dataTables_filter {
    float: right !important;
    text-align: right;
}

/* Move pagination to the right */
.remove_violet_header .dataTables_paginate {
    float: right !important;
}

/* Keep "Show entries" on the left */
.remove_violet_header .dataTables_length {
    float: left !important;
}

/* Style table borders and remove fade effect */
.remove_violet_header table.dataTable {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #ddd !important;
}

/* Style table header */
.remove_violet_header table.dataTable thead th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
}

/* Style table body */
.remove_violet_header table.dataTable tbody td {
    border-bottom: 1px solid #eee;
}

/* Remove the default search input shadow/border fade */
.remove_violet_header .dataTables_filter input {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    border-radius: 4px !important;
    padding: 4px 8px !important;
}

/* Remove pink outline and focus glow from search box */
.remove_violet_header .dataTables_filter input:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #ccc !important;
}

/* Slight space from top */
.remove_violet_header.content,
.remove_violet_header .container-fluid {
    margin-top: 15px !important;
    padding-top: 0 !important;
}

/* Page title */
.remove_violet_header .page-title {
    position: static !important;
    top: auto !important;
    margin-top: 15px !important;
    padding: 0 0 10px 0 !important;
    font-weight: 600 !important;
    font-size: 1.6rem !important;
    color: #000 !important;
    margin-bottom: 20px !important;
    text-align: left !important;
    width: 100% !important;
}

/* Table and form wrapper spacing — use card only, avoid padding-top:0 on card-body */
.remove_violet_header .card {
    margin-top: 10px !important;
}

/* DataTable search and pagination margins */
.remove_violet_header .dataTables_wrapper .dataTables_filter,
.remove_violet_header .dataTables_wrapper .dataTables_paginate {
    margin-top: 5px !important;
    margin-bottom: 10px !important;
}

/* Spacing around form rows */
.remove_violet_header .row.mb-3 {
    margin-bottom: 15px !important;
}

/* Card footer button alignment */
.remove_violet_header .card-footer {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border-top: 1px solid #eaeaea !important;
    background-color: #fafafa !important;
}
#telecom-assets-tbl th {
    position: relative;
    padding-right: 30px !important; /* give more space for arrows */
    white-space: nowrap; /* prevent wrapping */
}

/* Position the sorting arrows correctly */
#telecom-assets-tbl th.sorting::after,
#telecom-assets-tbl th.sorting_asc::after,
#telecom-assets-tbl th.sorting_desc::after {
    position: absolute;
    right: 10px;  /* distance from right edge */
    top: 50%;
    transform: translateY(-50%); /* vertically center arrows */
}
#nonItAssetsTbl th {
    position: relative;
    padding-right: 30px !important; /* space for arrows */
    white-space: nowrap;
}

#nonItAssetsTbl th.sorting::after,
#nonItAssetsTbl th.sorting_asc::after,
#nonItAssetsTbl th.sorting_desc::after {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
td.d-flex.gap-2 a {
    margin-right: 8px;
}
.change-font{
font-weight:normal;
}

.add-colon::after {
    content: " :";
    font-weight: bold !important;
    float: right;
}

/* Radio group layout (safe, no conflict with card/form) */
.radio-group {
    display: flex;
    gap: 30px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-top: 6px;
}

.radio-group input[type="radio"] {
    margin-top: 4px;
}

.radio-group label {
    margin-bottom: 0;
    font-weight: 400;
    color: #444;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item.active-master > .nav-link {
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 4px;
    font-weight: 500;
}
.modal-sm-custom {
  max-width: 600px;
}
@media (max-width: 768px) {
  .modal-sm-custom {
    max-width: 90vw;
    margin: 0 auto;
  }
}
.table th, .table td {
  padding: 0.4rem 0.6rem;
  font-size: 14px;
}
.modal-mod{
width: 50%; 
}

  /* .gallery-thumb {
    width: 150px;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ccc;
  } */
.gallery-thumb {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* Fix sidebar submenu layout deformation during expand/collapse transition */
.sidebar .collapse,
.sidebar .collapsing {
    clear: both;
    visibility: visible !important;
}
.sidebar .collapse.show {
    display: block !important;
    visibility: visible !important;
}
.sidebar,
.sidebar * {
    transition: none !important;
    transition-duration: 0s !important;
    animation: none !important;
    animation-duration: 0s !important;
}
.sidebar .collapsing {
    transition: height 1ms linear !important;
    transition-duration: 1ms !important;
}

/* Global Font Smoothing & Crisp Text Rendering Quality */
html, body, p, a, span, button, input, select, textarea, table, th, td, h1, h2, h3, h4, h5, h6, label, li, ul, ol {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}

/* Ensure Icons (FontAwesome & Material Icons) render crisply without blurriness */
.material-icons,
[class^="fa-"],
[class*=" fa-"],
.fas,
.far,
.fab,
.fa-solid,
.fa-regular,
.fa-brands,
.sidebar .nav i {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: auto !important;
}

/* Fix browser font rendering jitter / thin-thick shifts on transition and scale */
.sidebar,
.sidebar *,
.main-panel,
.card,
.glass-card,
.btn,
    margin-top: 15px !important;
    padding-top: 0 !important;
}

/* Page title */
.remove_violet_header .page-title {
    position: static !important;
    top: auto !important;
    margin-top: 15px !important;
    padding: 0 0 10px 0 !important;
    font-weight: 600 !important;
    font-size: 1.6rem !important;
    color: #000 !important;
    margin-bottom: 20px !important;
    text-align: left !important;
    width: 100% !important;
}

/* Table and form wrapper spacing — use card only, avoid padding-top:0 on card-body */
.remove_violet_header .card {
    margin-top: 10px !important;
}

/* DataTable search and pagination margins */
.remove_violet_header .dataTables_wrapper .dataTables_filter,
.remove_violet_header .dataTables_wrapper .dataTables_paginate {
    margin-top: 5px !important;
    margin-bottom: 10px !important;
}

/* Spacing around form rows */
.remove_violet_header .row.mb-3 {
    margin-bottom: 15px !important;
}

/* Card footer button alignment */
.remove_violet_header .card-footer {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border-top: 1px solid #eaeaea !important;
    background-color: #fafafa !important;
}
#telecom-assets-tbl th {
    position: relative;
    padding-right: 30px !important; /* give more space for arrows */
    white-space: nowrap; /* prevent wrapping */
}

/* Position the sorting arrows correctly */
#telecom-assets-tbl th.sorting::after,
#telecom-assets-tbl th.sorting_asc::after,
#telecom-assets-tbl th.sorting_desc::after {
    position: absolute;
    right: 10px;  /* distance from right edge */
    top: 50%;
    transform: translateY(-50%); /* vertically center arrows */
}
#nonItAssetsTbl th {
    position: relative;
    padding-right: 30px !important; /* space for arrows */
    white-space: nowrap;
}

#nonItAssetsTbl th.sorting::after,
#nonItAssetsTbl th.sorting_asc::after,
#nonItAssetsTbl th.sorting_desc::after {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
td.d-flex.gap-2 a {
    margin-right: 8px;
}
.change-font{
font-weight:normal;
}

.add-colon::after {
    content: " :";
    font-weight: bold !important;
    float: right;
}

/* Radio group layout (safe, no conflict with card/form) */
.radio-group {
    display: flex;
    gap: 30px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-top: 6px;
}

.radio-group input[type="radio"] {
    margin-top: 4px;
}

.radio-group label {
    margin-bottom: 0;
    font-weight: 400;
    color: #444;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item.active-master > .nav-link {
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 4px;
    font-weight: 500;
}
.modal-sm-custom {
  max-width: 600px;
}
@media (max-width: 768px) {
  .modal-sm-custom {
    max-width: 90vw;
    margin: 0 auto;
  }
}
.table th, .table td {
  padding: 0.4rem 0.6rem;
  font-size: 14px;
}
.modal-mod{
width: 50%; 
}

  /* .gallery-thumb {
    width: 150px;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ccc;
  } */
.gallery-thumb {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* Fix sidebar submenu layout deformation during expand/collapse transition */
.sidebar .collapse,
.sidebar .collapsing {
    clear: both;
    visibility: visible !important;
}
.sidebar .collapse.show {
    display: block !important;
    visibility: visible !important;
}
.sidebar,
.sidebar * {
    transition: none !important;
    transition-duration: 0s !important;
    animation: none !important;
    animation-duration: 0s !important;
}
.sidebar .collapsing {
    transition: height 1ms linear !important;
    transition-duration: 1ms !important;
}

/* Global Font Smoothing & Crisp Text Rendering Quality */
html, body, p, a, span, button, input, select, textarea, table, th, td, h1, h2, h3, h4, h5, h6, label, li, ul, ol {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}

/* Ensure Icons (FontAwesome & Material Icons) render crisply without blurriness */
.material-icons,
[class^="fa-"],
[class*=" fa-"],
.fas,
.far,
.fab,
.fa-solid,
.fa-regular,
.fa-brands,
.sidebar .nav i {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: auto !important;
}

/* Fix browser font rendering jitter / thin-thick shifts on transition and scale */
.sidebar,
.sidebar *,
.main-panel,
.card,
.glass-card,
.btn,
.navbar {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}/* Sidebar submenu Windows Explorer style navigation (rotating chevrons + bullet list sub-items) */

/* Shifting all top-level menu links to the right to align their text perfectly */
body:not(.sidebar-mini) .sidebar .sidebar-wrapper > ul.nav > li.nav-item > a.nav-link {
    padding-left: 65px !important;
    position: relative;
    display: flex !important;
    align-items: center !important;
    height: 48px !important;
}

/* Position all top-level menu icons absolutely to align them vertically */
body:not(.sidebar-mini) .sidebar .sidebar-wrapper > ul.nav > li.nav-item > a.nav-link > i {
    position: absolute !important;
    left: 30px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

/* Reset line height on paragraph tag to center text vertically */
body:not(.sidebar-mini) .sidebar .sidebar-wrapper > ul.nav > li.nav-item > a.nav-link > p {
    margin: 0 !important;
    line-height: 1 !important;
}

/* Rotatable chevron arrow on the left of collapsible parent folders */
body:not(.sidebar-mini) .sidebar .sidebar-wrapper > ul.nav > li.nav-item > a.nav-link[data-toggle="collapse"]::before {
    content: "\f105"; /* FontAwesome chevron-right icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: #718096; /* Subtle Windows Explorer style grey */
    transition: transform 0.15s ease, color 0.15s ease;
    z-index: 12;
}

body:not(.sidebar-mini) .sidebar .sidebar-wrapper > ul.nav > li.nav-item > a.nav-link[data-toggle="collapse"][aria-expanded="true"]::before {
    transform: translateY(-50%) rotate(90deg); /* Points down when open */
    color: #4a5568;
}

/* Hide caret arrow on the right to match Windows Explorer */
body:not(.sidebar-mini) .sidebar .sidebar-wrapper > ul.nav > li.nav-item > a.nav-link[data-toggle="collapse"] b.caret {
    display: none !important;
}

/* Submenu container spacing */
body:not(.sidebar-mini) .sidebar .sidebar-wrapper > ul.nav > li.nav-item > div.collapse > ul.nav {
    margin: 0 !important;
    padding: 0 !important;
}

/* Align subfolders exactly under parent menu's text start */
body:not(.sidebar-mini) .sidebar .sidebar-wrapper > ul.nav > li.nav-item > div.collapse > ul.nav > li.nav-item {
    padding-left: 65px !important;
    position: relative;
}

/* Submenu links styled as a clean bullet list */
body:not(.sidebar-mini) .sidebar .sidebar-wrapper > ul.nav > li.nav-item > div.collapse > ul.nav > li.nav-item > a.nav-link {
    margin: 0 !important;
    padding: 6px 15px 6px 20px !important; /* Shorter vertical padding for bullet lists */
    position: relative;
    background: none !important;
    box-shadow: none !important;
}

/* Submenu link text styling */
body:not(.sidebar-mini) .sidebar .sidebar-wrapper > ul.nav > li.nav-item > div.collapse > ul.nav > li.nav-item > a.nav-link p {
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: normal !important;
    color: #4a5568 !important;
}

body:not(.sidebar-mini) .sidebar .sidebar-wrapper > ul.nav > li.nav-item > div.collapse > ul.nav > li.nav-item.active > a.nav-link p {
    font-weight: 600 !important;
    color: #8B1649 !important; /* Highlight active in theme color */
}

/* Hide default icons of submodules */
body:not(.sidebar-mini) .sidebar .sidebar-wrapper > ul.nav > li.nav-item > div.collapse > ul.nav > li.nav-item > a.nav-link i {
    display: none !important;
}

/* Add custom bullet dot */
body:not(.sidebar-mini) .sidebar .sidebar-wrapper > ul.nav > li.nav-item > div.collapse > ul.nav > li.nav-item > a.nav-link::before {
    content: "•";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #a0aec0; /* Sleek bullet dot color */
    transition: color 0.2s ease;
}

/* Active bullet dot color */
body:not(.sidebar-mini) .sidebar .sidebar-wrapper > ul.nav > li.nav-item > div.collapse > ul.nav > li.nav-item.active > a.nav-link::before {
    color: #8B1649;
    font-size: 16px;
}

/* Disable old branch line pseudo-elements */
body:not(.sidebar-mini) .sidebar .collapse ul.nav li.nav-item::before,
body:not(.sidebar-mini) .sidebar .collapse ul.nav li.nav-item::after {
    display: none !important;
}

/* Fix Tailwind conflict with Bootstrap navbar collapse */
.navbar-collapse {
    visibility: visible !important;
}

/* Sidebar Active Highlights matching OLM Theme */
.sidebar .nav li.active > a,
.sidebar .nav li.active-master > a,
.sidebar .nav li .nav li.active > a {
    background-color: #6c1340 !important;
    box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(108, 19, 64, 0.4) !important;
    color: #fff !important;
}
.sidebar .nav li a:hover {
    background-color: rgba(108, 19, 64, 0.08) !important;
}

/* Font Awesome fallback styling for templates with class typos (e.g. fa pencil) */
.fa.pencil:before {
    content: "\f040" !important;
}
.fa.trash:before {
    content: "\f1f8" !important;
}
.fa.trash-o:before {
    content: "\f014" !important;
}
.fa.pencil, .fa.trash, .fa.trash-o {
    font-family: FontAwesome !important;
    font-style: normal !important;
    display: inline-block !important;
    text-decoration: inherit !important;
}

/* Light premium rose background for the main panel */
.main-panel {
    background-color: #faf6f8 !important;
}
/* White background for cards in main panel */
.main-panel .card {
    background-color: #ffffff !important;
}

/* Sidebar theme color hover state override */
.sidebar[data-color="rose"] .nav li:hover:not(.active) > a,
.sidebar .nav li:not(.active):not(.active-master) > a:hover,
.sidebar .nav li:not(.active):not(.active-master) > a:focus,
.sidebar .nav li .nav li:not(.active) > a:hover,
.sidebar .nav li a:hover,
.sidebar .nav li a:focus {
    background-color: rgba(174, 25, 82, 0.08) !important;
    color: #ae1952 !important;
}

/* Sidebar icons hover state color matching website theme */
.sidebar .nav li:hover:not(.active):not(.active-master) > a i,
.sidebar .nav li:not(.active):not(.active-master) > a:hover i,
.sidebar .nav li:not(.active):not(.active-master) > a:focus i,
.sidebar .nav li .nav li:hover:not(.active) > a i,
.sidebar .nav li a:hover i,
.sidebar .nav li a:focus i {
    color: #ae1952 !important;
}

/* Sidebar dropdown caret hover state color matching website theme */
.sidebar .nav li:hover:not(.active):not(.active-master) > a b,
.sidebar .nav li:not(.active):not(.active-master) > a:hover b,
.sidebar .nav li:not(.active):not(.active-master) > a:focus b,
.sidebar .nav li a:hover b,
.sidebar .nav li a:focus b {
    border-top-color: #ae1952 !important;
    border-bottom-color: #ae1952 !important;
}

/* Enable global text selection across all elements */
* {
    -webkit-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
    user-select: auto !important;
}

