:root {
  --color-white: #ffffff;
  --color-light: #E6E6E6;

  --color-base-text: #878682;

  --color-accent: #f79320;
  
  --button-primary: #f79320;
  --button-primary-hover: #f79320a6;
  --button-secondary: #00000026;
  --button-secondary-hover: #00000050;

  --button-disabled: #c1bfb9;

  /* font sizes */
  --font-size-small: 0.8rem;
  --font-size-medium: 1rem;
  --font-size-large: 1.5rem;
  --font-size-xlarge: 2.5rem;
  --font-size-xxlarge: 3rem;
  --font-size-xxxlarge: 4rem;

  /* font weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-bold: 700;

  /* font families */
  --font-family-primary: 'Roboto', sans-serif;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, .05); 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}
  /* width */
::-webkit-scrollbar {
  width: 5px;
}

body {
  overflow: auto;
  overflow-x: hidden;
  min-height: 97vh;
  background-image: url("./assets/house.png"); background-repeat: no-repeat; background-position: center; background-size: cover;

  font-family: var(--font-family-primary);

  display: flex;
  margin: 0;
}

.iframe, .image {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 5px;
}

.image {
	object-fit: cover;
	object-position: top left;
}

.logo-image-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

h1 {
  font-size: var(--font-size-xxlarge);
  font-weight: var(--font-weight-bold);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-accent);
}

a {
  color: var(--color-accent);
}

p {
  width: 100%;
  text-align: left;
  color: var(--color-base-text);
  font-size: var(--font-size-medium);
}

.color-primary {
  color: var(--button-primary);
}

.all-caps {
  text-transform: uppercase;
}

.h-300 {
  height: 300px;
}

.w-300 {
  width: 300px !important;
}

.w-50 {
  width: 50%;
}

.w-25 {
  width: 25%;
}

.max-vh {
  height: 100vh;
}

.max-vw {
  width: 100vw;
}

.max-w-500 {
  max-width: 500px;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.align-start {
  align-items: flex-start;
}

.full-width {
  width: 100%;
}

.reverse-row {
  display: flex;
  flex-direction: row-reverse;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 15px;
}

.registration-form-grid2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
}

.row {
  display: flex;
  flex-direction: row;
  gap: 15px;
  width: 100%;
}

.btn {
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--button-primary);
  color: var(--color-white);
}

.btn-disabled{
  background-color: var(--button-disabled);
  color: var(--color-white);
}

.border-radius-right-5 {
  border-radius: 0;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.border-radius-left-5 {
  border-radius: 0;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

#form-options {
  display: none; /* delete this line when you wanna make these buttons appear again */
  .btn {
    flex-grow: 1;
  }
  display: flex;
  gap: 5px;
  flex-direction: row;
  flex-grow: 1;
  width: 100%;
}

#registration-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: 10px;
}

/*
button[type="submit"] .btn-primary {
	text-transform: uppercase !important;
}
*/

.uppercase {
    text-transform: uppercase !important;
}

.btn-primary:hover {
  background-color: var(--button-primary-hover);
}

.gap-15 {
  gap: 15px;
}

.fgrow-1 {
  flex-grow: 1;
}

.justify-space-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.align-stretch {
  align-items: stretch;
}

.align-end {
  align-items: flex-end;
}

.align-center {
  align-items: center;
}

.white-bg {
  background-color: var(--color-white) !important;
}

.light-bg {
  background-color: var(--color-light) !important;
}

.login-logo-inputs-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 15px;
 /* min-width: 100%;*/
}

input[type="date"]:before { content: attr(placeholder); color: #757575; position: absolute; }
input[type="date"]:after { content: ''; color: #757575; position: absolute; }


.modal-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
}

.modal, .modal-index {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f79320;
  padding: 3vw;
  border-radius: 5px;
  gap: 8px;
  
  width: 50%;
  
  margin-top: auto;
  margin-bottom: auto;
}

.modal-index {
  padding: 0 1.5vw;
  h1 {
    text-align: center;
    font-size: 2rem;
    text-transform: uppercase;
  }
}

.modal-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  
  max-width: 300px;
  padding: 1vw;

  background: #e6e6e6;
  border-radius: 5px;
}

.drawer-bar{
  width: .5%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: white;
  z-index: 99;
  transition: all 200ms;
}

.modal-logo {
  justify-self: flex-end;
  max-width: 95%;
  max-height: 80px;
}

.modal-input {
  color: #757575;
  width: 100%;
  /* max-width: 375px; */
  padding: 10px;
  border-radius: 5px;
  border: none;
  font-weight: normal;
  background: #fff;

  option { 
    font-weight: normal;
  }
}

select {
  background: #fff !important;
  appearance: none;
  -webkit-appearance: none; /* Safari and Chrome */
  -moz-appearance: none; /* Firefox */
}

.login-title-iframe {
  display: grid;
  grid-template-columns: auto 55%;
  gap: 15px;

  h1 {
    margin-top: 0;
    text-transform: uppercase;
    font-size: 2rem;
  }
}

.modal-submit {
  width: 100%;
  padding: 1vw;
  border-radius: 5px;
  border: none;
  background-color: var(--button-primary);
  cursor: pointer;

  font-weight: 700;
  color: var(--color-white);

  transition: background-color 0.3s;

  &:hover {
    background-color: var(--button-primary-hover);
  }
}

.login-logo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

@media screen and (max-width: 1100px) {
	h1 {
		font-size: var(--font-size-xlarge);
	}
}

@media screen and (max-width: 768px) {
  .modal, .modal-index {
    width: 90%;
    /* max-height: 90vh; */
    margin: clamp(5px, 10px, 15px);
  }

  .modal-index {
    padding: 15px;
  }

  .modal-logo {
    align-self: center;
  }

  .container .modal, .login-title-iframe, .login-logo, .login-logo-inputs-container {
    display: flex;
    flex-direction: column;
  }

  .btn {
    padding: 10px 20px;
  }

  .login-logo-inputs-container {
    align-self: stretch;
    width: 100%;
  }

  .modal-logo {
    width: 300px;
    max-width: 100%;
  }

  .grid-2 {
    display: flex;
    flex-direction: column;
  }

  .row {
    flex-direction: column;
  }
}

/* New Styles */

.overlay {
  width: 100vw;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: rgba(0,0,0,.6);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all 200ms ease-in;
}

.nav {
  width: 270px;
  height: 100vh;
  background-color: #fff;
  left: -270px;
  top: 0;
  position: fixed;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,.6);
  transition: all 200ms ease-in-out;
  z-index: 99;
}

.toggle {
  position: absolute;
  top: 50vh;
  bottom: 50vh;
  left: 100%;
  background-color: #fff;
  width: 40px;
  height: 40px;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  cursor: pointer;
}

.toggle-minimized {
  position: absolute;
  top: 0 !important ;
  bottom: 0 !important;
  left: 100%;
  background-color: #fff;
  width: 40px;
  height: 100vh;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;

  
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.toggle span {
  display: block;
  margin-top: -10px;
  color: #222222;
}

.logo {
  text-align: center;
  margin-bottom: 10px;
}

.logo img {
  max-width: 90%;
  padding: 5px;
}

.logo  a{
  text-decoration: none;
  color: #888;
  font-size: 30px;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
  font-family: Arial, Helvetica, sans-serif;
}

/* Show Nav */
.show-nav .nav {
  left: 0;
  overflow-y: auto;
}

/* Show Nav */
.show-nav .nav {
  left: 0;
  overflow-y: auto;
  
}

.show-nav .overlay {
  opacity: 1;
  visibility: visible;
}

.my-0 {
	margin-bottom: 0 !important;
	margin-top: 0 !important;
}

.cla-black{
	color:  black;
	font-weight:700;
}

.row p {
line-height: 1.5 !important;
}

.drawer-card {
  padding: 5px;
  margin: 10px;
  border-radius: 5px;
  background-color: var(--color-light);
  transition: all 200ms ease-in-out;
  display: flex;
  flex-direction: column;
  gap: 10px;

  h1, h2, h3, h4, h5, p {
    color: var(--color-base-text);
	margin: 5px;
    line-height: 1.3 !important;
  }

  img {
    background-color: #fff;
    padding: 25px;
    border-radius: 5px;
  }
}

.buttons-group {
  display: flex;
  justify-content: space-around;
  gap: 2px;
}

.dual-button-container {
  display: flex;
  gap: 2px;
  justify-content: stretch;
}

.fit-content {
  width: fit-content;
}

.p-2 {
  padding: 2px 6px;
}

.grow-1 {
  flex-grow: 1;
}

.grow-2 {
  flex-grow: 2;
}

.no-right-border-radius {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.no-left-border-radius {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.btn-secondary {
  background-color: var(--button-secondary);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--button-secondary-hover);
}

/* Coming soon page */

#cs-heading{
  text-align: center;
  margin: 0;	
}

.coming-soon-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

#coming-soon-text {
  text-align: center;
  text-align: center;
  font-size: 18px;
  color: #000;
}

#coming-soon-button {
  text-decoration: none;
}
/* loader */
.loader {
    display: none;
    border: 4px solid rgba(0, 0, 0, 0.2); /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loaderOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2); /* Semi-transparent black overlay */
    z-index: 99999; /* Ensure it's above other content */
    display: none; /* Initially hidden */
    pointer-events: none; /* Allow click events to pass through */
}
.disable-interaction {
    pointer-events: none; /* Prevent interactions */
}

#global-error-message {
  color: red;
  font-size: 14px;
  display: none;
}
