html,
body {
  height: 100%;
  width: 100%;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body.fontLoaded {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#app {
  background-color: #fafafa;
  min-height: 100%;
  min-width: 100%;
}

p,
label {
  font-family: Georgia, Times, 'Times New Roman', serif;
  line-height: 1.5em;
}

/* Transaction Date Styles */
.transaction-date {
  width: 450px;
  margin: auto;
}

.transaction-date__item_width {
  display: flex;
  align-items: center;
  width: 225px;

}

/* Table Header Styles */
.table-header-blue {
  color: rgb(0, 98, 196);
}

.table-cell-blue {
  color: rgb(0, 98, 196);
}

.table-cell-blue-bold {
  color: rgb(0, 98, 196);
  font-weight: bold;
}

/* Display Contents */
.display-contents {
  display: contents;
}

/* Toast Container */
.toast-container-top {
  top: 4em;
}

.toast-container-top-5 {
  top: 5em;
}

/* Common Layout Classes */
.flex-display {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-auto {
  flex: auto;
}

.flex-1-auto {
  flex: 1 1 auto;
}

/* Width Classes */
.width-450 {
  width: 450px;
}

.width-225 {
  width: 225px;
}

.width-200 {
  width: 200px;
}

.width-150 {
  width: 150px;
}

.width-269 {
  width: 269px;
}

.width-300 {
  width: 300px;
}

.width-100 {
  width: 100%;
}

/* Margin Classes */
.margin-auto {
  margin: auto;
}

.margin-left-2 {
  margin-left: 2%;
}

.margin-left-10 {
  margin-left: 10px;
}

.margin-right-1 {
  margin-right: 1px;
}

.margin-bottom-3 {
  margin-bottom: 3%;
}

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

.margin-top-17 {
  margin: 17px -31px 1px 7px;
  float: right;
}

/* Color Classes */
.color-blue {
  color: #0062c4;
}

.color-red {
  color: red;
}

.color-green {
  color: green;
}

.color-3b456e {
  color: #3b456e;
}

.color-3597fa {
  color: #3597fa;
}

.color-00b8e0 {
  color: #00b8e0;
}

/* Background Colors */
.bg-green {
  background-color: #b1f0a1;
}

.bg-orange {
  background-color: #ff8c0070;
}

/* Font Classes */
.font-size-large {
  font-size: large;
}

.font-size-25 {
  font-size: 25px;
}

.font-size-20 {
  font-size: 20px;
}

.font-size-16 {
  font-size: 16px;
}

.font-size-13 {
  font-size: 13px;
}

.font-weight-bold {
  font-weight: bold;
}

.font-family-rubik {
  font-family: rubikmedium;
}

/* Height Classes */
.height-600 {
  height: 600px;
}

.height-70vh {
  min-height: 70vh;
}

.height-60vh {
  height: 60vh;
}

.height-325 {
  height: 325px !important;
}

/* Padding Classes */
.padding-left-30 {
  padding-left: 30px;
}

.padding-left-100 {
  padding-left: 100px;
}

.padding-bottom-0 {
  padding-bottom: 0px;
}

/* Text Alignment */
.text-center {
  text-align: center;
}

.text-center-bold {
  text-align: center;
  font-weight: bold;
}

/* Border Classes */
.border-solid {
  border: 1px solid;
}

/* Word Break */
.word-break-all {
  word-break: break-all;
}

/* Cursor */
.cursor-pointer {
  cursor: pointer;
}

/* Z-Index */
.z-index-500 {
  z-index: 500;
}

/* Position */
.position-relative {
  position: relative;
}

/* Overflow */
.overflow-visible {
  overflow: visible;
}

/* Float */
.float-right {
  float: right;
}

/* Justify Content */
.justify-left {
  justify-content: left;
}

/* Gap */
.gap-10 {
  gap: 10px;
} 

/* Global CSS Classes */

/* Toast Container Positioning */
.toast-container-top-4em {
  top: 4em !important;
}

.toast-container-top-5em {
  top: 5em !important;
}

/* Display */
.display-flex {
  display: flex !important;
}

.display-inline {
  display: inline !important;
}

/* Colors */
.color-blue {
  color: #0062c4 !important;
}

.color-red {
  color: red !important;
}

.color-green {
  color: green !important;
}

/* Font Sizes */
.font-size-16px {
  font-size: 16px !important;
}

.font-size-20px {
  font-size: 20px !important;
}

.font-size-25px {
  font-size: 25px !important;
}

/* Width */
.width-450px {
  width: 450px !important;
}

.width-225px {
  width: 225px !important;
}

.width-100px {
  width: 100px !important;
}

/* Height */
.height-600px {
  height: 600px !important;
}

.height-60vh {
  height: 60vh !important;
}

/* Margin */
.margin-auto {
  margin: auto !important;
}

.margin-custom {
  /* This will need to be customized based on specific needs */
}

/* Padding */
.padding-custom {
  /* This will need to be customized based on specific needs */
}

/* Word Break */
.word-break-all {
  word-break: break-all !important;
}

/* Background Colors */
.bg-green {
  background-color: #b1f0a1 !important;
}

.bg-orange {
  background-color: #ff8c0070 !important;
}

/* Float */
.float-right {
  float: right !important;
}

/* Border */
.border-1px-solid {
  border: 1px solid !important;
}

/* Border Radius */
.border-radius-4px {
  border-radius: 4px !important;
}

.border-radius-6px {
  border-radius: 6px !important;
}

/* Min Height */
.min-height-70vh {
  min-height: 70vh !important;
}

/* Overflow */
.overflow-scroll {
  overflow: scroll !important;
}

/* Margin Top */
.margin-top-10px {
  margin-top: 10px !important;
}

.margin-top-3 {
  margin-top: 3% !important;
}

/* Margin Left */
.margin-left-9-4 {
  margin-left: 9.4% !important;
}

/* Padding Left */
.padding-left-7px {
  padding-left: 7px !important;
}

.padding-left-12px {
  padding-left: 12px !important;
}

/* Padding Right */
.padding-right-8px {
  padding-right: 8px !important;
}

/* Flex Wrap */
.flex-wrap {
  flex-wrap: wrap !important;
}

/* Gap */
.gap-10px {
  gap: 10px !important;
}

/* Flex */
.flex-1-1-auto {
  flex: 1 1 auto !important;
}

/* Max Width */
.max-width-222px {
  max-width: 222px !important;
}

.max-width-420px {
  max-width: 420px !important;
} 
/* Custom Switch Component Styles */
/* Pure CSS implementation to prevent CSP violations */

.custom-switch {
  position: relative;
  display: inline-block;
  cursor: pointer;
  user-select: none;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.custom-switch-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.custom-switch-handle {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(50% - 4px);
  height: calc(100% - 4px);
  background-color: #fff;
  border-radius: 4px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.custom-switch-checked .custom-switch-handle {
  transform: translateX(100%);
}

.custom-switch-label-on,
.custom-switch-label-off {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.custom-switch-label-on {
  color: #fff;
  margin-right: auto;
}

.custom-switch-label-off {
  color: #fff;
  margin-left: auto;
}

/* Size variants */
.custom-switch-sm {
  min-width: 3.25rem;
  min-height: calc(1.5em + 0.5rem + 2px);
}

.custom-switch-md {
  min-width: 3.7rem;
  min-height: calc(1.5em + 0.75rem + 2px);
}

.custom-switch-lg {
  min-width: 5rem;
  min-height: calc(1.5em + 1rem + 2px);
}

/* Style variants */
.custom-switch-outline-success {
  background-color: #28a745;
  border: 1px solid #28a745;
}

.custom-switch-outline-danger {
  background-color: #dc3545;
  border: 1px solid #dc3545;
}

.custom-switch-outline-primary {
  background-color: #007bff;
  border: 1px solid #007bff;
}

.custom-switch-outline-secondary {
  background-color: #6c757d;
  border: 1px solid #6c757d;
}

.custom-switch-outline-warning {
  background-color: #ffc107;
  border: 1px solid #ffc107;
}

.custom-switch-outline-info {
  background-color: #17a2b8;
  border: 1px solid #17a2b8;
}

.custom-switch-outline-light {
  background-color: #f8f9fa;
  border: 1px solid #f8f9fa;
}

.custom-switch-outline-dark {
  background-color: #343a40;
  border: 1px solid #343a40;
}

/* Hover effects */
.custom-switch:not(.custom-switch-disabled):hover {
  opacity: 0.9;
  transform: scale(1.02);
}

/* Disabled state */
.custom-switch-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.custom-switch-disabled:hover {
  transform: none;
}

/* Focus styles for accessibility */
.custom-switch:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Animation for smooth transitions */
.custom-switch-track {
  transition: background-color 0.3s ease;
}

.custom-switch-checked.custom-switch-outline-success {
  background-color: #28a745;
}

.custom-switch-checked.custom-switch-outline-danger {
  background-color: #dc3545;
}

.custom-switch-unchecked.custom-switch-outline-success {
  background-color: #dc3545;
}

.custom-switch-unchecked.custom-switch-outline-danger {
  background-color: #28a745;
} 
/* React Switch Styles */
/* Extracted from react-switch to avoid CSP violations */

.react-switch {
  vertical-align: middle;
  margin-left: 4px;
}

.react-switch-bg {
  box-sizing: initial;
  display: inline-block;
  position: relative;
  width: 51px;
  height: 25px;
  background-color: #4D4D4D;
  border-radius: 34px;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.react-switch-bg:hover {
  background-color: #000000;
}

.react-switch-bg.react-switch-bg-disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.react-switch-handle {
  display: inline-block;
  position: absolute;
  top: 1px;
  left: 1px;
  width: 21px;
  height: 21px;
  background-color: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease;
  box-sizing: border-box;
}

.react-switch-handle.react-switch-handle-checked {
  transform: translateX(26px);
}

.react-switch-handle.react-switch-handle-disabled {
  cursor: not-allowed;
}

.react-switch-label {
  display: flex;
  align-items: center;
  height: 100%;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  user-select: none;
}

.react-switch-label.react-switch-label-disabled {
  cursor: not-allowed;
}

.react-switch-label.react-switch-label-unchecked {
  padding-left: 6px;
  padding-right: 6px;
}

.react-switch-label.react-switch-label-checked {
  padding-left: 6px;
  padding-right: 6px;
}

.react-switch-focus-outline {
  box-sizing: border-box;
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid transparent;
  border-radius: 36px;
  transition: border-color 0.25s ease;
}

.react-switch-focus-outline.react-switch-focus-outline-checked {
  border-color: #FFFFFF;
} 
._26f26Zk5bmofyM2AUyhbzQ {
  padding: 2px;
} 
._2Rk5F4lPeQPsnNPbH_c3E {
  line-height: 1em;
  background-color: transparent;
  border-style: none;
} 
/* Tippy.js custom styling - Single tooltip box with white background */
.tippy-box {
  background-color: #fff !important;
  color: #333 !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important; */
  font-size: 12px !important;
  padding: 6px 10px !important;
  max-width: 80vw !important; 
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

.tippy-box .tippy-content {
  color: #333 !important;
  word-break: break-word !important;
  white-space: pre-wrap !important;
  overflow-wrap: break-word !important;
  max-width: 100% !important;
}

.tippy-box.tippy-tooltip--long-content {
  max-width: 80vw !important;
  max-height: 70vh !important;
}

.tippy-box.tippy-tooltip--long-content .tippy-content {
  max-height: 400px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  word-break: break-word !important;
  white-space: pre-wrap !important;
  padding-right: 4px !important;
}

 .tippy-box.tippy-tooltip--long-content .tippy-content::-webkit-scrollbar {
  width: 6px;
}

.tippy-box.tippy-tooltip--long-content .tippy-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.tippy-box.tippy-tooltip--long-content .tippy-content::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.tippy-box.tippy-tooltip--long-content .tippy-content::-webkit-scrollbar-thumb:hover {
  background: #555;
} 

/* Arrow styling - white background with light border */
.tippy-box .tippy-arrow {
  color: #fff !important;
}

.tippy-box[data-placement^='top'] .tippy-arrow {
  border-top-color: #fff !important;
}

.tippy-box[data-placement^='bottom'] .tippy-arrow {
  border-bottom-color: #fff !important;
}

.tippy-box[data-placement^='left'] .tippy-arrow {
  border-left-color: #fff !important;
}

.tippy-box[data-placement^='right'] .tippy-arrow {
  border-right-color: #fff !important;
}

/* Override any theme-specific styling */
.tippy-box[data-theme~='dark'],
.tippy-box[data-theme~='light'] {
  background-color: #fff !important;
  color: #333 !important;
  border: 1px solid #ddd !important;
}

/* Custom Date Range Picker Styles - CSP Compliant */

.custom-date-range-picker {
  position: relative;
  display: inline-block;
}

.date-picker-popup {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3001;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  padding: 20px;
  margin-top: 5px;
  min-width: 400px;
  max-width: 500px;
}

.date-picker-popup:before,
.date-picker-popup:after {
  content: '';
  position: absolute;
  display: block;
  border-color: transparent;
  border-style: solid;
}

.date-picker-popup:before {
  top: -7px;
  left: 50%;
  margin-left: -6px;
  border-bottom-color: #ddd;
  border-width: 0 6px 6px;
}

.date-picker-popup:after {
  top: -6px;
  left: 50%;
  margin-left: -6px;
  border-bottom-color: #fff;
  border-width: 0 6px 6px;
}

.date-picker-header {
  text-align: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.date-picker-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.date-picker-body {
  margin-bottom: 20px;
}

.date-input-group {
  margin-bottom: 15px;
}

.date-input-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #555;
  font-size: 14px;
}

.date-input-group .react-datepicker-wrapper {
  width: 100%;
}

.date-input-group .form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.date-input-group .form-control:focus {
  border-color: #66afe9;
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.date-picker-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.date-picker-footer button {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.date-picker-footer .button.primary-btn.padding-btn {
  background-color: #337ab7;
  color: white;
}

.date-picker-footer .button.primary-btn.padding-btn:hover {
  background-color: #286090;
}

.date-picker-footer .button.secondary-btn.padding-btn {
  background-color: #6c757d;
  color: white;
}

.date-picker-footer .button.secondary-btn.padding-btn:hover {
  background-color: #5a6268;
}

/* React DatePicker Overrides */
.react-datepicker {
  font-family: inherit;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.react-datepicker__header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #ddd;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.react-datepicker__current-month {
  color: #333;
  font-weight: 600;
}

.react-datepicker__day--selected {
  background-color: #337ab7;
  color: white;
}

.react-datepicker__day--selected:hover {
  background-color: #286090;
}

.react-datepicker__day--keyboard-selected {
  background-color: #337ab7;
  color: white;
}

.react-datepicker__time-container {
  border-left: 1px solid #ddd;
}

.react-datepicker__time-list-item--selected {
  background-color: #337ab7;
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .date-picker-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    margin: 0;
  }
  
  .date-picker-popup:before,
  .date-picker-popup:after {
    display: none;
  }
} 
.cIAQvxP6LKbuyuA7giAFD {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

._1qaIa60hIhflYbDbxtM-IA {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

._2ohCLPMSkAi75JAbxhx2q3 {
  padding: 20px 20px 0 20px;
  text-align: center;
}

._1tLa7va_KpiN2yPPIOZhVL {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

._2r93ljU_3ZK6cTJ28UhN0T {
  padding: 20px;
  text-align: center;
}

.azvnSVCQnOeO7hX2-NJmY {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #666;
  white-space: pre-line;
}

._2mE3SHoyLOrn3L4Rh4aM6G {
  padding: 0 20px 20px 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.tG3aftIpk5gKDydMkYfAY {
  background-color: #3399ff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.tG3aftIpk5gKDydMkYfAY:hover {
  background-color: #2980b9;
}

._1VUYuPyuz58hqIg88C_VUb {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

._1VUYuPyuz58hqIg88C_VUb:hover {
  background-color: #5a6268;
} 
._3R4QrcYWpEyPvMqXR2ex7q {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px;
}

._3R4QrcYWpEyPvMqXR2ex7q:hover {
  background-color: #0056b3;
}

._1BJD6cmatNEYJMuq6YG6F7 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

._1xCTuj2itmnEYzfrTvnZq {
  background: white;
  padding: 20px;
  border-radius: 5px;
  width: 400px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  text-align: center;
}

._37wB1gIyTNe4A-F4FVMOsF {
  width: 100%;
  height: 60px;
  margin-top: 10px;
}

._1QUdTH36n91NNrgl_VAHJ6 {
  width: 100%;
  padding: 8px;
  margin-top: 10px;
  border-radius: 3px;
  border: 1px solid #ddd;
} 
