@import "https://fonts.googleapis.com/css?family=Ubuntu:400,700italic";
@import "https://fonts.googleapis.com/css?family=Cabin:400";

/* Wrapper Container */
.responsive-container {
  width: 100%;
  max-width: 100%;
  height: 100vh; /* Full viewport height */
  display: flex; /* Enable flexbox */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  position: relative;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  margin: 0 auto;
  
}


html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  background-image: url("/static/welcome/assets/img/i2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-size: 10px;
  overflow: hidden;
  text-align: center;
}


/* =========================================
Log in form
========================================= */


.stark-login form {
  /* animation: form-entry 3s ease-in-out; */
  background: #11111130;
  background: linear-gradient(#00474678, #11111149);
  border: 6px solid #00a4a2;
  box-shadow: 0 0 15px #00fffd;
  border-radius: 5px;
  display: inline-block;
  position: relative; /* Changed to relative positioning */
  margin: 0 auto; /* Center the form */
  top: 0; /* Set top to 0 */
  bottom: unset; /* Unset bottom */
  z-index: 4;
  width: 100%;
  max-width: 800px; /* Optional: Limit the width of the form */
  transition: 1s all;
}
.stark-login form:hover {
  border: 6px solid #00fffd;
  box-shadow: 0 0 25px #00fffd;
  transition: 1s all;
}

body.lg-login-clear .stark-login form {
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.lg-login-clear .stark-login form:hover {
  border: 0;
  box-shadow: none;
}
.stark-login input {
  transform: scale(0.85); /* Optional visual tweak */
  font-size: 16px !important;  /* ✅ Force iOS to skip zoom */
  background: #222;
  background: linear-gradient(#33333360, #22222265);
  border: 1px solid #444;
  border-radius: 10px;
  box-shadow: 0 2px 0 #000;
  color: #88888861;
  display: block;
  font-family: 'Cabin', helvetica, arial, sans-serif;
  height: 50px;
  margin: 30px auto 30px;
  padding: 0 40px;
  text-shadow: 0 -1px 0 #000;
  width: 100%;
}



.stark-login input:focus {
  animation: box-glow 1s ease-out infinite alternate;
  background: #0b4252d5;
  background: linear-gradient(#333933, #222922);
  border-color: #00fffc;
  box-shadow: 0 0 5px rgba(0, 255, 253, 0.2), inset 0 0 5px rgba(0, 255, 253, 0.1), 0 2px 0 #000;
  color: #efe;
  outline: none;
}
.stark-login input:invalid {
  border: 2px solid white;
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.2), inset 0 0 5px rgba(255, 0, 0, 0.1), 0 2px 0 #000;
}
/* Add a container for the buttons */
.stark-login .button-container {
  display: flex; /* Align items horizontally */
  justify-content: space-between; /* Ensure equal spacing between buttons */
  gap: 5px; /* Add some spacing between the buttons */
  margin: 10px auto; /* Center the container */
  width: 100%; /* Match the width of the buttons */
}

/* Update the button styles */
.stark-login button {
  display: flex; /* Use flexbox for better text alignment */
  justify-content: center; /* Center the text horizontally */
  align-items: center; /* Center the text vertically */
  flex: 1; /* Equal width for all buttons */
  animation: input-entry 3s ease-in;
  background: #22222246;
  background: linear-gradient(#333333, #222222);
  box-sizing: border-box; /* Ensure padding and borders are included in width */
  border: 1px solid #444;
  border-left-color: #000;
  border-radius: 5px;
  box-shadow: 0 2px 0 #000;
  color: #fff;
  font-family: 'Cabin', helvetica, arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  height: 45px; /* Fixed height for buttons */
  padding: 0; /* Reset padding */
  position: relative;
  text-shadow: 0 -1px 0 #000;
  transition: 1s all;
  cursor: pointer;
  overflow: hidden; /* Prevent content from overflowing */
}

.stark-login button span {
  margin: 0; /* Reset margin for spans inside the button */
}

/* Hover and focus styles */
.stark-login button:hover,
.stark-login button:focus {
  background: #0C6125;
  background: linear-gradient(#393939, #292929);
  color: #00fffc;
  outline: none;
  transition: 1s all;
}

/* Active button styles */
.stark-login button:active {
  background: #2929295f;
  background: linear-gradient(#393939, #292929);
  box-shadow: 0 1px 0 #000, inset 1px 0 1px #222;
  top: 1px;
}
.stark-login button:hover,
.stark-login button:focus {
  background: #0C6125;
  background: linear-gradient(#393939, #292929);
  color: #00fffc;
  outline: none;
  transition: 1s all;
}
.stark-login button:active {
  background: #2929295f;
  background: linear-gradient(#393939, #292929);
  box-shadow: 0 1px 0 #000, inset 1px 0 1px #222;
  top: 1px;
}

/* Manual login button forced to black */
#login-button {
  background: black !important;
  border: 1px solid black !important;
  color: white !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

#login-button:hover,
#login-button:focus {
  background: black !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55);
  outline: none;
}

#login-button:active {
  background: black !important;
  color: white !important;
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  top: 1px;
}

/* Keep Apple & Google buttons fixed to black */
.apple-signin-button,
.google-signin-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: black !important;
  color: white !important;
  border: 1px solid black !important;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  width: 250px;
  height: 45px;
  cursor: pointer;
  transition: none; /* 🚫 remove color transition */
  position: relative;
  padding-left: 50px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

/* Neutralize hover/active on Apple & Google buttons */
.apple-signin-button:hover,
.apple-signin-button:active,
.google-signin-button:hover,
.google-signin-button:active {
  background: black !important;
  color: white !important;
  box-shadow: none !important;
  top: 0 !important;
}

.apple-logo,
.google-logo {
  position: absolute;
  left: 20px;
  height: 20px;
  width: 20px;
}



/* =========================================
Animation Keyframes
========================================= */
@keyframes logo-entry {
  0% {
    opacity: 0;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes circle-entry {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 0;
  }
  100% {
    opacity: 0.4;
  }
}
@keyframes input-entry {
  0% {
    opacity: 0;
  }
  90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes form-entry {
  0% {
    height: 0;
    width: 0;
    opacity: 0;
    padding: 0;
  }
  20% {
    height: 0;
    border: 1px solid #00a4a2;
    width: 0;
    opacity: 0;
    padding: 0;
  }
  40% {
    width: 0;
    height: 220px;
    border: 6px solid #00a4a2;
    opacity: 1;
    padding: 0;
  }
  100% {
    height: 220px;
    width: 100%;
  }
}
@keyframes box-glow {
  0% {
    border-color: #00b8b6;
    box-shadow: 0 0 5px rgba(0, 255, 253, 0.2), inset 0 0 5px rgba(0, 255, 253, 0.1), 0 2px 0 #000;
  }
  100% {
    border-color: #00fffc;
    box-shadow: 0 0 20px rgba(0, 255, 253, 0.6), inset 0 0 10px rgba(0, 255, 253, 0.4), 0 2px 0 #000;
  }
}
@keyframes text-glow {
  0% {
    color: #00a4a2;
    text-shadow: 0 0 10px #000, 0 0 20px #000, 0 0 30px #000, 0 0 40px #000, 0 0 50px #000, 0 0 60px #000, 0 0 70px #000;
  }
  100% {
    color: #00fffc;
    text-shadow: 0 0 20px rgba(0, 255, 253, 0.6), 0 0 10px rgba(0, 255, 253, 0.4), 0 2px 0 #000;
  }
}
@keyframes before-glow {
  0% {
    border-bottom: 10px solid #00a4a2;
  }
  100% {
    border-bottom: 10px solid #00fffc;
  }
}
@keyframes after-glow {
  0% {
    border-top: 16px solid #00a4a2;
  }
  100% {
    border-top: 16px solid #00fffc;
  }
}



.focus-pulse {
  animation: pulse 1.2s ease-out;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.6); }
  100% { box-shadow: 0 0 0 10px rgba(0, 123, 255, 0); }
}

body.webview .stark-login {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ✅ Apply ONLY in mobile WebView */
body.webview .stark-login input {
  width: 80vw !important;
  max-width: 80vw !important;
  transform: none !important;
  height: 50px !important;
  line-height: 50px;
  font-size: 16px;
  padding: 0 20px;
  margin: 15px auto;
}

body.webview .stark-login .button-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  width: 80vw;
  max-width: 80vw;
  margin: 20px auto;
}

body.webview .stark-login button,
body.webview .apple-signin-button,
body.webview .google-signin-button {
  transform: none;
  height: 50px !important;
  line-height: 50px;
  padding: 0 20px;
  flex: 1;
  width: auto;
}

body.webview .apple-logo,
body.webview .google-logo {
  height: 20px;
  width: 20px;
  left: 15px;
}
