
* {
  box-sizing: border-box;
}

    body {
		 margin: 0;
		 min-height: 100vh;
         font-family: 'Segoe UI', sans-serif;		   
		background: linear-gradient( 0deg, #000 0%,#0D1421 90% );
		display: flex;
flex-direction: column;
  
   position: relative;
  overflow-x: hidden; 
  
      color: #ffffff;
	 
 
	
	   
    }
	

.auth-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 70px;
}


.login-box {
  width: 100%;
  max-width: 380px;
  text-align: center;
  border: 1px solid #80808030;
  padding: 20px 30px;
  border-radius: 10px;
  height: 300px;
}


.login-box h1 {
  margin: 0 0 28px;
  font-size: 32px;
  font-weight: 700;
  color: #f8fafc;
}

.input-group {
  margin-bottom: 16px;
}

.input-group input {
  width: 100%;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: #1e2130;
  color: #fff;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
  transition: 0.2s ease;
}

.input-group input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.input-group input:focus {
  border-color: rgba(120, 150, 255, 0.65);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 3px rgba(80, 110, 255, 0.12);
}

.forgot-link {
  display: block;
  margin: 6px 0 20px;
  text-align: right;
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  text-decoration: none;
}

.forgot-link:hover {
  color: #ffffff;
}

.login-box button {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #2d3664;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.login-box button:hover {
  background: #4d5a9ad1;
  transform: translateY(-1px);
}

.login-box button:active {
  transform: translateY(0);
}

.signup-text {
  margin-top: 260px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
}

.signup-text a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.signup-text a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .auth-page {
    padding: 45px 22px 0;
  }

  .signup-text {
    margin-top: 180px;
  }
}

.auth-footer {
  width: 100%;
  padding: 22px 24px;
  
  background: rgba(0, 0, 0, 0.22);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
}



@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

}

#logodiv {
  position: relative;
  width: 280px;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.logo {
  position: relative;
  width: 280px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  overflow: visible;
}

.logo img {
  position: relative;
  z-index: 3;
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  pointer-events: none;
  filter:
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.12))
    drop-shadow(0 0 20px rgba(37, 99, 235, 0.22));
}

/* nagyobb háttérfüst */
#logodiv::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 360px;
  height: 190px;
  left: 50%;
  top: 50%;
  background:
    radial-gradient(circle at 20% 45%, rgba(37, 99, 235, 0.28), transparent 38%),
    radial-gradient(circle at 55% 30%, rgba(96, 165, 250, 0.24), transparent 42%),
    radial-gradient(circle at 80% 60%, rgba(59, 130, 246, 0.22), transparent 45%),
    radial-gradient(circle at 45% 75%, rgba(147, 197, 253, 0.16), transparent 40%);
  filter: blur(24px);
  opacity: 0.5;
  pointer-events: none;
  animation: softBlueSmokeBack 14s infinite ease-in-out;
}

/* finom elülső füst */
#logodiv::after {
  content: "";
  position: absolute;
  z-index: 5;
  width: 320px;
  height: 150px;
  left: 50%;
  top: 50%;
  background:
    radial-gradient(circle at 25% 55%, rgba(147, 197, 253, 0.22), transparent 38%),
    radial-gradient(circle at 60% 45%, rgba(37, 99, 235, 0.2), transparent 44%),
    radial-gradient(circle at 85% 50%, rgba(96, 165, 250, 0.16), transparent 42%);
  filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  animation: softBlueSmokeFront 11s infinite ease-in-out;
}

/* balról úszó füstpamacs */
.logo::before {
  content: "";
  position: absolute;
  z-index: 4;
  width: 170px;
  height: 90px;
  left: -40px;
  top: 28px;
  background:
    radial-gradient(circle at 30% 50%, rgba(96, 165, 250, 0.28), transparent 45%),
    radial-gradient(circle at 65% 40%, rgba(37, 99, 235, 0.2), transparent 48%);
  filter: blur(17px);
  opacity: 0;
  pointer-events: none;
  animation: softBlueSmokeWanderOne 13s infinite ease-in-out;
}

/* jobb oldali második pamacs */
.logo::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 155px;
  height: 80px;
  right: -38px;
  top: 10px;
  background:
    radial-gradient(circle at 35% 50%, rgba(59, 130, 246, 0.24), transparent 45%),
    radial-gradient(circle at 70% 55%, rgba(147, 197, 253, 0.16), transparent 48%);
  filter: blur(18px);
  opacity: 0.24;
  pointer-events: none;
  animation: softBlueSmokeWanderTwo 15s infinite ease-in-out;
}

@keyframes softBlueSmokeBack {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(0.96);
    opacity: 0.3;
  }

  25% {
    transform: translate(-48%, -53%) rotate(5deg) scale(1.05);
    opacity: 0.48;
  }

  50% {
    transform: translate(-52%, -48%) rotate(-4deg) scale(1.12);
    opacity: 0.42;
  }

  75% {
    transform: translate(-49%, -54%) rotate(6deg) scale(1.05);
    opacity: 0.5;
  }

  100% {
    transform: translate(-50%, -50%) rotate(0deg) scale(0.96);
    opacity: 0.3;
  }
}

@keyframes softBlueSmokeFront {
  0% {
    transform: translate(-56%, -47%) rotate(-5deg) scale(0.92);
    opacity: 0;
  }

  20% {
    opacity: 0.24;
  }

  40% {
    transform: translate(-46%, -55%) rotate(6deg) scale(1.06);
    opacity: 0.4;
  }

  65% {
    transform: translate(-52%, -43%) rotate(-7deg) scale(1.15);
    opacity: 0.3;
  }

  85% {
    opacity: 0.12;
  }

  100% {
    transform: translate(-56%, -47%) rotate(-5deg) scale(0.92);
    opacity: 0;
  }
}

@keyframes softBlueSmokeWanderOne {
  0% {
    transform: translate(0, 8px) scale(0.88);
    opacity: 0;
  }

  20% {
    opacity: 0.28;
  }

  45% {
    transform: translate(75px, -18px) scale(1.08);
    opacity: 0.42;
  }

  70% {
    transform: translate(185px, 10px) scale(1.2);
    opacity: 0.2;
  }

  100% {
    transform: translate(245px, -6px) scale(1.32);
    opacity: 0;
  }
}

@keyframes softBlueSmokeWanderTwo {
  0% {
    transform: translate(0, 0) scale(0.92);
    opacity: 0.18;
  }

  30% {
    transform: translate(-45px, 22px) scale(1.06);
    opacity: 0.3;
  }

  55% {
    transform: translate(-115px, -14px) scale(1.18);
    opacity: 0.24;
  }

  78% {
    transform: translate(-65px, 18px) scale(1.03);
    opacity: 0.28;
  }

  100% {
    transform: translate(0, 0) scale(0.92);
    opacity: 0.18;
  }
}

.login-error-toast {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 9999;

    padding: 14px 18px;

    color: #fff;
    background: #ff3b3b;
   
    border-radius: 5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);

    opacity: 0;
    transform: translateX(130%);
    pointer-events: none;

    transition: opacity 0.35s ease, transform 0.35s ease;
    font-weight: 600;
}

.login-error-toast.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}


.register-box {
    height: auto;
    min-height: 365px;
}

.invite-expires {
    margin: -12px 0 22px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    line-height: 1.5;
}

.invite-expires strong {
    color: #ffffff;
    font-weight: 700;
    padding-left: 5px;
}

.login-success-toast {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 9999;

    padding: 14px 18px;
    border-radius: 5px;

    color: #ffffff;
    background: #239347;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);

    opacity: 0;
    transform: translateX(130%);
    pointer-events: none;

    transition: opacity 0.35s ease, transform 0.35s ease;
    font-weight: 600;
}

.login-success-toast.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}


.login-success-toast {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 9999;

    padding: 14px 18px;
    border-radius: 5px;

    color: #ffffff;
    background: #239347;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);

    opacity: 0;
    transform: translateX(130%);
    pointer-events: none;

    transition: opacity 0.35s ease, transform 0.35s ease;
    font-weight: 600;
}

.login-success-toast.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}