html, body {
width: 100%;
height: 100%;
overflow-x: hidden;
}

body{
 background-color: #1a73e8;
 margin: 0;
 font-family: 'Noto Sans KR', sans-serif;
 display: flex;
 flex-direction: column;
 overflow-x: hidden;
}


/*LOGIN SECTION     LOGIN SECTION.    LOGIN SECTION*/

.login-section{
  flex: 1 0 auto;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: rem 1rem;
  text-align: flex-start;
  margin: 0 auto;
}

.auth-container {
  padding: 8px 2rem;
  border-radius: 20px;
  width: 100%;
  max-width: 300px;
  background-color: #fff;
  box-shadow: 0 8px 24px #151516;
  text-align: center;
  border: solid 1px lightgrey;
}

@media only screen and (max-width: 767px) {
  .auth-container{
   width: 80%;
   padding: 8px 1rem;
   text-align: center;
  }
}

.input-gender {
    display: flex;
    align-items: center; 
    gap: 5px;
    margin-top: 10px;
    padding: 5px 0;
}

.hidden{
  display: none;
  color: red;
}


.auth-signup{
    display: none;
}

.auth-login{
    display: block;
}

.auth-changer{
    border: none;
    background-color: white;
    color: #4d33ff;
    font-weight: bold;
    cursor: pointer;
}

.auth-changer:hover{
    color: orangered;
}

.auth-container h2 {
  color: #1a73e8;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

@media only screen and (max-width: 767px) {
  .auth-container h2{
   width: 100%;
   text-align: none;
  }
}



.auth-container form input, .auth-container form select {
  width: 100%;
  border: none;
  padding: 0.75rem 1rem;
  background-color: white;
  border-radius: 6px;
  font-size: 1rem;
  gap: 1rem;
}

.auth-container form input{
    max-width: 250px;
}

/*----------------------------------------------*/


#signup-see-button, #login-see-button{
  background-color: #fff;
  color: #000000;
}

.input-field-wrapper{
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  align-items: center;
  justify-content: center;
  border: 1px solid lightgray;
  border-radius: 10px;
}

.input-fields-container{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/*-----------------------------------------------*/

.auth-signup-completion{
    display: block;
}

.otp-container{
    display: none;
}

#account-type-select, #country-type-select{
    width: calc(100% + 6px);
    max-width: 280px;

}

@media (max-width: 767px) {
    #account-type-select, #country-type-select{
    width: calc(100% + 6px);
    max-width: 270px;
    font-size: 1rem;
	line-height: 1.5;
    color: #000000;
    border: 1px solid lightgray;
}
}

#auth-prompt-text{
    display: flex;
    text-align: flex-start;
    padding-left: 10px;
    font-weight: bold;
    color: gray;
}



@media only screen and (max-width: 767px) {
   .auth-container form input{
    width: 85%;
   }
}

.auth-container form button {
  width: 100%;
  max-width: 300px;
  padding: 0.75rem;
  background-color: #1a73e8;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.auth-container form button:hover {
  background-color: orangered;
}

.loader {
  border: 4px solid #f3f3f3; /* Light grey */
  border-top: 4px solid #1a73e8; /* Blue */
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: none; /* Hidden by default */
  margin: 0 auto;
}

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

.switch-link {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.switch-link a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
}

.switch-link a:hover {
  text-decoration: underline;
}


.intro-stat-text{
    border: solid 1px white;
    border-radius: 25px;
    text-align: center;
    background-color: #fff;
    position: relative;
    bottom: 1rem;
    padding: 20px;
    border-top: 25px;
    display: flex;
    max-width: 60%;
    justify-content: space-around;
    margin: 0 auto;
    box-shadow: 0px -1px 0px 0px #78787a;
}

@media (max-width: 767px) {
    .intro-stat-text{
    display: flex;
    flex-direction: column;
    border: unset;
    border-top: solid 1px #78787a;
    box-shadow: unset;
}
}

.intro-stat-text p{
    transform: translateY(-1.4rem);
}

#intro-text-border{
    border-right: solid 1px #78787a;
}

@media (max-width: 767px) {
   #intro-text-border{
    display: flex;
    flex-direction: row;
    border-right: solid 1px black;
    align-items: center;
    align-content: center;
    justify-content: center;
} 
}

.main-details{
    display: flex;
    flex-direction: column;
}

.loader {
  border: 4px solid #f3f3f3; /* Light grey */
  border-top: 4px solid #1a73e8; /* Blue */
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: none; /* Hidden by default */
  margin: 0 auto;
}

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