/* 
toggle between light and dark mode

:root {
    --main-color: #00aeff;
    --bg: #ccc;
    --checkbox-bg: transparent;
    --checkbox-sun: var(--main-color);
    --checkbox-moon: #000;
  }
  
  :root:has(.theme:checked) {
    --bg: #242424;
    --checkbox-bg: #00aeff;
    --checkbox-sun: #000;
    --checkbox-moon: var(--main-color);
  } */
  

body{
    background-color: #ffffff;
}
.navbar-brand{
    width: 15%;
}
.navbar-brand img{
    width: 40%;
}
.popular-calculators p{
    font-size: 18px;
    font-weight: 600;
}
.calculator-types .nav-link{
    font-weight: 500;
}
.merged-search-icon{
    font-size: 15px;
    position: absolute;
    right: 1%;
    top:5%;
}
.btn-pulse{
    animation-name:button-pulse;
    animation-iteration-count: infinite;
    animation-duration: 2s;
}



/* 
Custom Components Start
*/

.switch-box {
    position: relative;
    width: 3rem;
    height: 1.5rem;
    background: var(--checkbox-bg);
    transition: 1.5s;
    border-radius: 6rem;
    border: 0.2rem solid #02134d;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .switch-box input {
    appearance: none;
  }
  .switch-box input:checked ~ span {
    left: 60%;
  }
  .switch-box span {
    position: absolute;
    left: 0;
    width: 1rem;
    height: 1rem;
    background: #fff;
    border: none;
    border-radius: 6rem;
    scale: 1.2;
    transition: 0.5s;
    box-shadow: 0 0 0.5rem 0 #000;
  }
/* 
Custom Components End
*/

/* Animations */
@keyframes button-pulse{ 
    0%{box-shadow:0 0 0 0px #1e5b80;}
    100%{box-shadow:0 0 0 10px #fff;}
}
.classification-table{
  border: 1px solid black;
}
.classification-table td:nth-child(odd){
  text-align: left;
}
.classification-table td:nth-child(even){
  text-align: right;
}
.table.border-muted td,.table.border-muted th{
  border-color: antiquewhite !important;
}
.capitalized-option,.capitalized-option option{
  text-transform: capitalize;
}
.cross-icon{
  cursor: pointer;
}
.btn-check:checked + .btn{
  background-color: #02134d !important;
  color: white;
  border: none;
}

.border-with-breaks {
  width: 200px; /* Adjust the width to your preference */
  height: 2px; /* Adjust the height to your preference */
  background-color: #03134E; /* Color of the border */
  position: relative;
  margin: 20px auto; /* Adjust the margin to position the element */
  
}
.border-with-breaks[data-color='green']{
  background-color: green;
}
.border-with-breaks[data-color='yellow']{
  background-color: #FFC107;
}

.border-with-breaks::after {
  content: "";
  border-radius: 5px;
  position: absolute;
  top: 50%;
  left: 15%;
  width: 10px; /* Adjust the width of the gap to your preference */
  height: 2px; /* Adjust the height to your preference */
  background-color: white; /* Color of the gap */
  transform: translate(-50%, -50%);
}
.border-with-breaks::before {
  content: "";
  border-radius: 5px;
  position: absolute;
  top: 50%;
  right: 10%;
  width: 10px; /* Adjust the width of the gap to your preference */
  height: 2px; /* Adjust the height to your preference */
  background-color: white; /* Color of the gap */
  transform: translate(-50%, -50%);
}
.calendar-img{
  background-image: url("../img/full-gif.gif");
  background-repeat: no-repeat;
  background-size:100% 100%;

}
.percentage-inputs{
  display: none;
}
.percentage-inputs.active{
  display: flex;
  gap: 10px;
  align-items: center;
}
.percentage-inputs label{
  white-space: nowrap;
}
.heading-paragraph{
  font-size: 20px;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}
