table.dataTable thead th {
    font-size: 14px;
}
.customer-impact-drivers {
    margin-top: 30px;
}
.customer-impact-drivers h5 {
    margin-bottom: 15px;
}
.goal-actions {
    display: inline-block;
    margin-left: 15px;
}
#app .header {
    height: 4rem;
    padding-left: 0;
}
#app .header-content {
    padding-left: 1rem;
}
#app .content-body {
    /* padding-top: 30px; */
    margin-left:0
}
#app .first-nav-link.active {
    margin-left:15px;
}
.table-responsive th, .table-responsive td {
    padding: 2px;
}
.pointer {
    cursor:pointer;
}

/** Tooltip **/
.tippy-box[data-theme~='blue'] {
    background-color: var(--primary);
    color: white;
}
.tippy-box[data-theme~='blue'][data-placement^='top'] > .tippy-arrow::before {
    border-top-color: var(--primary);
}
.tippy-box[data-theme~='blue'][data-placement^='bottom'] > .tippy-arrow::before {
    border-bottom-color: var(--primary);
}
.tippy-box[data-theme~='blue'][data-placement^='left'] > .tippy-arrow::before {
    border-left-color: var(--primary);
}
.tippy-box[data-theme~='blue'][data-placement^='right'] > .tippy-arrow::before {
    border-right-color: var(--primary);
}
/** /Tooltip **/

/** El plus tooltip customization ***/
.el-popper.is-customized {
    /* Set padding to ensure the height is 32px */
    padding: 6px 12px;
    background-color: var(--primary);
    color:white;
}

.el-popper.is-customized .el-popper__arrow::before {
    background-color: var(--primary);
    right: 0;
    color:white;
}
/** /El plus tooltip customization **/

/** Scrollable table with fixed first column **/
.scrolltable {
    max-height: calc(100vh - 162px - 1.5rem - 3.75rem); /* Will make sure the table container doesn't exceed viewport height */
    overflow-y: auto;  /* Allow vertical scrolling */
}

.scrolltable table {
    border-collapse: collapse;
    width: max-content;
}
.scrolltable thead {
    background-color: #fff;
}
.scrolltable thead th, .scrolltable tbody td {
    width: 150px; /* Set the column width */
    font-size: 0.75em;
}

.scrolltable thead th {
    position: sticky;
    top: 0;
    z-index: 2; 
    background-color:white;
}

.scrolltable .btn-xs {
    font-size: 0.85em;
}

.scrolltable table tbody td:first-child {
    position: sticky;
    left: 0;
    background-color: #fff;
    z-index: 1;
}

/* Sticky positioning for the first column of thead */
.scrolltable table thead th:first-child {
    position: sticky;
    left: 0;
    top: 0; /* Stays sticky vertically */
    background-color: #fff;
    z-index: 3;  /* Higher z-index to ensure it stays on top of other cells */
}
/* Highlight row on hover */
.scrolltable table tbody tr:hover {
    background-color: #f7f7f7; /* You can change this color to whatever you prefer */
}
/* Highlight cell in the first column on row hover */
.scrolltable table tbody tr:hover td:first-child {
    background-color: #f7f7f7; /* Slightly different shade for visual distinction, can adjust as needed */
}
/** /Scrollable table with fixed first column **/

.accountplan-description {
    color: gray;
    font-size: 85%;
    padding-left: 0;
    padding-top:5px;
    font-style: italic;
    overflow: hidden;
}

.accountplan-description.closed {
    line-height: 30px;
    max-height: 30px;  /* Show only the first line */
    white-space: nowrap;  /* Make sure it stays one line */
    text-overflow: ellipsis;  /* Add ellipsis for overflow */
}

.accountplan-description.closed p {
    display: inline;
}
  
.accountplan-description.open {
    max-height: none;  /* Show all content */
    white-space: normal;  /* Allow wrapping */
    display: block;
    padding-top:3px;
}

.showmore {
    padding-left: 0;
    font-size: 80%;
    color: var(--primary);
    border-bottom: 1px dotted var(--primary); 
    text-decoration: none;
    padding-right: 0;
    width: auto;
    font-style: italic;
}

.sw-theme-default>.nav .nav-link {
    color: #17a2b8 !important;
    cursor: pointer;
  }
  .sw.sw-justified>.nav .nav-link,
  .sw.sw-justified>.nav>li {
    flex-basis: 0;
    flex-grow: 1;
    text-align: center;
  }
  
  .form-wizard .nav-wizard li .nav-link:after {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 0.1875rem;
    transform: translateY(-50%);
    background: #eeeeee !important;
    z-index: 0;
    width: 100%;
  }
  
  .sw-theme-default>.nav .nav-link::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 0;
    left: 0;
    bottom: -1px;
    background: #999;
    transition: all .35s ease .15s;
  }
  
  .form-wizard .nav-wizard li .nav-link.active:after {
    background: var(--primary) !important;
  }

  .table-header-driver {
    text-align: center !important;
    vertical-align: top !important;
  }

  .table-header {
    text-align: center !important;
  }

  .status-button-container {
    display: flex;
    align-items: center;
  }

.chart-filter-form {
    padding-left: 19px;
}
.chart-filter-form label {
    margin-bottom: 0;
}

/** Settings **/
.mapping-header .el-collapse-item__header {
    padding-left: 10px;
}
.header-warning .el-collapse-item__header {
    background-color: #ffe7e7;
}

/** Styles of embed chart view **/
html, body, #app {
    height: 100%;
}
.content-body.embed-app {
    background-color: white;
    height: 100%;
}
.embed-app .container-fluid, .embed-app .card-body {
    padding: 0;
    height: 100%;
}
.embed-app .row {
    height: 100%;
}
.embed-app .card {
    margin-bottom: 0;
    border: 0;
    box-shadow: none;
    height: 100%;
    padding-bottom: 0 !important;
}