/**
 * All of the CSS for your admin-facing functionality should be
 * included in this file.
 */

.bt-0 {
   border-top-style: none;
}
.p-1 {
  padding: 0.25rem !important;
}
.p-2 {
  padding: 0.5rem !important;
}
.p-3 {
  padding: 0.75rem !important;
}
.p-4 {
  padding: 1rem !important;
}
.m-1 {
  margin: 0.25rem !important;
}
.m-2 {
  margin: 0.5rem !important;
}
.pl-2 {
  padding-left: 0.5rem !important;
}
.pr-2 {
  padding-right: 0.5rem !important;
}
.pt-2 {
  padding-top: 0.5rem !important;
}
.pb-2 {
  padding-bottom: 0.5rem !important;
}
.d-none {
  display: none !important;
}

.text-primary {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
}
.text-secondary {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-secondary-rgb), var(--bs-text-opacity)) !important;
}
.text-success {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important;
}
.text-info {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-info-rgb), var(--bs-text-opacity)) !important;
}
.text-warning {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-warning-rgb), var(--bs-text-opacity)) !important;
}
.text-danger {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important;
}
.text-light {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important;
}
.text-dark {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
}

.text-nowrap {
  text-wrap: nowrap;
}


:root {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-primary-rgb: 13, 110, 253;
  --bs-secondary-rgb: 108, 117, 125;
  --bs-success-rgb: 25, 135, 84;
  --bs-info-rgb: 13, 202, 240;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger-rgb: 220, 53, 69;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 33, 37, 41;
  --bs-primary-text-emphasis: #052c65;
  --bs-secondary-text-emphasis: #2b2f32;
  --bs-success-text-emphasis: #0a3622;
  --bs-info-text-emphasis: #055160;
  --bs-warning-text-emphasis: #664d03;
  --bs-danger-text-emphasis: #58151c;
  --bs-light-text-emphasis: #495057;
  --bs-dark-text-emphasis: #495057;
  --bs-primary-bg-subtle: #cfe2ff;
  --bs-secondary-bg-subtle: #e2e3e5;
  --bs-success-bg-subtle: #d1e7dd;
  --bs-info-bg-subtle: #cff4fc;
  --bs-warning-bg-subtle: #fff3cd;
  --bs-danger-bg-subtle: #f8d7da;
  --bs-light-bg-subtle: #fcfcfd;
  --bs-dark-bg-subtle: #ced4da;
  --bs-primary-border-subtle: #9ec5fe;
  --bs-secondary-border-subtle: #c4c8cb;
  --bs-success-border-subtle: #a3cfbb;
  --bs-info-border-subtle: #9eeaf9;
  --bs-warning-border-subtle: #ffe69c;
  --bs-danger-border-subtle: #f1aeb5;
  --bs-light-border-subtle: #e9ecef;
  --bs-dark-border-subtle: #adb5bd;
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #212529;
  --bs-body-color-rgb: 33, 37, 41;
  --bs-body-bg: #fff;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-emphasis-color: #000;
  --bs-emphasis-color-rgb: 0, 0, 0;
  --bs-secondary-color: rgba(33, 37, 41, 0.75);
  --bs-secondary-color-rgb: 33, 37, 41;
  --bs-secondary-bg: #e9ecef;
  --bs-secondary-bg-rgb: 233, 236, 239;
  --bs-tertiary-color: rgba(33, 37, 41, 0.5);
  --bs-tertiary-color-rgb: 33, 37, 41;
  --bs-tertiary-bg: #f8f9fa;
  --bs-tertiary-bg-rgb: 248, 249, 250;
  --bs-heading-color: inherit;
  --bs-link-color: #0d6efd;
  --bs-link-color-rgb: 13, 110, 253;
  --bs-link-decoration: underline;
  --bs-link-hover-color: #0a58ca;
  --bs-link-hover-color-rgb: 10, 88, 202;
  --bs-code-color: #d63384;
  --bs-highlight-color: #212529;
  --bs-highlight-bg: #fff3cd;
  --bs-border-width: 1px;
  --bs-border-style: solid;
  --bs-border-color: #dee2e6;
  --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
  --bs-border-radius: 0.375rem;
  --bs-border-radius-sm: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-xxl: 2rem;
  --bs-border-radius-2xl: var(--bs-border-radius-xxl);
  --bs-border-radius-pill: 50rem;
  --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
  --bs-focus-ring-width: 0.25rem;
  --bs-focus-ring-opacity: 0.25;
  --bs-focus-ring-color: rgba(13, 110, 253, 0.25);
  --bs-form-valid-color: #198754;
  --bs-form-valid-border-color: #198754;
  --bs-form-invalid-color: #dc3545;
  --bs-form-invalid-border-color: #dc3545;
}

.btn-outline-primary {
  --bs-btn-color: #0d6efd;
  --bs-btn-border-color: #0d6efd;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0d6efd;
  --bs-btn-hover-border-color: #0d6efd;
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0d6efd;
  --bs-btn-active-border-color: #0d6efd;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #0d6efd;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #0d6efd;
  --bs-gradient: none;
}
.btn-outline-danger {
  --bs-btn-color: #dc3545;
  --bs-btn-border-color: #dc3545;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #dc3545;
  --bs-btn-hover-border-color: #dc3545;
  --bs-btn-focus-shadow-rgb: 220, 53, 69;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #dc3545;
  --bs-btn-active-border-color: #dc3545;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #dc3545;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #dc3545;
  --bs-gradient: none;
}
.btn-outline-success {
  --bs-btn-color: #198754;
  --bs-btn-border-color: #198754;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #198754;
  --bs-btn-hover-border-color: #198754;
  --bs-btn-focus-shadow-rgb: 25, 135, 84;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #198754;
  --bs-btn-active-border-color: #198754;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #198754;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #198754;
  --bs-gradient: none;
}
.btn-outline-secondary {
  --bs-btn-color: #6c757d;
  --bs-btn-border-color: #6c757d;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #6c757d;
  --bs-btn-hover-border-color: #6c757d;
  --bs-btn-focus-shadow-rgb: 108, 117, 125;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #6c757d;
  --bs-btn-active-border-color: #6c757d;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #6c757d;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #6c757d;
  --bs-gradient: none;
}

.btn {
  --bs-btn-padding-x: 0.4rem;
  --bs-btn-padding-y: 0.4rem;
  --bs-btn-font-family: ;
  --bs-btn-font-size: 1rem;
  --bs-btn-font-weight: 400;
  --bs-btn-line-height: 1;
  --bs-btn-bg: transparent;
  --bs-btn-border-width: var(--bs-border-width);
  --bs-btn-border-radius: var(--bs-border-radius);
  --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
  --bs-btn-disabled-opacity: 0.65;
  --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
  display: inline-block;
  padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
  font-family: var(--bs-btn-font-family);
  font-size: var(--bs-btn-font-size);
  font-weight: var(--bs-btn-font-weight);
  line-height: var(--bs-btn-line-height);
  color: var(--bs-btn-color);
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
  border-radius: var(--bs-btn-border-radius);
  background-color: var(--bs-btn-bg);
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.btn:hover {
  color: var(--bs-btn-hover-color);
  background-color: var(--bs-btn-hover-bg);
  border-color: var(--bs-btn-hover-border-color);
}
.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
  color: var(--bs-btn-active-color);
  background-color: var(--bs-btn-active-bg);
  border-color: var(--bs-btn-active-border-color);
}







/* Style the buttons that are used to open and close the accordion panel */
.cadilux-accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.cadilux-active, .cadilux-accordion:hover {
  background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
.cadilux-accordion-panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.cadilux-accordion:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: #777;
  float: right;
  margin-left: 5px;
}

.cadilux-active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}


 .cadilux-hidden {
  display: none!important;
 }
 .cadilux-text-bold {
  font-weight: bold;
 }
 .cadilux-text-right {
  text-align: right;
 }
 .cadilux-text-center {
  text-align: center;
 }
 .cadilux-text-success {
  color: green;
 }
 .cadilux-text-error {
  color: red;
 }
 .cadilux-rewards-stats {
  border-radius: 5px;
  border-style: solid;
  border-width: 1px;
  border-color: #bfbfbf;
 }
  .cadilux-rewards-stats td {
    text-align: center;
    font-weight: 600;
    font-size: larger;
  }
.cadilux-rewards-dashboard {
  padding: 0.5vw;
  border-style: solid;
  border-width: 1px;
  border-color: #bfbfbf;
  border-radius: 5px;
  background-color: #fff;
  margin-top: 1.5vw;
  margin-left: 0;
  margin-right: 1.5vw;
  margin-bottom: 2vw;
  }
.cadilux-rewards-dashboard-panel {
  padding: 7px;
  border-style: solid;
  border-width: 1px;
  border-color: #bfbfbf;
  border-radius: 5px;
  background-color: #fff;
  margin: 7px;
}

 .cadilux-table-div-row {
    display: flex; /* Use flexbox to arrange divs in a row */
}

.cadilux-table-div-cell {
    font-size: medium;
    flex: 1; /* Equal width for all cells */
    padding: 5px; /* Optional: Add padding */
}
.cadilux-table-div-header {
  flex: 1; /* Equal width for all cells */
  padding: 5px; /* Optional: Add padding */
  font-weight: 600;
  font-size: large;
  white-space: nowrap;
}

.cadilux-nowrap {
  white-space: nowrap;
}

  .cadilux-table {
    min-width: 200px;
    border: 1px solid #ccc;
    border-collapse: collapse; }
    .cadilux-table th, .cadilux-table td {
      vertical-align: baseline;
    }
    .cadilux-table thead tr, .cadilux-table thead th {
      background-color: #ccc;
      padding: 10px;
      color: #424242;
      text-wrap: nowrap; }
    .cadilux-table tbody th {
      color: #424242;
      padding-bottom: 7px;
      padding-top: 7px;
      font-weight: 500; }
      .cadilux-table tbody thead th {
        font-weight: bold; }
    .cadilux-table tbody td {
      color: #424242;
      font-weight: 400;
      padding-bottom: 5px;
      padding-top: 5px;
      padding-right: 5px;
      
      /* border: none; */
      -webkit-transition: .3s all ease;
      -o-transition: .3s all ease;
      transition: .3s all ease; }
      .cadilux-table tbody th small, .cadilux-table tbody td small {
        color: #767676;
        font-weight: 300; }
    .cadilux-table tbody tr {
      -webkit-transition: .3s all ease;
      -o-transition: .3s all ease;
      transition: .3s all ease; }
    .cadilux-table .td-box-wrap {
      padding: 0; }
    .cadilux-table .box {
      background: #fff;
      border-radius: 4px;
      margin-top: 7px;
      margin-bottom: 7px; }
    .cadilux-table .cadilux-alternate-bg {
      background-color: #eee; }
      /* .cadilux-table .box td, .cadilux-table .box th {
        border: none !important; } */
    .cadilux-table .cadilux-table {
        margin-left: 7px; }
        .cadilux-table .cadilux-table th {
            font-weight: 500; }
    .cadilux-table input, .cadilux-table select {
        height: 32px;
        width: 100%;
        max-width: 450px; }
    .cadilux-table input[type="number"] {
      max-width: 150px; }
    .cadilux-table select {
      width: 100%;
      max-width: 300px; }

  .cadilux-toggle-switch {
    position: relative;
    display: inline-block;
    margin: 3px;
    width: 50px;
    height: 25px; }
    .cadilux-toggle-switch-input {
      opacity: 0;
      width: 0;
      height: 0; }
/* The slider */
.cadilux-toggle-switch-indicator {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 25px;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.cadilux-toggle-switch-indicator:before {
  position: absolute;
  content: "";
  height: 17px;
  width: 17px;
  left: 4px;
  bottom: 4px;
  border-radius: 50%;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

.cadilux-toggle-switch-input:checked + .cadilux-toggle-switch-indicator {
  background-color: #4cd964;
}



.cadilux-toggle-switch-input:focus + .cadilux-toggle-switch-indicator {
  box-shadow: 0 0 1px #4cd964;
}

.cadilux-toggle-switch-input:checked + .cadilux-toggle-switch-indicator:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
  


  .cadilux-toggle.ios-switch {
    --color: #4cd964;
    padding-left: 0; }
    .cadilux-toggle.ios-switch .ios-switch-control-input {
      display: none; }
      .cadilux-toggle.ios-switch .ios-switch-control-input:active ~ .ios-switch-control-indicator::after {
        width: 20px; }
      .cadilux-toggle.ios-switch .ios-switch-control-input:checked ~ .ios-switch-control-indicator {
        border: 10px solid var(--color); }
        .cadilux-toggle.ios-switch .ios-switch-control-input:checked ~ .ios-switch-control-indicator::after {
          top: -8px;
          left: 4px; }
      .cadilux-toggle.ios-switch .ios-switch-control-input:checked:active ~ .ios-switch-control-indicator::after {
        left: 0px; }
      .cadilux-toggle.ios-switch .ios-switch-control-input:disabled ~ .ios-switch-control-indicator {
        opacity: 0.6; }
    .cadilux-toggle.ios-switch .ios-switch-control-indicator {
      display: inline-block;
      position: relative;
      margin: 0 10px;
      top: 4px;
      width: 32px;
      height: 20px;
      background: #fff;
      border-radius: 16px;
      -webkit-transition: .3s;
      -o-transition: .3s;
      transition: .3s;
      border: 2px solid #ddd; }
      .cadilux-toggle.ios-switch .ios-switch-control-indicator::after {
        content: '';
        display: block;
        position: absolute;
        width: 15px;
        height: 15px;
        border-radius: 15px;
        -webkit-transition: .3s;
        -o-transition: .3s;
        transition: .3s;
        top: 0px;
        left: 0px;
        background: #fff;
        -webkit-box-shadow: 0 0 2px #aaa, 0 2px 5px #999;
        box-shadow: 0 0 2px #aaa, 0 2px 5px #999; }


.cadilux-rewards-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    display: none; /* Initially hidden */
    z-index: 998; /* Ensure it appears above the table */
}

.cadilux_spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 32px 0 #fff, -32px 0 #fff;
    animation: cadilux_spinnerflash 0.5s ease-out infinite alternate;
}
 
  @keyframes cadilux_spinnerflash {
    0% {
      background-color: #FFF2;
      box-shadow: 32px 0 #FFF2, -32px 0 #FFF;
    }
    50% {
      background-color: #FFF;
      box-shadow: 32px 0 #FFF2, -32px 0 #FFF2;
    }
    100% {
      background-color: #FFF2;
      box-shadow: 32px 0 #FFF, -32px 0 #FFF2;
    }
  }
  .cadilux_spinner2 {
    position: absolute;
    top: 50%;
    left: calc(50% - 100px);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
    margin:15px auto;
    color: #c4c4c4;
    box-sizing: border-box;
    animation: cadilux_shadowRolling 2s linear infinite;
  }
  
  @keyframes cadilux_shadowRolling {
    0% {
      box-shadow: 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0);
    }
    12% {
      box-shadow: 100px 0 white, 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0);
    }
    25% {
      box-shadow: 110px 0 white, 100px 0 white, 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0);
    }
    36% {
      box-shadow: 120px 0 white, 110px 0 white, 100px 0 white, 0px 0 rgba(255, 255, 255, 0);
    }
    50% {
      box-shadow: 130px 0 white, 120px 0 white, 110px 0 white, 100px 0 white;
    }
    62% {
      box-shadow: 200px 0 rgba(255, 255, 255, 0), 130px 0 white, 120px 0 white, 110px 0 white;
    }
    75% {
      box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 130px 0 white, 120px 0 white;
    }
    87% {
      box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 130px 0 white;
    }
    100% {
      box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0);
    }
  }
.row-striped:nth-of-type(odd){
    background-color: rgba(0,0,0,0.05);
}

.reward-entries {
    position: relative;
    max-height: 42vh;
    overflow-y: scroll;
}

.order_redeem_title {
  font-size: 1.4rem!important;
  color: var(--e-global-color-63967e2);
  font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
  font-weight: var(--e-global-typography-secondary-font-weight);
}
.order_redeem_input {
  float: left;
  box-sizing: border-box;
  border: 1px solid #cfc8d8;
  padding: 6px 6px 5px;
  margin: 0 4px 0 0;
  outline: 0;
  width: 80px;
  max-width: 100px;
}
 
.cadilux-rewards-input {
  max-width: 100%;
  min-width: 100%;
}

/* Specific Styles for Groups and Goals Table */
.cadilux-rewards-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border: 1px solid #ddd;
}

.cadilux-rewards-table th, .cadilux-rewards-table td {
  padding: 5px;
  text-align: left;
  vertical-align: top;
}

.cadilux-rewards-table th {
  background-color: #f4f4f4;
}

.cadilux-rewards-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Add indentation for goal rows */
.cadilux-rewards-table .goal-row td {
  padding-left: 40px; /* Indent goals */
  background-color: #f1f1f1; /* Light background to distinguish */
}

.cadilux-rewards-table-selected {
  background-color: #d6ebfd!important;
}

/* Responsive Design */
@media screen and (max-width: 600px) {
  .cadilux-rewards-table {
      display: block;
      width: 100%;
  }

  .cadilux-rewards-table thead {
      display: none;
  }

  .cadilux-rewards-table tr {
      display: block;
      margin-bottom: 10px;
      border-bottom: 2px solid #ddd;
  }

  .cadilux-rewards-table td {
      display: block;
      text-align: right;
      font-size: 14px;
      border-bottom: 1px dotted #ccc;
      padding: 10px;
      position: relative;
  }

  .cadilux-rewards-table td:before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
  }
  .cadilux-rewards-table td:after {
    content: attr(data-desc);
    float: right;
    font-style: italic;
  }
}

/* Specific Switch styles for Enabled column */
.cadilux-rewards-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.cadilux-rewards-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cadilux-rewards-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 20px;
}

.cadilux-rewards-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .cadilux-rewards-slider {
  background-color: #4caf50;
}

input:checked + .cadilux-rewards-slider:before {
  transform: translateX(20px);
}