@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

body {
  margin: 0;
  padding: 0;
}

.v-application {
  font-family: 'Poppins' !important;
}

.main-container {
  height: 100vh;
  width: 100%;
  background-image: url("./static/img/general-bg.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.circle_icon_wrapper {
  width: 49px;
  height: 49px;
  border: 2px solid black;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle_icon_wrapper div {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #6c6f74;
}

.circle_icon_wrapper img {
  width: 27px;
  height: 25px;
}

.support-icon {
  margin-left: 18px;
  transition: 0.3s ease-out;
  pointer-events: all;
  cursor: pointer;
  &:hover {
    transform: translateY(-2px);
  }
}

@media screen and (max-height: 900px) {
  .content-container {
    transform: scale(0.9);
    position: relative;
    bottom: 2rem;
  }
}

.header {
  height: 11vh;
  display: flex;
  align-items: center;
  padding: 0 2%;
  justify-content: space-between;
}

.header-logo {
  width: 50%;
  /* Responsive width */
  max-width: 174px;
  /* Max width */
}

.content {
  height: 80vh;
  display: flex;
  justify-content: center;
}

.content-container {
  width: 90%;
  /* Adjust for responsiveness */
  /* max-width: 600px; Max width */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-logo {
  width: 100%;
  /* Responsive width */
  max-width: 355px;
  /* Max width */
  height: auto;
  /* Maintain aspect ratio */
  margin-bottom: 2vh;
}

.content-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 5vh;
  color: #FFFFFF;
  margin-bottom: 5vh;
}

.content-form {
  width: 80%;
  max-width: 689px;
  box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.3);
  background: #FFFFFF0D;
  border: 1px solid #919191;
  border-radius: 19px;
  backdrop-filter: blur(25px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3% 4%;
}

.content-form-title {
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  color: #FFFFFF;
  width: 100%;
  margin-bottom: 1vh;
}

.form {
  width: 100%;
}

.form-input:nth-child(2) .v-text-field__slot {
  left: 2px !important;
  /* fix full name */
}

input {
  border: none;
  /* Simplified */
  max-height: 20px;
}

.v-input--selection-controls {
  margin-top: 0px !important;
}

.prepend-icon {
  margin-inline-end: .5rem !important;
}

.v-input .v-label {
  font-size: 18px !important;
}

.checkbox-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 2vh;
  text-align: left;
}

.tnc {
  text-decoration: underline;
}

:root {
  --light-bg-color: rgb(255, 255, 255);
  --dark-bg-color: transparent;
  --dark-bg-opacity: 0.55;
  --light-bg-opacity: 0.75;
  --color: rgb(222, 222, 222);
  --pmb-font-color: #fff;
  --pmb-font-weight: 400;
  --btn-padding: 10px 35px;
  --border-radius: 6px;
}

.v-text-field {
  padding-block-start: 3% !important;
}

.gradient-button-wrapper {
  display: flex;
  justify-content: center;
  margin-block-start: 4%;
  position: relative;
}

.submit-btn {
  position: relative;
  transition: all 1s ease;
  width: 100%;
  max-width: 324px;
}

.submit-btn:hover {
  bottom: 3px;
}

.normal-image {
  display: block;
  width: 100%;
  transition: opacity 0.3s ease;
}

.hover-image {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.submit-btn:disabled {
  bottom: 0;
  cursor: not-allowed;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loader {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s linear infinite;
  position: absolute;
  top: 29%;
}

.submit-btn:disabled:hover .normal-image {
  opacity: 1;
}

.submit-btn:disabled:hover .hover-image {
  opacity: 0;
}

.submit-btn:hover .normal-image {
  opacity: 0;
}

.submit-btn:hover .hover-image {
  opacity: 1;
  visibility: visible;
}

.already-register {
  text-align: center;
  margin-top: 2vh;
}

.login-btn{
  text-decoration: underline;
  cursor: pointer;
}

.footer {
  height: 5vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 100%;
  bottom: 0;
}

.policies {
  margin-inline-start: 3rem;
  position: absolute;
  left: 0;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {

  .header,
  .footer {
    height: auto;
    /* Allow for flexible height */
    padding: 1rem;
    /* Add padding */
  }

  .content-title {
    font-size: 2rem;
    /* Smaller font on smaller screens */
  }

  .content-container {
    width: 95%;
    /* Adjust for smaller screens */
  }

  .submit-btn {
    max-width: 100%;
    /* Allow full width on small screens */
  }

  .checkbox-text {
    font-size: 12px;
    /* Smaller font size */
  }
}