/* Modern Login/Register Styles */
@font-face {
  font-family: "NexaL";
  src:url("Nexa-ExtraLight.ttf");
}
@font-face {
  font-family: "NexaH";
  src:url("Nexa-Heavy.ttf");
}
body {
  font-family: 'NexaL', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #101014;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: #1e293b;
}

.big-container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: row-reverse;
  align-content: center;
  justify-content: space-between;
  overflow-y: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url('/imgs/AuthBG3.webp');

}

.wallpaper {
  background-image: url("/imgs/AuthBG.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 0%;
  height: 0%;
  opacity: 80%;
  border-radius: 20px;
  margin: auto;
  
}

.auth-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  width: 50%;
  height: 100%;
}

.auth-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  width: 80%;
  height: 100%;
}

.auth-header {
  width: 100%;
  margin-bottom: 2rem;
}

.auth-header img {
  align-self: start;
  width: 30%;
}

.auth-header h1 {
  width: 100%;
  font-size: 5vh;
  padding: 0px;
  margin: 0%;
  margin-bottom: 4%;
  text-align: left;
  font-family: 'NexaH', -apple-system, BlinkMacSystemFont, sans-serif;
}

.auth-tabs {
  display: flex;
  flex-direction: row;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.tab-content {
  width: 100%;
}

.tab-btn {
  background: none;
  border: none;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: #64748b;
  transition: all 0.2s ease;
  position: relative;
}

.tab-btn.active {
  color: #22ff68;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #22ff68;
}

.form-group {
  margin-bottom: 1.25rem;
  width: 100%;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: #e0e0e0;
}

.form-group input {
  width: calc(100% - 0.75rem);
  padding: 0.75rem;
  padding-right: 0%;
  border: 2px solid #252527;
  background-color: #252527;
  border-radius: 8px;
  font-size: 1.3rem;
  transition: border-color 0.2s;
  color: whitesmoke;
}

.form-group input:focus {
  outline: none;
  background-color: #252527;
  border-color: #22ff68;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn {
  width: 100%;
  padding: 0.75rem;
  background: #22ff68;
  color: black;
  border: 2px solid #22ff68;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 4%;
  margin-bottom: 1%;
}

.btn:hover {
  background-color: #22ff68a2;
}

.forgot-password {
  display: block;
  text-align: right;
  margin-top: 0.5rem;
  font-size: 0.96rem;
  color: #ffffffc9;
  text-decoration: none;
  transition: color 0.2s;
}

.forgot-password:hover {
  color: #22ff68;
}

.divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: #64748b;
  font-size: 0.875rem;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.divider::before {
  margin-right: 1rem;
}

.divider::after {
  margin-left: 1rem;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #101014;
  border-radius: 12px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.modal-header {
  margin-bottom: 1.5rem;
  color: #22ff68;
}

.modal-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.modal-content input {
  width: calc(100% - 0.75rem);
  padding: 0.75rem;
  padding-right: 0%;
  border: 2px solid #252527;
  background-color: #000000;
  border-radius: 8px;
  font-size: 1.3rem;
  transition: border-color 0.2s;
  color: whitesmoke;
}

.modal-content input:focus {
  outline: none;
  background-color: #252527;
  border-color: #22ff68;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}


.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 3rem;
  cursor: pointer;
  color: #64748b;
}

.gradient-text {
  background: linear-gradient(90deg, #22ff68, #22ff68);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 90px 90px #000 inset; /* Replace #000 with your desired background color */
  box-shadow: 0 0 90px 90px #000 inset;
  -webkit-text-fill-color: #fff; /* optional: your text color */
  transition: background-color 5000s ease-in-out 0s;
}

.alert {
  width: 100%;
  color: red;
  margin-bottom: 3%;
}


footer {
  color: #22ff689b;
  position: absolute;
  bottom: 15px;
  font-size: 0em;
}

.logo {
  position: absolute;
  width: 25vh;
  right: 3%;
  bottom: 4%;
}

@media (max-width: 1023px) 
{
  .big-container {
    display: block;
  }

  .auth-section {
    width: 100%;
    height: 100%;
    justify-content: flex-start;
  }

  .auth-container {
    width: 90%;
    height: 100%;
    justify-content: flex-start;
    margin-top: 10%;
  }

  .auth-header h1{
    
    text-align: center;
    font-size: 4.5vh;
  }

  .tab-content {
    margin-top: 6%;
  }

  .btn {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 3%;
  }

  .form-group label {
    font-size: 1.5rem;
  }

  .form-group input {
    font-size: 1.5rem;
    padding-top: 3%;
    padding-bottom: 3%;
  }

  .forgot-password {
    margin-top: 3%;
    font-size: 1.2rem;
  }

  .big-container {
    overflow-y: hidden;
    height: 100vh;
  }

  .logo  {
    width: 20vh;
    opacity: 80%;
  }
}
