:root {
  --primary-color: #a74e3e;
  --secondary-color: #ececec;
  --third-color: #353535;
  --accent-color: #a74e3e7b;
  --header-color: #353535;
  --header-blur: blur(16px);
  --primary-gradient: linear-gradient(
    57deg,
    var(--primary-color) 0%,
    #ab6d62 100%
  );
  --text-color: #353535;
  --name: 'The Tennis Architect';
}

body.darkmode {
  --primary-color: #a74e3e;
  --secondary-color: #353535;
  --accent-color: #a74e3e7b;
  --text-color: #ececec;
}

body {
  font-family: 'Sporty', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--secondary-color);
  max-height: 100vh;
  overflow: hidden;
}

h1 {
  color: var(--text-color);
  font-size: clamp(2rem, 3vw, 6rem);
  font-weight: 900;
  margin-bottom: 1rem;
  margin-left: 1rem;
  margin-right: 1rem;
  margin-top: 1rem;
  border-bottom: 3px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

.container {
  width: 100%;
  max-width: 1170px;
  max-height: 100vh;
  overflow: hidden;
  margin: 0 auto;
  padding: 0 1rem;
}

.main-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, 50vw);
  height: 100vh;
}

.login-image {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  max-height: 100vh;
}

.login-container {
  display: flex;
  background-color: var(--secondary-color);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-top: 60px;
  max-height: 100vh;
}

.login-logo {
  width: 70%;
  object-fit: contain;
}

.login-form {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 25vw;
  span {
    margin-bottom: 10px;
    color: #353535;
    font-weight: 600;
  }
}

.reset-agv {
  text-align: center;
}

.reset-img-agv {
  border-top: #353535 1px solid;
  height: 20%;
  object-fit: contain;
}

.login-form input,
.login-form button {
  width: 100%;
  padding: 10px;
  margin-bottom: 5px;
  border-radius: 8px;
}

.login-form input {
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.login-form button {
  background-color: #007bff;
  color: #fff;
  width: 100%;
  border: none;
  box-sizing: border-box;
  display: flex;
  cursor: pointer;
  border-radius: 12px;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
}

.create-text {
  margin-block-start: 0px;
  margin-block-end: 0px;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  margin-top: 2px;
  font-weight: 300;
  color: #989898;
}

.submit-text {
  margin-block-start: 0px;
  margin-block-end: 0px;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

.submit-icon {
  height: 16px;
  margin-left: 10px;
}

.login-extra {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 10px;
  border-top: 3px solid rgba(255, 255, 255, 0.5);
}

.login-spacer {
  margin-bottom: 30px;
}

.login-form button:hover {
  background-color: #0056b3;
}

.login-form button:active {
  background-color: #003d80;
}

.login-form button:focus {
  outline: none;
}

.login-form button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.login-link {
  color: #bcbcbc;
}

.verification-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

.verification-popup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-backdrop-filter: var(--header-blur, blur(16px));
  backdrop-filter: var(--header-blur, blur(16px));
  background-color: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1));
  z-index: -1;
  width: calc(100%);
}

.verification-popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  aspect-ratio: 5/3;
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

.verification-popup-content h1 {
  font-size: clamp(2rem, 2vw, 3rem);
}

.verification-popup-content button:hover {
  background-color: #0056b3;
}

.verification-popup-content button:active {
  background-color: #003d80;
}

.verification-popup-content button:focus {
  outline: none;
}

.verification-popup-content button {
  font-size: clamp(1rem, 1vw, 1.5rem);
  font-weight: 600;
  text-align: center;
  margin-left: 0;
  padding: 0;
  margin-bottom: 5px;
  border-radius: 8px;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  background-color: #007bff;
  color: #fff;
  border: none;
  box-sizing: border-box;
  display: flex;
  cursor: pointer;
  border-radius: 12px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 40px;
}

.verification-popup-logo {
  display: flex;
  position: absolute;
  bottom: 20px;
  width: 70%;
  margin-top: 20px;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  max-height: 100vh;
}

.verification-popup-divider {
  width: 50%;
  height: 1px;
  background-color: #ccc;
  margin: 20px 0;
}

@media (550px > width >= 310px) {
  .container {
    width: calc(100vw - 30px);
  }

  .mob-nav,
  .menu-toggle {
    display: flex;
  }
}

/*Phone specific styles*/
@media (768px > width >= 550px) {
  .container {
    width: calc(100vw - 30px);
  }

  .mob-nav,
  .menu-toggle {
    display: flex;
  }
}

/*Tablet specific styles*/
@media (1200px > width >= 768px) {
  .container {
    width: calc(100vw - 30px);
  }

  .pri-nav,
  .menu-toggle {
    display: flex;
  }

  .pri-nav-grid {
    display: none;
  }
}

/*PC specific styles*/
@media (width >= 1200px) {
  .container {
    width: calc(100vw - 30px);
  }

  .pc-nav {
    display: flex;
  }
}
