@import url('https://fonts.googleapis.com/css?family=Open+Sans');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --clr-dark: #070a12;
    --clr-light: #ffffff;
    --clr-lupo: #f3e8d6;
    --clr-lupo-light: #f3eee2;
    --clr-lupo-lighter: #fefbf5;
    --clr-lupo-dark: #ebd9ba;
    --clr-lupo-red: #b81f22;
    --clr-lupo-dred: #781c1c;
    --clr-light-grey: rgb(202, 202, 202);
}

body {
    position: relative;
    font-family: "Montserrat", sans-serif;
    background: var(--clr-lupo);
    font-size: 20px;
    scrollbar-color: var(--clr-lupo-red);
    scrollbar-width: thin;
    width: 100%;
    min-width: 0;
    margin: 0px;
}

.center{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly; 
}

.centered_text{
    text-align: center;
}

.left-right{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.left-right-ends{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.right-left{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.left-right-left{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.top-bot-left{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.square-container {
    max-width: 30%; /* Adjust % as needed */
    min-width: 70px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    border-radius: .5em;
    margin: 1%;
}

.square-container::after {
    content: "";
    display: block;
    padding-top: 100%; /* 1:1 Aspect Ratio (Square) */
}

.square-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the square */
}

.my-rooms-div {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 2fr 1fr 1.5fr 1fr 1fr 1.5fr 1fr;
    justify-items: start;
    align-items: center;
}

.my-reservations-div {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1.5fr 2fr 1fr 1fr 1fr 1fr 1.5fr;
    justify-items: start;
    align-items: center;
}

a:link {
    color: black;
    text-decoration: none;
}
a:visited {
    color: black;
    text-decoration: none;
}
a:hover {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
a:active {
    color: black;
    text-decoration: none;
}

a.greya:link {
    color: grey;
    text-decoration: none;
}
a.greya:visited {
    color: grey;
    text-decoration: none;
}
a.greya:hover {
    color: grey;
    text-decoration: none;
    cursor: pointer;
}
a.greya:active {
    color: grey;
    text-decoration: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

summary {
    list-style: none; /* Removes the default arrow */
}

::-webkit-scrollbar {
    width: 6px; /* Width of the scrollbar */
  }
  
  ::-webkit-scrollbar-track {
    background: var(--clr-lupo-dark); /* Color of the track */
    border-radius: 10px; /* Rounded corners */
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--clr-lupo-red); /* Color of the scrollbar thumb */
    border-radius: 10px; /* Rounded corners */
    border: 3px solid var(--clr-lupo-red); /* Padding around the thumb */
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--clr-lupo-red); /* Color of the thumb on hover */
    
  }

  ::selection{
    color: white;
    background: var(--clr-lupo-red);
  }

  input[type="checkbox"] {
    position: relative;
    top: 4px;
    width: 16px;
    height: 16px;
    border-color: var(--clr-lupo-red);
    accent-color: var(--clr-lupo-red);
  }

  input[type="checkbox"]:hover {
    cursor: pointer;
  }

  mark{
    background-color: rgba(255,0,0,0);
    background-image: linear-gradient(rgba(255,0,0,0.01), var(--clr-lupo-red));
    color: white;
  }

  .switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--clr-lupo-light);
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: var(--clr-lupo-dark);
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--clr-lupo-red);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--clr-lupo-red);
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}