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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  height: 100vh;
  overflow: hidden;
  background: #1F472D;
  position: relative;
}

/* Stars Animation */
.fs_stars-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.fs_stars,
.fs_stars2,
.fs_stars3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.fs_stars {
  background-image:
    radial-gradient(2px 2px at 20px 30px, #eee, transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 90px 40px, #fff, transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(2px 2px at 160px 30px, #fff, transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: zoom 20s infinite;
  opacity: 0;
}

.fs_stars2 {
  background-image:
    radial-gradient(1px 1px at 40px 60px, #fff, transparent),
    radial-gradient(1px 1px at 120px 50px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(2px 2px at 170px 90px, #eee, transparent);
  background-repeat: repeat;
  background-size: 250px 120px;
  animation: zoom 10s infinite;
  opacity: 0;
}

.fs_stars3 {
  background-image:
    radial-gradient(1px 1px at 60px 90px, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(2px 2px at 100px 20px, #fff, transparent),
    radial-gradient(1px 1px at 150px 60px, rgba(255, 255, 255, 0.8), transparent);
  background-repeat: repeat;
  background-size: 300px 150px;
  animation: zoom 15s infinite;
  opacity: 0;
}

@keyframes zoom {

  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Mountains and Trees */
.fs_mountains-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  z-index: 1;
}

.fs_mountain-layer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.fs_mountain-back {
  background: linear-gradient(to top, #4a5568 0%, #2d3748 50%, transparent 100%);
  clip-path: polygon(0% 100%, 15% 60%, 25% 70%, 35% 50%, 50% 65%, 65% 45%, 80% 60%, 100% 40%, 100% 100%);
  opacity: 0.6;
}

.fs_mountain-mid {
  background: linear-gradient(to top, #553c9a 0%, #4c51bf 60%, transparent 100%);
  clip-path: polygon(0% 100%, 20% 70%, 30% 80%, 45% 55%, 60% 75%, 75% 50%, 90% 65%, 100% 45%, 100% 100%);
  opacity: 0.8;
}

.fs_mountain-front {
  background: linear-gradient(to top, #2d3748 0%, #4a5568 70%, transparent 100%);
  clip-path: polygon(0% 100%, 10% 80%, 25% 85%, 40% 65%, 55% 85%, 70% 60%, 85% 75%, 100% 55%, 100% 100%);
}

.fs_trees-layer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 40%;
  background-image:
    radial-gradient(ellipse at 10% 100%, #1a202c 0%, #1a202c 20%, transparent 20%),
    radial-gradient(ellipse at 15% 100%, #2d3748 0%, #2d3748 25%, transparent 25%),
    radial-gradient(ellipse at 25% 100%, #1a202c 0%, #1a202c 18%, transparent 18%),
    radial-gradient(ellipse at 35% 100%, #2d3748 0%, #2d3748 22%, transparent 22%),
    radial-gradient(ellipse at 45% 100%, #1a202c 0%, #1a202c 20%, transparent 20%),
    radial-gradient(ellipse at 55% 100%, #2d3748 0%, #2d3748 24%, transparent 24%),
    radial-gradient(ellipse at 65% 100%, #1a202c 0%, #1a202c 19%, transparent 19%),
    radial-gradient(ellipse at 75% 100%, #2d3748 0%, #2d3748 21%, transparent 21%),
    radial-gradient(ellipse at 85% 100%, #1a202c 0%, #1a202c 23%, transparent 23%),
    radial-gradient(ellipse at 95% 100%, #2d3748 0%, #2d3748 20%, transparent 20%);
  background-size: 8% 100%, 6% 100%, 7% 100%, 9% 100%, 8% 100%, 7% 100%, 6% 100%, 8% 100%, 7% 100%, 9% 100%;
  background-repeat: no-repeat;
}

/* Login Container */
.fs_login-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 768px;
  width: 100%;
  padding: 20px;
}

.fs_login-card {
  background: #47211F;
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  max-width: 400px;
  margin: 0 auto;
}

.fs_login-title {
  color: white;
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.fs_login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fs_input-group {
  position: relative;
}

.fs_input-group input {
  width: 100%;
  padding: 15px 50px 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: white;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

.fs_input-group input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.fs_input-group input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.fs_input-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.6);
  pointer-events: all;
}

.fs_form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
}

.fs_remember-me {
  display: flex;
  align-items: center;
  color: white;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}

.fs_remember-me input[type="checkbox"] {
  display: none;
}

.fs_checkmark {
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  margin-right: 8px;
  position: relative;
  transition: all 0.3s ease;
}

.fs_remember-me input[type="checkbox"]:checked+.fs_checkmark {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
}

.fs_remember-me input[type="checkbox"]:checked+.fs_checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.fs_forgot-password {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.fs_forgot-password:hover {
  color: white;
}

.fs_login-button {
  width: 100%;
  padding: 15px;
  background: #E4B43C;
  color: #11003e;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.fs_login-button:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.fs_login-button:active {
  transform: translateY(0);
}

.fs_register-link {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-top: 20px;
}

.fs_register-text {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.fs_register-text:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
  .fs_login-container {
    padding: 15px;
  }

  .fs_login-card {
    padding: 30px 25px;
  }

  .fs_login-title {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .fs_form-options {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .fs_login-card {
    padding: 25px 20px;
  }

  .fs_login-title {
    font-size: 1.8rem;
  }

  .fs_input-group input {
    padding: 12px 45px 12px 18px;
    font-size: 15px;
  }

  .fs_input-icon {
    width: 18px;
    height: 18px;
    right: 18px;
  }
}



.fs_toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-left: 5px solid #d32f2f;
  color: #333;
  border-radius: 10px;
  padding: 15px 20px;
  min-width: 280px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

.fs_toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.fs_toast-error {
  border-left-color: #d32f2f;
}

.fs_toast-icon {
  font-size: 22px;
  color: #d32f2f;
}

.fs_toast-content {
  flex: 1;
}

.fs_toast-content strong {
  display: block;
  color: #d32f2f;
  font-weight: 700;
  font-size: 15px;
}

.fs_toast-content p {
  margin: 2px 0 0;
  font-size: 14px;
  color: #444;
}

.fs_toast-close {
  background: none;
  border: none;
  color: #666;
  font-size: 18px;
  cursor: pointer;
}


.fs_toast-progress {
  position: absolute;
  bottom: 0;
  right: 0;
  /* anchor the right edge */
  height: 4px;
  width: 100%;
  /* start full */
  background: #d32f2f;
  transform-origin: left;
  /* shrink from right → left */
  transform: scaleX(1);
  /* start full width */
  transition: transform linear;
  opacity: 0.9;
  border-radius: 0 0 10px 10px;
}