/* Apply globally */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #343434;
  font-family:"Solway",sans-serif;
  line-height:1.4;
  letter-spacing:2px;
  overflow-x: hidden;
}
input,textarea { width:100%;padding: 12px 20px; border: 1px solid black; }
.input { width:100%;padding: 12px 20px; border: 1px solid black; background:white;}

.screen {
  max-width: 1200px;     /* Never wider than 1200px */
  width: 100%;           /* Take up full width on smaller screens */
  margin: 0 auto;        /* Center it horizontally when narrower than screen */
}

h1{font-size: 140%;}
h2{font-size: 120%;}
h3{font-size: 110%;}

.lightBgBox { background-color: #f1f1f1;padding: 20px; margin-bottom: 20px; }
.strongBgBox { background-color: #141844;color:#fff;padding: 20px; margin-bottom: 20px; }
.greenBgBox { background-color: green;color:#fff;padding: 20px; margin-bottom: 20px; }
.noteBgBox { background-color: yellow; margin-top: 4px; font-size: smaller; padding: 10px; margin-bottom: 20px; }
.errorBgBox { background-color: white;color:red;padding: 20px; padding-top: 10px; margin-bottom: 20px; }
a{text-decoration:none;color:#275EFE;font-weight:bold;}
.a{text-decoration:none;color:#275EFE;font-weight:bold;cursor:pointer;}
button,.button{cursor:pointer;text-decoration:none;padding:10px 20px;font-size:18px;font-weight:bold;background:#ddd;color:#275EFE;border:none;margin:12px;display:inline-block;}
.buttonDisabled{text-decoration:none;padding:10px 20px;font-size:18px;font-weight:bold;background:#ddd;color:#000;border:none;margin:12px;display:inline-block;}
.buttonSmall{cursor:pointer;text-decoration:none;padding:4px 8px;font-size:16px;font-weight:bold;background:#ddd;color:#275EFE;border:none;margin:4px;display:inline-block;}
.buttonSmallDisabled{text-decoration:none;padding:4px 8px;font-size:16px;font-weight:bold;background:#ddd;color:#000;border:none;margin:4px;display:inline-block;}
.strongButton {}
.iconButton {}
.strongIconButton {}
.topBar { 
  position:fixed;left:0;top:0;width:100%; background-color: #FFFFFF;padding: 10px;
  font-size:18px;font-weight:bold;
  overflow: hidden;white-space: nowrap;text-overflow: ellipsis;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  z-index: 10;
}
.bottomBar {
  position:fixed;left:0;bottom:0;width:100%; background-color: #FFFFFF;padding: 20px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  z-index: 10;
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  
  /* Hide scrollbar */
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}

.scroll-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.oneTwo {
  display: grid;
  grid-template-columns: 1fr; /* 1 column on mobile */
  gap: 20px;
}

@media (min-width: 768px) {
  .oneTwo {
    grid-template-columns: 1fr 1fr; /* 2 columns on desktop */
  }
  .lightBgBox { margin-left: 16px; margin-right: 16px; }
}

.blog-header { background-color: #141844;color:#fff;padding: 20px; margin-bottom: 20px; }
.blog-cfa { background-color: green;color:#fff;padding: 20px; margin-bottom: 20px; }
.blog-header-image-container {
  width: 100%;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.blog-header-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.blog-square-container {
  width: 100%;                    /* Full width of parent */
  aspect-ratio: 1 / 1;            /* 1:1 square */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f0f0f0;            /* Optional fallback */
}
.blog-square-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;              /* Fill + crop from center */
  object-position: center;
}
.table-bordered {
  border-collapse: collapse; /* Ensures borders don't double */
  /* border: 1px solid #999; */
}
.table-bordered th,
.table-bordered td {
  border: 1px solid #999;
  /* padding: 8px; Optional: improves readability */
  padding: 8px;
  vertical-align: top;
}

.toast {
    min-width: 250px;
    padding: 15px 20px;
    background-color: yellow;
    color: black;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer; /* Indicates it's clickable */
    opacity: 1;
    display: inline-block;
}

/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
.lds-spinner {
  /* change color here */
  color: #ffffff;
}
.lds-spinner,
.lds-spinner div,
.lds-spinner div:after {
  box-sizing: border-box;
}
.lds-spinner {
  color: currentColor;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3.2px;
  left: 36.8px;
  width: 6.4px;
  height: 17.6px;
  border-radius: 20%;
  background: currentColor;
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/*html:
<div class="lds-spinner"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>
*/
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */


/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/*
styling for function customSelect(options, container, onChange) in index.js
*/
.custom-select {
  position: relative;
  user-select: none;
  font-family: sans-serif;
  display: inline-block;
}

.custom-select__selected {
  padding: 10px;
  border: 1px solid #ccc;
  cursor: pointer;
  background: #ddd;
  color:#275EFE;
}

.custom-select__options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border: 1px solid #ccc;
  border-top: none;
  background: #fff;
  max-height: 150px;
  overflow-y: auto;
  display: none;
  z-index: 1;
}

.custom-select__option {
  padding: 10px;
  cursor: pointer;
  color: #275EFE;
  border-bottom: 1px solid #ccc;
}

.custom-select__option:hover {
  background: #f0f0f0;
}
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */



/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
.dropbtn {
  padding: 10px;
  border: 1px solid #ccc;
  cursor: pointer;
  background: #ddd;
  color: #275EFE;
  font-weight: bold;
  margin: 0;
  /*
  background-color: #275EFE;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  */
}
.dropbtn0 {
  cursor: pointer;
  margin: 0;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 300px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content div {
  padding: 10px;
  cursor: pointer;
  color: #275EFE;
  border-bottom: 1px solid #ccc;
  /*
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid #999;
  */
}

.show {display: block;}
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
