body {
  background-color: #d6e1f3;
  color: rgb(1, 0, 66);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.header-box {
  padding: 3px;
  margin-top: 8px;
  margin-left: 1em;
  margin-right: 0px;
  color: rgb(0, 2, 36);
  max-width: 100%;
  max-height: min-content;
}

.box {
  padding: 1em;
  margin-top: 8px;
  margin-left: 1em;
  margin-right: 1em;
  border-radius: 10px;
  background-color: rgb(255, 255, 255);
  max-width: 95%;
  z-index: 99;
}

.inner-box {
  border-radius: 5px;
  max-height: max-content;
}

.inner-box-bordered {
  border-radius: 5px;
  border: 1px solid rgb(170, 170, 170);
  max-height: max-content;
  padding-bottom: 1em;
}

/* Preview tables */
.inner-box-table {
  border-radius: 5px;
  height: auto;
  max-height: 500px;
  max-width: 100%;
  overflow: auto;
}
.inner-box-table::-webkit-scrollbar-track {
  background: lightgray;
}
.inner-box-table::-webkit-scrollbar-thumb {
  background-color: gray;
}
.inner-box-table::-webkit-scrollbar {
  visibility: visible;
}

.page-heading {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 2em !important;
  font-weight: 400;
}

.inner-box-heading {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 1.25em;
  font-weight: 300;
  margin-bottom: 0.5em;
  padding-left: 0px !important;
}

.inner-box-helptext {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 1em;
  font-weight: 200;
  margin-top: 0.25em;
  padding-left: 1.5em !important;
}

.account-preview-table {
  width: 10%;
}

.account-preview-edit {
  width: 1%;
}

.small-print {
  font-size: small;
}

li {
  list-style-type: square;
  font-weight: 400;
  margin-left: 2em;
}
ul {
  font-weight: bold;
}

/* This is the import map table from where to drag the fields
 */
#tblDatabaseFields {
  width: 100%;
}
#tblDatabaseFields tr td {
  width: 15%;
  vertical-align: top;
  padding-left: 1em;
}
#tblDatabaseFields tr td span {
  display: block;
  font-size: smaller;
  background-color: rgb(220, 220, 220);
  margin: 2px;
}

/* this is for the preview table when the headers are added as part of the import map code */
.row-header {
  color: rgb(94, 11, 27) !important;
  margin-right: 3em;
  text-align: right;
}

.import-map-field {
  vertical-align: middle;
  padding-left: 1em;
}

.register-field {
  background-color: #ecebeb;
  margin: 8px;
  padding: 3px;
  font-size: 12px;
}
.register-fields-home-base {
  padding: 1em;
  width: 100%;
}

.tooltip-inner {
  text-align: left;
  font-size: small;
  max-width: 500px;
}

.offcanvas {
  background-color: #d6e1f3;
}

.button-rack {
  /* background-color: rgba(255, 255, 255, 0.5); */
  border-radius: 5px;
  /* margin-top: 50px; */
  z-index: 9999;
}

.register-header {
  z-index: 500;
}

.main-heading {
  background-color: #d6e1f3b0;
}

.spinner {
  background-color:rgba(0, 0, 0, .3);
  position:fixed;
  top:0;
  left:0;
  height:100%;
  width:100%;
  z-index:999
}

.free-trial {
  background-color: rgb(0, 2, 69); z-index: 0; color:rgb(255, 255, 255);
}

.trial-expired {

  background-color: rgb(182, 0, 0); z-index: 0; color: rgb(255, 238, 0);

}

.expire-warning {
  background-color: rgb(255, 247, 0); z-index: 0
}

.subscription-expired {
  background-color: rgb(0, 13, 157); z-index: 0; color:rgb(255, 255, 255);
}

.uncategorized-warning {
  background-color: rgb(8, 72, 1); z-index: 0; color:rgb(255, 255, 255);
}


.loginAge {
  background-color: rgb(70, 0, 0); z-index: 0; color:rgb(255, 255, 255);

}


.auto-purge {
  background-color: rgb(114, 0, 0); z-index: 0; color:rgb(255, 255, 255);
 
}
.burgerIcon {
  width: 30px; 
  height:30px;
  color:black;
}

.standardIcon {
  width: 24px; 
  height:24px;
  color:black;
}

.standardLightIcon {
  width: 24px; 
  height:24px;
  color:aliceblue;
}

.standardMutedIcon {
  width: 24px; 
  height:24px;
  color:rgb(138, 138, 138);
}
.smallMutedIcon {
  width: 15px; 
  height:15px;
  color:rgb(138, 138, 138);
}
.smallIcon {
  width: 15px; 
  height:15px;
  color:black;
}

.verySmallIcon {
  width: 12px; 
  height:12px;
  color:black;
  margin-left: 0px;
  margin-right: 0px;
}

.smallAlertIcon {
  width: 15px; 
  height:15px;
  color:crimson;
}

.sticky-top-body {
   background-color:  #d6e1f3e2 !important;
 
}

.displayNone {
  display: none;
} 

.credit-link {
  color: darkblue;
  text-decoration: none;
}

/* Fix for Top Expenses chart "No Data to Display" centering */
.canvas-div-2 {
  position: relative;
}

/* Cookie notification banner styles */
#cookieNotificationBanner {
  background-color: #e3f2fd;
  color: #0d47a1;
  left: 0;
  right: 0;
  z-index: 9999;
  margin: 0;
  border-radius: 0;
  display: block;
}

#cookieNotificationBanner strong {
  color: #0d47a1;
}

#cookieNotificationBanner .btn-close {
  background-color: transparent;
  border: none;
  font-size: 1.2rem;
}

/* Adjust body padding when banner is visible */
body.cookie-banner-visible {
  padding-bottom: 80px;
}

/* Responsive hamburger icon and page heading sizing */

/* Large screens - desktops (max-width: 1200px) */
@media (max-width: 1200px) {
  .burgerIcon {
    width: 28px;
    height: 28px;
  }
  
  .page-heading {
    font-size: 2em !important;
  }
}

/* Medium screens - tablets (max-width: 768px) */
@media (max-width: 768px) {
  .burgerIcon {
    width: 24px;
    height: 24px;
  }
  
  .page-heading {
    font-size: 1.8em !important;
  }
}

/* Small screens - mobile phones (max-width: 576px) */
@media (max-width: 576px) {
  .burgerIcon {
    width: 20px;
    height: 20px;
  }
  
  .page-heading {
    font-size: 1.6em !important;
    line-height: 1.3;
  }
}

/* Extra small screens (max-width: 375px) */
@media (max-width: 375px) {
  .burgerIcon {
    width: 18px;
    height: 18px;
  }
  
  .page-heading {
    font-size: 1.4em !important;
    line-height: 1.2;
  }
}

/* Responsive canvas sizing for Net Worth graph */
/* Ensure Net Worth graph has adequate height on all screen sizes */
#main-summary-balance-canvas-NetWorth {
  max-height: 350px;
  min-height: 250px;
}

/* Large screens and above - keep original height */
@media (min-width: 992px) {
  #main-summary-balance-canvas-NetWorth {
    max-height: 350px;
    min-height: 300px;
  }
}

/* Medium screens - tablets (max-width: 991px) */
@media (max-width: 991px) {
  #main-summary-balance-canvas-NetWorth {
    max-height: 300px;
    min-height: 250px;
  }
}

/* Small screens - mobile phones (max-width: 768px) */
@media (max-width: 768px) {
  #main-summary-balance-canvas-NetWorth {
    max-height: 280px;
    min-height: 230px;
  }
}

/* Extra small screens (max-width: 576px) */
@media (max-width: 576px) {
  #main-summary-balance-canvas-NetWorth {
    max-height: 250px;
    min-height: 200px;
  }
}

/* Very small screens (max-width: 375px) */
@media (max-width: 375px) {
  #main-summary-balance-canvas-NetWorth {
    max-height: 230px;
    min-height: 180px;
  }
}



.card-header {
background: linear-gradient(135deg, rgba(0, 2, 69, 1) 0%, rgb(137, 141, 250) 100%) !important;
color: white !important;
border-top-right-radius: 2rem !important;
}

.card-body {
border: 1px solid #1a1d4580 !important;
}