.main-logo-img {
  width: 220px;
}

body {
  font-family: Arial, sans-serif;

}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border: 1px solid #ccc;
  padding: 4px;
  text-align: left;
}

th {
  background-color: #2e5b9d;
  color: white;
}

tbody {
  background-color: white;
 
}

.table-responsive {
  width: 100%;
  overflow: auto;
  padding-left: 10px;
}

.level-1 {
  cursor: pointer;
}

.level-2,
.level-3,
.level-4 {
  display: none;
}

.indent-1 {
  padding-left: 20px;
}

.indent-2 {
  padding-left: 40px;
}

.indent-3 {
  padding-left: 60px;
}

.header-one {
  display: flex;
  align-content: center;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.main-logo-img {
  width: 150px;
}

.small-logo {
  width: 100px;
}
.main-logo{
    
    display: block;
    margin: 0 auto;

}
.cover-card{
  position: relative;
    top: -50px;
}

html.app-skin-dark .nxl-navigation .m-header .logo-sm {
  filter: brightness(10.5);
}

.background-img {
  height: 100vh;
  background-image: url('https://www.popularhyundai.com/static/img/bg-19.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.login-box {
  width: 300px;
  padding: 30px;
  background: white;
  border-radius: 10px;


  box-shadow: 0px 4px 13px 7px rgba(179, 179, 180, 0.2);
}

.email-box {
  margin-top: 20px;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  width: 100%;

}

:root {
  --bg: #e0f0fb;
  --card-bg: #eaf6fd;
  --card-border: rgba(0, 122, 194, 0.2);
  --text-primary: #003876;
  --text-muted: #5a9abf;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  width: 100%;

}

.card {
  border-radius: 20px;
  padding: 20px 15px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);

  display: flex;
  /* use flex */
  align-items: center;
  /* vertical align */
  gap: 5px;
  /* space between icon & text */
  flex-direction: row;

  background: linear-gradient(145deg, #292c30, #919191);
  box-shadow: 0 8px 32px rgba(0, 55, 118, 0.205);
  animation-delay: 0.29s;
  justify-content: center;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 48px #3a3a3a6b;
}

/* glossy top shine */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
}

/* large bg icon watermark */
.card::after {
  content: attr(data-icon);
  position: absolute;
  bottom: -10px;
  right: 8px;
  font-size: 90px;
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
  /* filter: blur(1px); */
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 3px 11px;
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.card-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
}

.card:nth-child(2) .card-tag::before {
  animation: blink 2s ease-in-out infinite;
  background: #ffeb3b;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

.card-label {
  font-size: 16px;
  font-weight: 800;
  color: rgb(255 255 255);
  letter-spacing: -0.01em;
  /* text-transform: uppercase; */
}

.card-value {
  font-size: 44px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  border: 0.45px solid #a3a3a3;
  padding: 3px 11px;
  border-radius: 8px;
}

.card-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
  font-weight: 500;
}

.icon {
  /* background-color: #eceff1; */
  color: white;
  width: 40px;
  height: 40px;
  border: #e0f0fb;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  /* border: 0.45px solid #9b9b9b; */
  border-radius: 50%;
  padding: 8px;
  font-size: xx-large;

}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.45;
  }
}


/* Mobile devices */
@media screen and (max-width: 600px) {

  .page-header {
    /* display: none; */
  }

  .login-box input {
    font-size: 10px;
    /* Bigger text */
    padding: 6px 12px;
    /* Easier to tap */
    
  }

  .login-box button {
    font-size: 13px;
    padding: 12px;
  }

  .login-box ::placeholder {
    font-size: 16px;
  }

  .nxl-container {
    top: 49px;
    padding: 3px;
  }

   .size::placeholder{
       font-size: 12px;   }

  .email-box {
  margin-top: 3px;
}

  .footer-media {
    display: flex;
    align-items: baseline;
    justify-content: space-evenly;
    gap: 8px;
    flex-wrap: wrap;
    overflow-x: auto;
    /* white-space: nowrap; */
    padding: 10px;
    overflow-x: auto;
    flex-direction: row;
    align-content: stretch;
  }


  .footer-line {
    white-space: nowrap;
    /* Keeps single line */
    display: inline-block;
    padding-bottom: 5px;
  }

  .footer p,
  .footer a {
    font-size: 12px;
    margin: 0;
  }

  .footer .d-flex {
    gap: 8px;
  }

  .footer-style {
    bottom: 0;
    position: absolute;
    width: 98%
  }

  .header-one {
    /* padding:4px 8px; */
    min-height: 48px;
    flex-wrap: wrap;
    gap: 5px;
    height: auto;

  }

  .header-one h4 {
    font-size: 16px;
    display: none
  }

  .nxl-head-link {
    padding: 3px;
  }

  .nxl-head-link i {
    font-size: 16px;
  }

  .card {
    padding: 11px 15px 11px;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .table-responsive {
    margin-bottom: 200px;
  }

  .nxl-h-item {
    min-height: 50px !important;
  }

  tbody {
    font-size: smaller;
  }

  .main-content .grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .main-content .card {
    gap: 3px;
    flex-direction: column;
  }

  .card-label {
    font-size: 10px;
    margin-bottom: 1px;
    text-align: center;
  }

  .card-value {
    font-size: 34px;
    text-align: center;
  }

  .nxl-container .footer {
    padding: 2px 4px;
  }

  .auth-cover-card img {
    width: 148px;
  }

  .auth-cover-wrapper .auth-cover-sidebar-inner {
    padding: 0px 15px;
    margin: 22px 11px;
  }

  .login-box {
    padding: 9px;
  }

  .auth-cover-wrapper .auth-cover-sidebar-inner .auth-cover-card-wrapper .auth-cover-card {
    margin-top: 34px;
  }

  .footer {
    bottom: 0;
    position: relative !important;
    width: 98%;
  }
   .pending-heading{
    font-size: 15px;
  }
  .over-heading{
        font-size: 15px;
  }

}

.footer {
  bottom: 0;
  position: fixed;
}


html.app-skin-dark tbody {
  background-color: #121a2d;
}

.error-message {
  top: 57%;
  left: 0;
  font-size: 12px;
  color: red;
  padding: 2px 5px;
  z-index: 1;
}

/* ------------------------------------------------------------------------- */

.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
}

.dash-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(13, 71, 161, 0.45);
  animation: dash-fadeUp 0.6s ease both;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.dash-card:hover {
  transform: translateY(-5px);
}

.dash-card:nth-child(1) {
  animation-delay: 0.05s;
}

.dash-card:nth-child(2) {
  animation-delay: 0.15s;
}

.dash-card:nth-child(3) {
  animation-delay: 0.25s;
}

@keyframes dash-fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dash-card-header {
  padding: 18px 13px 14px;
  position: relative;
  overflow: hidden;
  height: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dash-card-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent);
  pointer-events: none;
}

.dash-card-header::after {
  content: attr(data-icon);
  position: absolute;
  right: 14px;
  top: 6px;
  font-size: 56px;
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
}

.dash-carry {
  background: linear-gradient(135deg, #0b2872, #42a5f5);
}

.dash-lastmon {
  background: linear-gradient(135deg, #00695c, #26c6da);
}

.dash-unassign {
  background: linear-gradient(135deg, #6a1b9a, #ab47bc);
}

.dash-card-header-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 4px;
}

.dash-card-header-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.dash-total-value {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.dash-total-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  margin-top: 2px;
}

.dash-card-body {
  padding: 0;
}

.dash-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 13px 20px;
  gap: 14px;
  transition: background 0.2s;
}

.dash-card:hover {
  box-shadow: 0 8px 32px rgba(53, 53, 53, 0.45);
}

.dash-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.dash-stat-icon.dash-hot {
  background: #fff0f0;
  color: #e53935;
}

.dash-stat-icon.dash-warm {
  background: #fff8e1;
  color: #f9a825;
}

.dash-stat-icon.dash-cold {
  background: #e3f2fd;
  color: #1976d2;
}

.dash-stat-icon.dash-booked {
  background: #e8f5e9;
  color: #388e3c;
}

.dash-stat-info {
  line-height: normal;
}

.dash-stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  /* letter-spacing: 0.1em; */
  color: #cbcbcb;
}

.dash-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.dash-stat-sub {
  display: flex;
  /* align-items: center; */
  gap: 5px;
}

@media (max-width: 1050px) {
  .dash-card-header {
    padding: 9px 20px 4px;
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 22px;
    border-bottom: 1px solid #8b7a7a;
  }

  .dash-card {
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
  }

  .dash-stat-row {
    padding: 4px 20px;
    gap: 4px;
  }

  .dash-card-body {
    padding: 4px 0;
  }

  .dash-total-value, .card-value {
    font-size: 34px;
  }

  .dash-card-header-label {
    margin-bottom: 0;
  }

  .card-label {
    font-size: 13px;
  }  
}

@media (max-width: 750px) {
  .dash-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .assign-btnn{
    padding: 6px 16px;
  }
}

/* LOGIN  */
.auth-cover-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: center;
    height: 100dvh;
}

.auth-cover-wrapper .auth-cover-sidebar-inner
 {
    float: right;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 550px;
    background-color: #fff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);
}

.auth-cover-wrapper .auth-cover-sidebar-inner .auth-cover-card-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 0;
}

.auth-cover-wrapper .auth-cover-sidebar-inner .auth-cover-card-wrapper .auth-cover-card {
    width: 100%;
    max-width: 450px;
    margin: auto auto;
}

.auth-cover-wrapper .auth-cover-content-inner .auth-cover-content-wrapper .auth-img {
    width: 600px;
    margin: auto auto;
  }
.auth-cover-content-inner,.auth-cover-sidebar-inner{
  flex:1
}
.fs-20 {
    font-size: 20px;
}
.fs-13 {
    font-size: 13px;
}

@media screen and (max-width:991px) {
    .auth-cover-wrapper {
      flex-direction: row;
    }
    .auth-cover-content-inner{
      display: none;
    }
   .auth-cover-wrapper .auth-cover-sidebar-inner {
       width: 100%;
       max-width: none;
    }
    .auth-cover-card {
         width: 100%;
       max-width: none !important;
    }
    .login-box{
       width: 100%;
    }
 
}

.modelclosebtttnn{
 position: absolute;
    right: 14px;
    top: 13px;

}

/* MODAL BOX  */

/* Smooth animation */
.modal.fade .modal-dialog {
    transform: scale(0.9);
    transition: all 0.25s ease;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* Modal box */
.custom-modal {
    border-radius: 16px;
    border: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* Header styling */
.custom-header {
    background: linear-gradient(135deg, #4e73df, #224abe);
    color: #fff;
    padding: 28px 20px;
}

/* Body */
.modal-body {
    background: #f8f9fc;
    padding: 20px;
}

/* Table header */
.table thead {
    background-color: #4e73df;
    color: white;
    text-align: center;
    line-height: normal;
}

.table tbody{
  line-height: normal;
}

/* Table cells */
.table td, .table th {
  text-align: center;
  vertical-align: middle;
  text-transform: capitalize;
  word-break: break-word;
}

/* Row hover */
.table-hover tbody tr:hover {
    background-color: #e2e6ff;
    transition: 0.2s;
}

/* Backdrop slightly dark */
.modal-backdrop.show {
    opacity: 0.5;
}

.custom-wide-modal {
    max-width: 98%;
    margin: 1% auto;   /* keeps small spacing around */
}

.cool-checkbox {
    position: relative;
    cursor: pointer;
}

.cool-checkbox input {
    display: none;
}

.cool-checkbox span {
    width: 18px;
    height: 18px;
    border: 2px solid #0d6efd;
    border-radius: 5px;
    display: inline-block;
    transition: 0.2s;
}

.cool-checkbox input:checked + span {
    background: #0d6efd;
    border-color: #0d6efd;
}

.cool-checkbox input:checked + span:after {
    content: "✔";
    color: white;
    font-size: 12px;
    position: absolute;
    left: 3px;
    top: -1px;
}
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ddd;
    border-top: 5px solid #0d6efd;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.d-none {
    display: none;
}
.table-loader {
    position: relative;
    width: 100%;
    height: 200px;
}

.table-loader .loader-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
}
.filter-button {
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: 0.2s;
    font-weight: 600;
    color: #3753a7;
}

.filter-button:hover {
    background: #e9ecef;
}

.filter-panel {
    position: absolute;
    top: 40px;
    right: 0;
    width: 250px;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 5px 20px rgba(0,0,0,0.15);
    padding: 15px;
    z-index: 1000;
    color: #000000;
}

#modalUnassignedTbl {
    width: 100%;
    border-collapse: collapse;
}

#modalUnassignedTbl thead,
#modalUnassignedTbl tbody tr,
#unattModalTbl thead,
#unattModalTbl tbody tr ,
#overViewModalTbl thead,
#overViewModalTbl tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}
#modalUnassignedTbl tbody, #unattModalTbl tbody, #overViewModalTbl tbody {
    display: block;
    max-height: 500px; 
    overflow-y: auto;
}
.responsive-row {
    border:1px solid #ddd;
    border-radius:10px;
    padding:12px;
    margin-bottom:10px;
    background:white;
    box-shadow:0 2px 6px rgba(0,0,0,0.08);
}
.card-main {
    font-size:14px;
    cursor:pointer;
    display: flex;
    gap: 6px;
    /* flex-direction: row-reverse; */
    justify-content: space-between;
}
.card-details {
  display:none;
  margin-top:10px;
  font-size:13px;
  border-top:1px dashed #ccc;
  padding-top:8px;
  text-wrap: auto;
}
html.app-skin-dark .month-picker-wrapper , html.app-skin-dark .filter-panel{
    background: #121a2d;
}
html.app-skin-dark .month-picker {
  color: white;
  background: #101729;
}
html.app-skin-dark .modal-body{
  background: #0e1524;
}
html.app-skin-dark .filter-button{
  background: #1b2436;
  color: #ffffff;
  border: 1px solid #484848;
}

.follow-btn {
    background: linear-gradient(135deg, #4CAF50, #2ecc71);
    color: white;
    border: none;
    padding: 5px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 10px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    flex: 1;
}

.follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 14px rgba(0,0,0,0.3);
}
.followUp-btn{
  padding: 5px;
  font-size: 14px;
}

.dash-picker-wrapper {
    position: relative;
    display: inline-block;
  }

  .dash-picker-trigger {
    background: #fff;
    border: 1.5px solid #dde3ec;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #1a2233;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 223px;
    letter-spacing: 0.3px;
    user-select: none;
    transition: border-color 0.15s, box-shadow 0.15s;
  }

  .dash-picker-trigger:hover {
    border-color: #4361ee;
    box-shadow: 0 0 0 3px rgba(67,97,238,0.1);
  }

  .dash-picker-trigger .dash-picker-arrow {
    margin-left: auto;
    font-size: 10px;
    color: #8a9bae;
    transition: transform 0.2s;
  }

  .dash-picker-trigger.dash-picker-open .dash-picker-arrow {
    transform: rotate(180deg);
  }

  .dash-picker-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 210px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.13), 0 2px 6px rgba(0,0,0,0.07);
    overflow: hidden;
    z-index: 100;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .dash-picker-menu.dash-picker-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }

  .dash-picker-header {
    padding: 11px 16px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: #4361ee;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }

  .dash-picker-item {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    color: #3a4a62;
    cursor: pointer;
    letter-spacing: 0.2px;
    transition: background 0.12s, color 0.12s;
    border-bottom: 1px solid #f1f4f8;
  }

  .dash-picker-item:last-child {
    border-bottom: none;
  }

  .dash-picker-item:hover {
    background: #f0f4ff;
    color: #4361ee;
  }

  .dash-picker-item.dash-picker-active {
    color: #ffffff;
    font-weight: 700;
    background: #4361ee;
  }

  /* Make select look like dash-picker-trigger */
.select-wrapper {
    position: relative;
    padding: 0;
}

.month-picker {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1.5px solid #dde3ec;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #1a2233;
    min-width: 210px;
    letter-spacing: 0.3px;
    cursor: pointer;
    background: #fff;
    width: 100%;
}

.month-picker:hover {
    border-color: #4361ee;
    box-shadow: 0 0 0 3px rgba(67,97,238,0.1);
}

/* Arrow positioning */
.select-wrapper .dash-picker-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #8a9bae;
    pointer-events: none;
}



/* model header */


.sub-rec-view{
  display: flex;
  justify-content: center;
  gap:2rem;

}
.sub-rec-view h6{
font-size: .95rem;
    font-weight: 500;
}

@media screen and (max-width:600px){
  .sub-rec-head h5{
    margin-bottom: .59rem !important;
  }
}

@media screen and (max-width:750px){
  .main-content{
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
  .follow-btn {
    padding: 3px 12px;
    font-size: x-small;
  }
}

.form-fields-grid{
  display: grid;
  grid-template-columns: 30% 67%;
  gap:10px;
  align-items: center;
}
.blue-bg-card{
  background: linear-gradient(145deg, #00368c, #3076b3) !important;
}
.violet-bg-card{
  background: linear-gradient(145deg, #30066c, #6767d7) !important;
}

html.app-skin-dark .responsive-row {
  background: transparent;
}

html.app-skin-dark .dash-picker-trigger {
  background: transparent;
  color: #ffffff;
}

html.app-skin-dark select option {
    background-color: #222;
    color: white;
}

/* Fix modal width on very small devices */
@media (max-width: 576px) {

    #followUpModal .modal-dialog {
        max-width: 95vw !important;
        width: 95vw !important;
        margin: 10px auto !important;
    }

    #followUpModal .modal-content {
        width: 100% !important;
    }

    #followUpModal .modal-body {
        overflow-x: hidden !important;
    }
    .modal-dialog{
      margin: 10px auto;
    }

}
body[style*="padding-right"] {
  padding-right: 0 !important;
}

body.modal-open {
    padding-right: 0 !important;
}

.modal {
    padding-right: 0 !important;
}
@media (max-width: 768px) {
    .modal-dialog {
        margin: 0 !important;
        max-width: 100% !important;
    }

    .modal-content {
        border-radius: 0;
    }
}
html, body {
    overflow-x: hidden;
}/* Hide all non-root rows initially */
.collapsed-row {
    display: none;
}

/* ================= TABLE BASE ================= */

#perfmatrix {
  width: max-content;
  min-width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  font-size: 14px;
  color: #212121;
}

#perfmatrix th {
  padding: 10px;
  text-align: center;
  border-bottom: 2px solid #dee2e6;
  white-space: nowrap; 
}

#perfmatrix td {
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
  white-space: nowrap; 
}


.odd-level {
  background: #b1d1ff;
}

.even-level {
  background: #d8e8ff;
}

.level-1 td { font-weight: 800; }
.level-2 td { font-weight: 700; }
.level-3 td { font-weight: 600; }

/* Hover */
#perfmatrix tbody tr:hover {
  background: #eef2f783;
}
.name-cell {
  position: relative;
  padding-left: 1rem;
  text-align: left;
}
.arrow {
  display: inline-block;
  margin-right: 6px;
  transition: transform 0.2s ease;
  font-size: x-large;
  line-height: 0;
  
}

.rotate {
  transform: rotate(90deg);
}

.matrix-table {
  width: 100%;
}

.name-cell {
  padding-left: calc(1rem + (var(--level) * 0.6rem)) !important;
}

@media (max-width: 576px) {

.matrix-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.matrix-table {
  min-width: auto;  
}

#perfmatrix {
  width: auto;    
  border-collapse: collapse;
}

#perfmatrix td{
  width: 1%;
  white-space: nowrap;
  padding: 4px 4px;
}

#perfmatrix th {
  padding: 4px 4px;
  width: 0;
  white-space: nowrap;
}

#perfmatrix th:nth-child(1),
#perfmatrix td:nth-child(1) {
  width: 1%;           
  white-space: nowrap;
}
.name-cell {
  padding-left: calc(0.5rem + (var(--level) * 0.5rem)) !important;
}

.search-box {
  width: 100% !important;
  padding: 5px 4px !important;
  margin-bottom: 12px !important;
}
.search-div {
  width: 100%;
}
.top-head-modal{
  display: flex;
  flex-direction: column;
}
}

.top-head-modal{
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

@media (max-width: 346px) {
  .page-header .breadcrumb {
  font-size: 11px;
}
}


#modalTblDiv table th:nth-child(2),
#modalTblDiv table td:nth-child(2),
#unattModalTblDiv table th:nth-child(2), #unattModalTblDiv table td:nth-child(2),
#overViewModalTblDiv table th:nth-child(2), #overViewModalTblDiv table td:nth-child(2){
    white-space: nowrap;   /* prevent wrapping */
    width: 3%;             /* shrink to content */
}

.error-message2{
  font-size: 12px;
  color: red;
  padding: 2px 5px;
}


#pwaInstallPopup {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #0d1f5c 0%, #142c8a 70%, #1a3aad 100%);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(10, 20, 80, 0.55);
    z-index: 9999;
    width: 320px;
    max-width: calc(100vw - 32px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

#pwaInstallPopup.pwa-popup-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.pwa-popup-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwa-popup-icon svg {
    width: 17px;
    height: 17px;
    color: #60a5fa;
}

.pwa-popup-text {
    flex: 1;
    min-width: 0;
}

.pwa-popup-title {
    font-size: 13px;
    font-weight: 700;
    color: #e2eeff;
    margin-bottom: 1px;
    letter-spacing: 0.01em;
}

.pwa-popup-subtitle {
    font-size: 11px;
    color: rgba(148, 185, 255, 0.7);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pwa-popup-install-btn {
    flex-shrink: 0;
    padding: 5px 14px;
    background: #2563eb;
    border: none;
    border-radius: 7px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.pwa-popup-install-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.pwa-popup-install-btn:active {
    transform: translateY(0);
}

.pwa-popup-close {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: rgba(148, 185, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, color 0.2s;
}

.pwa-popup-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.followUp-div{
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  gap: 8px;
}

.follow-det{
  background: #1852a7 !important;
}

#overViewModalBody td{
  padding: .5rem 0.2rem !important;
}

.search-box {
  width: 400px;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  outline: none;
  background: transparent;
  color: #ffffff !important;
  font-size: medium;
}
.count-sub{
  font-size: 12px;
  text-align: center;
  font-weight: 200;
  letter-spacing: normal;
}
.tr-cancelled-row td{
  background: #ff858f7a !important;
}
.status-wrapper {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #ff858fd1 ;
    display: inline-block;
    margin-right: 4px;
}

.status-text {
    color: white;
    font-size: 11px;
}