/**
* Template Name: NiceAdmin - v2.2.2
* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  background: #f4f8fc;
  color: #444444;
}

a {
  color: #0062a3;
  text-decoration: none;
}

a:hover {
  color: #0088cc;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Nunito", sans-serif;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
  margin-top: 60px;
  padding: 20px 30px;
  transition: all 0.3s;
}
@media (max-width: 1199px) {
  #main {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
  margin-bottom: 20px;
}
.pagetitle h1 {
  font-size: 24px;
  margin-bottom: 0;
  font-weight: 600;
  color: #00467a;
  text-align: center;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #0062a3;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}
.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}
.back-to-top:hover {
  background: #0051a0;
  color: #fff;
}
.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
  border-radius: 4px;
  padding: 10px 0;
  -webkit-animation-name: dropdown-animate;
  animation-name: dropdown-animate;
  -webkit-animation-duration: 0.2s;
  animation-duration: 0.2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  border: 0;
  box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}
.dropdown-menu .dropdown-header, .dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 15px;
  padding: 10px 25px;
}
.dropdown-menu .dropdown-footer a {
  color: #444444;
  text-decoration: underline;
}
.dropdown-menu .dropdown-footer a:hover {
  text-decoration: none;
}
.dropdown-menu .dropdown-divider {
  color: #a5c5fe;
  margin: 0;
}
.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}
.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}
.dropdown-menu .dropdown-item:hover {
  background-color: #e6f2fa;
}

@media (min-width: 768px) {
  .dropdown-menu-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #fff;
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    border-top: 1px solid #eaedf1;
    border-left: 1px solid #eaedf1;
  }
}
@-webkit-keyframes dropdown-animate {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
  0% {
    opacity: 0;
  }
}
@keyframes dropdown-animate {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
  0% {
    opacity: 0;
  }
}
/* Light Backgrounds */
.bg-primary-light {
  background-color: #cfe2ff;
  border-color: #cfe2ff;
}

.bg-secondary-light {
  background-color: #e2e3e5;
  border-color: #e2e3e5;
}

.bg-success-light {
  background-color: #d1e7dd;
  border-color: #d1e7dd;
}

.bg-danger-light {
  background-color: #f8d7da;
  border-color: #f8d7da;
}

.bg-warning-light {
  background-color: #fff3cd;
  border-color: #fff3cd;
}

.bg-info-light {
  background-color: #cff4fc;
  border-color: #cff4fc;
}

.bg-dark-light {
  background-color: #d3d3d4;
  border-color: #d3d3d4;
}

/* Card */
.card {
  margin-bottom: 30px;
  border: none;
  border-radius: 5px;
  box-shadow: 0px 0 30px rgba(0, 98, 163, 0.1);
}

.card-header, .card-footer {
  border-color: #d6e5f0;
  background-color: #fff;
  color: #5a7fa3;
  padding: 15px;
}

.card-title {
  padding: 20px 0 15px 0;
  font-size: 18px;
  font-weight: 500;
  color: #00467a;
  font-family: "Poppins", sans-serif;
}
.card-title span {
  color: #5a7fa3;
  font-size: 14px;
  font-weight: 400;
}
.card-body {
  padding: 0 20px 20px 20px;
}

.card-img-overlay {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
}

/* Close Button */
.btn-close {
  background-size: 25%;
}
.btn-close:focus {
  outline: 0;
  box-shadow: none;
}

/* Accordion */
.accordion-item {
  border: 1px solid #ebeef4;
}

.accordion-button:focus {
  outline: 0;
  box-shadow: none;
}
.accordion-button:not(.collapsed) {
  color: #00467a;
  background-color: #e6f2fa;
}

.accordion-flush .accordion-button {
  padding: 15px 0;
  background: none;
  border: 0;
}
.accordion-flush .accordion-button:not(.collapsed) {
  box-shadow: none;
  color: #0062a3;
}
.accordion-flush .accordion-body {
  padding: 0 0 15px 0;
  color: #3e4f6f;
  font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 14px;
  font-family: "Nunito", sans-serif;
  color: #5a7fa3;
  font-weight: 600;
}
.breadcrumb a {
  color: #5a7fa3;
  transition: 0.3s;
}
.breadcrumb a:hover {
  color: #0062a3;
}
.breadcrumb .breadcrumb-item::before {
  color: #5a7fa3;
}
.breadcrumb .active {
  color: #5a7fa3;
  font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 2px solid #ebeef4;
}
.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: #2c384e;
}
.nav-tabs-bordered .nav-link:hover, .nav-tabs-bordered .nav-link:focus {
  color: #0062a3;
}
.nav-tabs-bordered .nav-link.active {
  background-color: #fff;
  color: #0062a3;
  border-bottom: 2px solid #0062a3;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
  line-height: 1;
}
.logo img {
  max-height: 44px;
  margin-right: 10px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 5px 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.logo span {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  font-family: "Nunito", sans-serif;
}

.header {
  transition: all 0.5s;
  z-index: 997;
  height: 60px;
  box-shadow: 0px 4px 20px rgba(0, 49, 90, 0.25);
  background: linear-gradient(135deg, #00315a 0%, #0062a3 100%);
  padding-left: 20px;
  /* Toggle Sidebar Button */
  /* Search Bar */
}
.header .toggle-sidebar-btn {
  font-size: 32px;
  padding-left: 10px;
  cursor: pointer;
  color: #ffffff;
}
.header .search-bar {
  min-width: 360px;
  padding: 0 20px;
}
@media (max-width: 1199px) {
  .header .search-bar {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
    background: white;
    z-index: 9999;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
  }
  .header .search-bar-show {
    top: 60px;
    visibility: visible;
    opacity: 1;
  }
}
.header .search-form {
  width: 100%;
}
.header .search-form input {
  border: 0;
  font-size: 14px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  padding: 7px 38px 7px 8px;
  border-radius: 5px;
  transition: 0.3s;
  width: 100%;
}
.header .search-form input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}
.header .search-form input:focus, .header .search-form input:hover {
  outline: none;
  box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.22);
}
.header .search-form button {
  border: 0;
  padding: 0;
  margin-left: -30px;
  background: none;
}
.header .search-form button i {
  color: #ffffff;
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
  list-style: none;
}
.header-nav > ul {
  margin: 0;
  padding: 0;
}
.header-nav .nav-icon {
  font-size: 20px;
  color: #ffffff;
}
.header-nav .nav-profile {
  color: #ffffff;
}
.header-nav .nav-profile img {
  max-height: 36px;
}
.header-nav .nav-profile span {
  font-size: 14px;
  font-weight: 600;
}
.header-nav .badge-number {
  position: absolute;
  inset: 4px 6px auto auto;
  font-weight: normal;
  font-size: 11px;
  padding: 3px 6px;
}
.header-nav .notifications .notification-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  transition: 0.3s;
}
.header-nav .notifications .notification-item i {
  margin: 0 20px 0 10px;
  font-size: 24px;
}
.header-nav .notifications .notification-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}
.header-nav .notifications .notification-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}
.header-nav .notifications .notification-item:hover {
  background-color: #e6f2fa;
}
.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: 0.3s;
}
.header-nav .messages .message-item a {
  display: flex;
}
.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  max-height: 40px;
}
.header-nav .messages .message-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #444444;
}
.header-nav .messages .message-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}
.header-nav .messages .message-item:hover {
  background-color: #e6f2fa;
}
.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
}
.header-nav .profile .dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
  color: #444444;
}
.header-nav .profile .dropdown-header span {
  font-size: 14px;
}
.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}
.header-nav .profile .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}
.header-nav .profile .dropdown-item:hover {
  background-color: #e6f2fa;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
  position: fixed;
  top: 60px;
  left: 0;
  bottom: 0;
  width: 300px;
  z-index: 996;
  transition: all 0.3s;
  padding: 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #4a7fa3 transparent;
  box-shadow: 0px 0px 20px rgba(0, 49, 90, 0.3);
  background-color: #00315a;
}
@media (max-width: 1199px) {
  .sidebar {
    left: -300px;
  }
}
.sidebar::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: #002545;
}
.sidebar::-webkit-scrollbar-thumb {
  background-color: #4a7fa3;
}

@media (min-width: 1200px) {
  #main, #footer {
    margin-left: 300px;
  }
}
@media (max-width: 1199px) {
  .toggle-sidebar .sidebar {
    left: 0;
  }
}
@media (min-width: 1200px) {
  .toggle-sidebar #main, .toggle-sidebar #footer {
    margin-left: 0;
  }
  .toggle-sidebar .sidebar {
    left: -300px;
  }
}

.sidebar-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}
.sidebar-nav li {
  padding: 0;
  margin: 0;
  list-style: none;
}
.sidebar-nav .nav-item {
  margin-bottom: 5px;
}
.sidebar-nav .nav-heading {
  font-size: 11px;
  text-transform: uppercase;
  color: #7bb8d9;
  font-weight: 600;
  margin: 10px 0 5px 15px;
}
.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  transition: 0.3;
  background: rgba(0, 136, 204, 0.25);
  padding: 10px 15px;
  border-radius: 4px;
}
.sidebar-nav .nav-link i {
  font-size: 16px;
  margin-right: 10px;
  color: #0088cc;
}
.sidebar-nav .nav-link.collapsed {
  color: #b8d4e8;
  background: transparent;
}
.sidebar-nav .nav-link.collapsed i {
  color: #7bb8d9;
}
.sidebar-nav .nav-link:hover {
  color: #ffffff;
  background: rgba(0, 136, 204, 0.25);
}
.sidebar-nav .nav-link:hover i {
  color: #0088cc;
}
.sidebar-nav .nav-link .bi-chevron-down {
  margin-right: 0;
  transition: transform 0.2s ease-in-out;
}
.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
  transform: rotate(180deg);
}
.sidebar-nav .nav-content {
  padding: 5px 0 0 0;
  margin: 0;
  list-style: none;
}
.sidebar-nav .nav-content a {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #b8d4e8;
  transition: 0.3;
  padding: 10px 0 10px 40px;
  transition: 0.3s;
}
.sidebar-nav .nav-content a i {
  font-size: 6px;
  margin-right: 8px;
  line-height: 0;
  border-radius: 50%;
}
.sidebar-nav .nav-content a:hover, .sidebar-nav .nav-content a.active {
  color: #ffffff;
}
.sidebar-nav .nav-content a.active i {
  background-color: #0088cc;
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
  position: absolute;
  right: 0px;
  top: 15px;
}
.dashboard .filter .icon {
  color: #aab7cf;
  padding-right: 20px;
  padding-bottom: 5px;
  transition: 0.3s;
  font-size: 16px;
}
.dashboard .filter .icon:hover, .dashboard .filter .icon:focus {
  color: #0062a3;
}
.dashboard .filter .dropdown-header {
  padding: 8px 15px;
}
.dashboard .filter .dropdown-header h6 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #aab7cf;
  margin-bottom: 0;
  padding: 0;
}
.dashboard .filter .dropdown-item {
  padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
  padding-bottom: 10px;
}
.dashboard .info-card h6 {
  font-size: 28px;
  color: #00467a;
  font-weight: 700;
  margin: 0;
  padding: 0;
}
.dashboard .card-icon {
  font-size: 32px;
  line-height: 0;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  flex-grow: 0;
}
.dashboard .sales-card .card-icon {
  color: #0062a3;
  background: #e6f2fa;
}
.dashboard .revenue-card .card-icon {
  color: #2eca6a;
  background: #e0f8e9;
}
.dashboard .customers-card .card-icon {
  color: #ff771d;
  background: #ffecdf;
}

/* Activity */
.dashboard .activity {
  font-size: 14px;
}
.dashboard .activity .activity-item .activite-label {
  color: #888;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 64px;
}
.dashboard .activity .activity-item .activite-label::before {
  content: "";
  position: absolute;
  right: -11px;
  width: 4px;
  top: 0;
  bottom: 0;
  background-color: #eceefe;
}
.dashboard .activity .activity-item .activity-badge {
  margin-top: 3px;
  z-index: 1;
  font-size: 11px;
  line-height: 0;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid #fff;
  flex-grow: 0;
}
.dashboard .activity .activity-item .activity-content {
  padding-left: 10px;
  padding-bottom: 20px;
}
.dashboard .activity .activity-item:first-child .activite-label::before {
  top: 5px;
}
.dashboard .activity .activity-item:last-child .activity-content {
  padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item + .post-item {
  margin-top: 15px;
}
.dashboard .news img {
  width: 80px;
  float: left;
  border-radius: 5px;
}
.dashboard .news h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
  margin-bottom: 5px;
}
.dashboard .news h4 a {
  color: #00467a;
  transition: 0.3s;
}
.dashboard .news h4 a:hover {
  color: #0062a3;
}
.dashboard .news p {
  font-size: 14px;
  color: #777777;
  margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
  font-size: 14px;
}
.dashboard .recent-sales .table thead {
  background: #e6f2fa;
}
.dashboard .recent-sales .table thead th {
  border: 0;
}
.dashboard .recent-sales .dataTable-top {
  padding: 0 0 10px 0;
}
.dashboard .recent-sales .dataTable-bottom {
  padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
  font-size: 14px;
}
.dashboard .top-selling .table thead {
  background: #e6f2fa;
}
.dashboard .top-selling .table thead th {
  border: 0;
}
.dashboard .top-selling .table tbody td {
  vertical-align: middle;
}
.dashboard .top-selling img {
  border-radius: 5px;
  max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  padding-top: 15px;
}
.iconslist .icon {
  background-color: #fff;
  border-radius: 0.25rem;
  text-align: center;
  color: #00467a;
  padding: 15px 0;
}
.iconslist i {
  margin: 0.25rem;
  font-size: 2.5rem;
}
.iconslist .label {
  font-family: var(--bs-font-monospace);
  display: inline-block;
  width: 100%;
  overflow: hidden;
  padding: 0.25rem;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
  max-width: 120px;
}
.profile .profile-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c384e;
  margin: 10px 0 0 0;
}
.profile .profile-card h3 {
  font-size: 18px;
}
.profile .profile-card .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(0, 98, 163, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
}
.profile .profile-card .social-links a:hover {
  color: #0062a3;
}
.profile .profile-overview .row {
  margin-bottom: 20px;
  font-size: 15px;
}
.profile .profile-overview .card-title {
  color: #00467a;
}
.profile .profile-overview .label {
  font-weight: 600;
  color: rgba(0, 98, 163, 0.6);
}
.profile .profile-edit label {
  font-weight: 600;
  color: rgba(0, 98, 163, 0.6);
}
.profile .profile-edit img {
  max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
  font-size: 18px;
  font-weight: 600;
  color: #0062a3;
}
.faq .basic p {
  color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  padding: 28px 30px;
}
.contact .info-box i {
  font-size: 38px;
  line-height: 0;
  color: #0062a3;
}
.contact .info-box h3 {
  font-size: 20px;
  color: #00467a;
  font-weight: 700;
  margin: 20px 0 10px 0;
}
.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}
.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}
.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}
.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}
.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}
.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 0;
}
.contact .php-email-form input:focus, .contact .php-email-form textarea:focus {
  border-color: #0062a3;
}
.contact .php-email-form input {
  padding: 10px 15px;
}
.contact .php-email-form textarea {
  padding: 12px 15px;
}
.contact .php-email-form button[type=submit] {
  background: #0062a3;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}
.contact .php-email-form button[type=submit]:hover {
  background: #0051a0;
}
@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
  padding: 30px;
}
.error-404 h1 {
  font-size: 180px;
  font-weight: 700;
  color: #0062a3;
  margin-bottom: 0;
  line-height: 150px;
}
.error-404 h2 {
  font-size: 24px;
  font-weight: 700;
  color: #00467a;
  margin-bottom: 30px;
}
.error-404 .btn {
  background: #0062a3;
  color: #fff;
  padding: 8px 30px;
}
.error-404 .btn:hover {
  background: #00467a;
}
@media (min-width: 992px) {
  .error-404 img {
    max-width: 50%;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 20px 0;
  font-size: 14px;
  transition: all 0.3s;
  border-top: 1px solid #d6e5f0;
}
.footer .copyright {
  text-align: center;
  color: #00467a;
}
.footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #00467a;
}

.selected-row-danger {
  background: #f8d7da;
}

.selected-row-reproceso {
  background: #CFF4FC;
}

/* Colores semánticos para headers de modales (bootbox) */
.modal-header-danger {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  color: #ffffff;
  border-radius: 6px 6px 0 0;
}

.modal-header-warning {
  background: linear-gradient(135deg, #d68910, #f39c12);
  color: #ffffff;
  border-radius: 6px 6px 0 0;
}

.selected-row {
  background-color: #87CEEB !important;
}

.selected-row > td,
.selected-row > th {
  background-color: #87CEEB !important;
}

.clickable-row:hover {
  cursor: pointer;
}

.ui-autocomplete-loading { 
  border-color: red !important;
}

.is-required:after {
	content: '*';
	margin-left: 3px;
	color: red;
	font-weight: bold;
  }

  .table thead th {
  position: sticky;
  top: 0;
  background-color: #fff; /* o el color que desees */
  z-index: 10; /* asegúrate de que quede por encima de otras filas */
}

.elemento-clicable {
  cursor: pointer;
}

/*--------------------------------------------------------------
# Estilos migrados para CSP - Estilos Inline Convertidos
--------------------------------------------------------------*/

/* Contenedores con scroll para tablas */
.table-scroll-container {
  max-height: 350px;
}

/* Componente selector de color */
.color-selector {
  width: 220px;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 5px;
  cursor: pointer;
  position: relative;
}

.color-display {
  height: 30px;
  border-radius: 4px;
  margin-bottom: 5px;
}

.color-label {
  font-size: 14px;
  margin-bottom: 5px;
  text-align: center;
}

.color-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border: 1px solid #ccc;
  background: #fff;
  z-index: 1000;
  display: none;
}

.color-option {
  height: 65px;
  width: 100%;
  border: none;
  color: #000;
  text-align: left;
  padding-left: 10px;
  cursor: pointer;
  font-size: 14px;
  color: white;
}

/* Estilos adicionales migrados para CSP - Patrones comunes */
.height-50 {
  height: 50px;
}

.font-size-large {
  font-size: 1.6rem;
}

.max-height-450 {
  max-height: 450px;
}

.margin-top-40 {
  margin-top: 40px;
}

.icon-size-small {
  width: 1.4em;
  height: 1.4em;
}

/* Alturas adicionales */
.max-height-300 {
  max-height: 300px;
}

/* Scroll vertical con alturas específicas */
.overflow-auto-max300 {
  overflow-y: auto;
  max-height: 300px;
}

.overflow-auto-max400 {
  overflow-y: auto;
  max-height: 400px;
}

.overflow-auto-max450 {
  overflow-y: auto;
  max-height: 450px;
}

.overflow-auto-max600 {
  overflow-y: auto;
  max-height: 600px;
}

.bg-light-blue-header {
  background-color: rgb(214, 236, 238);
}
  
/* =============================================
   CSP - Reemplazos de estilos inline en JS
   ============================================= */

/* Tamaños de iconos */
.icon-27 { font-size: 27px; }
.icon-25 { font-size: 25px; }

/* Contenedores scrollables */
.overflow-350 { overflow: auto; max-height: 350px; }
.overflow-400 { max-height: 400px; overflow-y: auto; }

/* Checkbox escalado */
.checkbox-scale { transform: scale(1.5); margin-top: 18px; }

/* Visor PDF embed */
.pdf-viewer { height: 500px; width: 100%; }

.checkbox-sm { transform:scale(1.4); margin:0; vertical-align:middle; }

/*==============================================================
  CDE LABORATORIOS — REDISEÑO CORPORATIVO COMPLETO
  Paleta: #00315a navy | #0062a3 primary | #0088cc accent
  #00467a titles | #f4f8fc bg | #d6e5f0 borders
==============================================================*/

/* ── VARIABLES CORPORATIVAS ─────────────────────────────── */
:root {
  --cde-navy:      #00315a;
  --cde-primary:   #0062a3;
  --cde-accent:    #0088cc;
  --cde-dark:      #00467a;
  --cde-bg:        #f4f8fc;
  --cde-border:    #d6e5f0;
  --cde-muted:     #5a7fa3;
  --cde-success:   #1a7a4a;
  --cde-danger:    #c0392b;
  --cde-warning:   #d68910;
  --cde-info:      #0088cc;
}

/* ── BOTONES ─────────────────────────────────────────────── */
.btn {
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.835rem;
  padding: 0.42rem 1.0rem;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, border-color 0.2s ease,
              box-shadow 0.2s ease, transform 0.1s ease;
}
.btn:active {
  transform: translateY(1px);
}

/* btn-primary → CDE corporate blue */
.btn-primary {
  background-color: #0062a3;
  border-color: #0062a3;
  color: #ffffff;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  background-color: #004f87;
  border-color: #004070;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 98, 163, 0.35);
}

/* btn-success → verde institucional */
.btn-success {
  background-color: #1a7a4a;
  border-color: #1a7a4a;
  color: #ffffff;
}
.btn-success:hover,
.btn-success:focus,
.btn-success:active {
  background-color: #145e39;
  border-color: #0f4a2d;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(26, 122, 74, 0.35);
}

/* btn-danger → rojo corporativo */
.btn-danger {
  background-color: #c0392b;
  border-color: #c0392b;
  color: #ffffff;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
  background-color: #a53224;
  border-color: #8e2a1e;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.35);
}

/* btn-info → CDE accent azul claro */
.btn-info {
  background-color: #0088cc;
  border-color: #0088cc;
  color: #ffffff;
}
.btn-info:hover,
.btn-info:focus,
.btn-info:active {
  background-color: #006fa8;
  border-color: #005c8c;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.35);
}

/* btn-warning → ámbar institucional */
.btn-warning {
  background-color: #d68910;
  border-color: #d68910;
  color: #ffffff;
}
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
  background-color: #b5720d;
  border-color: #955e0b;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(214, 137, 16, 0.35);
}

/* btn-secondary → azul apagado */
.btn-secondary {
  background-color: #5a7fa3;
  border-color: #5a7fa3;
  color: #ffffff;
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background-color: #476a8a;
  border-color: #3a5770;
  color: #ffffff;
}

/* btn-outline-primary */
.btn-outline-primary {
  color: #0062a3;
  border-color: #0062a3;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #0062a3;
  border-color: #0062a3;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 98, 163, 0.25);
}

/* ── FORMULARIOS ─────────────────────────────────────────── */
.form-control,
.form-select {
  border-color: #c8dcea;
  border-radius: 6px;
  font-size: 0.875rem;
  color: #2d4a63;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus,
.form-select:focus {
  border-color: #0062a3;
  box-shadow: 0 0 0 0.2rem rgba(0, 98, 163, 0.18);
  color: #2d4a63;
  background-color: #ffffff;
}
.form-control:hover,
.form-select:hover {
  border-color: #0088cc;
}
.form-control::placeholder {
  color: #9ab4c8;
  font-size: 0.82rem;
}
.form-label {
  font-size: 0.775rem;
  font-weight: 700;
  color: #4a6a85;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.form-control.is-valid,
.form-select.is-valid {
  border-color: #1a7a4a;
}
.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #c0392b;
}

/* ── TABLAS ──────────────────────────────────────────────── */
.table {
  font-size: 0.86rem;
  color: #2d4a63;
}
.table thead th {
  background-color: #00315a !important;
  color: #ffffff !important;
  border-color: #0062a3 !important;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.65rem 0.75rem;
  white-space: nowrap;
}
.table tbody td,
.table tbody th {
  vertical-align: middle;
  padding: 0.55rem 0.75rem;
  border-color: #e8f0f8;
}
.table tbody tr:hover td,
.table tbody tr:hover th {
  background-color: #ddeef8 !important;
}
.table tbody tr:nth-child(even) td,
.table tbody tr:nth-child(even) th {
  background-color: #f4f8fc;
}
.table-striped > tbody > tr:nth-of-type(even) > * {
  background-color: #f4f8fc;
}
.table-bordered {
  border-color: #d6e5f0;
}
.table-bordered th,
.table-bordered td {
  border-color: #d6e5f0;
}

/* ── MODALES ─────────────────────────────────────────────── */
.modal-content {
  border: 1px solid #d6e5f0;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 49, 90, 0.22);
  overflow: hidden;
}
.modal-header {
  background: linear-gradient(135deg, #00315a 0%, #0062a3 100%);
  color: #ffffff;
  border-bottom: none;
  padding: 0.85rem 1.25rem;
}
.modal-header .modal-title {
  font-size: 0.975rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}
.modal-header .btn-close {
  filter: invert(1) brightness(2);
  opacity: 0.85;
}
.modal-header .btn-close:hover {
  opacity: 1;
}
.modal-body {
  padding: 1.25rem;
  font-size: 0.9rem;
}
.modal-footer {
  border-top: 1px solid #d6e5f0;
  background-color: #f4f8fc;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 10px 10px;
}

/* ── ALERTAS BOOTSTRAP ───────────────────────────────────── */
.alert {
  border-radius: 8px;
  border: none;
  border-left: 4px solid transparent;
  font-size: 0.875rem;
  padding: 0.85rem 1.1rem;
}
.alert-danger {
  background-color: #fde8e6;
  border-left-color: #c0392b;
  color: #7b1a12;
}
.alert-success {
  background-color: #e6f5ed;
  border-left-color: #1a7a4a;
  color: #0e4229;
}
.alert-warning {
  background-color: #fef8e7;
  border-left-color: #d68910;
  color: #7a4e08;
}
.alert-info {
  background-color: #e6f2fa;
  border-left-color: #0088cc;
  color: #004d7a;
}
.alert-primary {
  background-color: #e0eef8;
  border-left-color: #0062a3;
  color: #003a6a;
}

/* ── BADGES ──────────────────────────────────────────────── */
.badge.bg-primary { background-color: #0062a3 !important; }
.badge.bg-info    { background-color: #0088cc !important; color: #fff !important; }
.badge.bg-success { background-color: #1a7a4a !important; }
.badge.bg-danger  { background-color: #c0392b !important; }
.badge.bg-warning { background-color: #d68910 !important; color: #fff !important; }
.badge.bg-secondary { background-color: #5a7fa3 !important; }
.badge {
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 4px;
  padding: 0.32em 0.6em;
  font-size: 0.76em;
}

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  border: 1px solid #d6e5f0;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0, 98, 163, 0.08);
  transition: box-shadow 0.2s ease;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(0, 98, 163, 0.14);
}
.card .card-header {
  background-color: #f4f8fc;
  border-bottom: 2px solid #0062a3;
  border-radius: 10px 10px 0 0 !important;
  padding: 0.75rem 1.1rem;
}
.card .card-footer {
  background-color: #f4f8fc;
  border-top: 1px solid #d6e5f0;
  border-radius: 0 0 10px 10px !important;
}

/* ── PAGINACIÓN ──────────────────────────────────────────── */
.page-link {
  color: #0062a3;
  border-color: #d6e5f0;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}
.page-link:hover {
  color: #ffffff;
  background-color: #0088cc;
  border-color: #0088cc;
}
.page-item.active .page-link {
  background-color: #0062a3;
  border-color: #0062a3;
  color: #ffffff;
}
.page-item.disabled .page-link {
  color: #9ab4c8;
  border-color: #e0eaf2;
}

/* ── DROPDOWNS ───────────────────────────────────────────── */
.dropdown-menu {
  border: 1px solid #d6e5f0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 49, 90, 0.15);
  font-size: 0.875rem;
  padding: 0.4rem 0;
}
.dropdown-item {
  color: #2d4a63;
  padding: 0.55rem 1.1rem;
  transition: background-color 0.15s ease;
  font-size: 0.875rem;
}
.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #e6f2fa;
  color: #00315a;
}
.dropdown-item.active,
.dropdown-item:active {
  background-color: #0062a3;
  color: #ffffff;
}
.dropdown-divider {
  border-color: #d6e5f0;
}
.dropdown-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: #5a7fa3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── PROGRESS BARS ───────────────────────────────────────── */
.progress {
  border-radius: 6px;
  background-color: #d6e5f0;
  height: 8px;
}
.progress-bar {
  background-color: #0062a3;
  border-radius: 6px;
}
.progress-bar.bg-success { background-color: #1a7a4a !important; }
.progress-bar.bg-danger  { background-color: #c0392b !important; }
.progress-bar.bg-warning { background-color: #d68910 !important; }
.progress-bar.bg-info    { background-color: #0088cc !important; }

/* ── TOOLTIPS ────────────────────────────────────────────── */
.tooltip .tooltip-inner {
  background-color: #00315a;
  font-size: 0.8rem;
  border-radius: 5px;
  padding: 5px 10px;
}
.tooltip .tooltip-arrow::before {
  border-top-color: #00315a;
}

/* ── TABS ────────────────────────────────────────────────── */
.nav-tabs {
  border-bottom: 2px solid #d6e5f0;
}
.nav-tabs .nav-link {
  color: #5a7fa3;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  margin-bottom: -2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-tabs .nav-link:hover {
  color: #0062a3;
  border-bottom-color: #0088cc;
}
.nav-tabs .nav-link.active {
  color: #0062a3;
  border-bottom: 2px solid #0062a3;
  background-color: transparent;
  font-weight: 700;
}

/* ── ACCORDION ───────────────────────────────────────────── */
.accordion-button:not(.collapsed) {
  background-color: #e6f2fa;
  color: #0062a3;
  font-weight: 700;
  box-shadow: inset 0 -2px 0 rgba(0, 98, 163, 0.25);
}
.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 98, 163, 0.2);
}
.accordion-item {
  border-color: #d6e5f0;
}

/* ── SPINNERS / LOADING ──────────────────────────────────── */
.spinner-border.text-primary,
.spinner-grow.text-primary {
  color: #0062a3 !important;
}

/* ── JQUERY UI AUTOCOMPLETE ─────────────────────────────── */
.ui-autocomplete {
  border: 1px solid #d6e5f0;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0, 49, 90, 0.15);
  font-size: 0.875rem;
  background: #ffffff;
  max-height: 250px;
  overflow-y: auto;
}
.ui-autocomplete .ui-menu-item-wrapper.ui-state-active,
.ui-autocomplete .ui-menu-item-wrapper:hover {
  background-color: #e6f2fa;
  color: #00315a;
  border: none;
  margin: 0;
}

