.container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.header-image img {
  margin: auto;
}

form {
  display: flex;
  flex-direction: column;
}

.header-image {
  height: fit-content;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.form-container {
  background-color: #161A1C;
  border-radius: 8px;
  padding: 2rem;
  width: 350px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  max-width: 90%;
  position: relative;
  overflow: hidden;
}

/* Header and error message styling */
.form-container h1 {
  color: #eeeeee;
  margin-bottom: 1.5rem;
}

.error-message {
  color: #ff4e4e;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Input fields styling */
input[type="email"], input[type="password"] {
  padding: 10px 25px;
  margin: 0.5rem 0;
  border-radius: 4px;
  border: none;
  background-color: #30363C;
  color: #eeeeee;
  font-size: 14px;
  outline: none;
  transition: background 0.3s ease;
  font-family: 'Poppins';
}

input[type="email"]::placeholder,
input[type="password"]::placeholder {
  color: #b0b0b0;
}

input[type="email"]:focus,
input[type="password"]:focus {
  background-color: #434a54;
}

span.success-message {
  color: green;
}

/* Remember me checkbox styling */
.form-container label {
  color: #b0b0b0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

input[type="checkbox"] {
  margin-right: 0.5rem;
  accent-color: #45E8C1;
}

/* Link styling */
.form-container a {
  color: #45E8C1;
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: 20px;
}

.form-container a:hover {
  text-decoration: underline;
}

/* Button styling */
button[type="submit"] {
  background-color: #000;
  color: #ffffff;
  padding: 0.8rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  width: 100%;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
  font-family: 'Poppins';
}

button[type="submit"]:hover {
  background-color: #45E8C1;
}


#tick {
  stroke: #63bc01;
  stroke-width: 6;
  transition: all 1s;
}

#circle {
  stroke: #63bc01;
  stroke-width: 6;
  transform-origin: 50px 50px 0;
  transition: all 1s;
}

.progress #tick {
  opacity: 0;
}

.ready #tick {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw 8s ease-out forwards;
}

.progress #circle {
  stroke: #4c4c4c;
  stroke-dasharray: 314;
  stroke-dashoffset: 1000;
  animation: spin 3s linear infinite;
}

.ready #circle {
  stroke-dashoffset: 66;
  stroke: #63bc01;
}

#circle {
  stroke-dasharray: 500;
}

@keyframes spin {
  0% { 
    transform: rotate(0deg);
    stroke-dashoffset: 66;
  } 
  50% {
    transform: rotate(540deg);
    stroke-dashoffset: 314;
  } 
  100% {
    transform: rotate(1080deg);
    stroke-dashoffset: 66;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

#check {
  width: 50px;
  height: 50px;
  margin: auto;
}

.loading-screen {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-content: center;
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.loading-screen.visible {
    opacity: 1;
    pointer-events: all;
}

header.main-header {
  display: none!important;
}