@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  min-height: 100vh;
  background: #0a0e1a;
  overflow: hidden;
}

.bg-animated {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(125deg, #0a0e1a, #0d1b2a, #1b2838, #0a1628);
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  25% { background-position: 100% 25%; }
  50% { background-position: 50% 100%; }
  75% { background-position: 25% 0%; }
  100% { background-position: 0% 50%; }
}

.bg-animated .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.bg-animated .blob:nth-child(1) {
  width: 500px;
  height: 500px;
  background: rgba(30, 80, 160, 0.35);
  top: -10%;
  left: -5%;
  animation: float1 16s ease-in-out infinite;
}

.bg-animated .blob:nth-child(2) {
  width: 400px;
  height: 400px;
  background: rgba(20, 120, 180, 0.25);
  bottom: -10%;
  right: -5%;
  animation: float2 18s ease-in-out infinite;
}

.bg-animated .blob:nth-child(3) {
  width: 350px;
  height: 350px;
  background: rgba(0, 180, 200, 0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float3 14s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(12vw, 8vh) scale(1.1); }
  50% { transform: translate(5vw, 18vh) scale(0.95); }
  75% { transform: translate(-5vw, 10vh) scale(1.05); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-10vw, -12vh) scale(1.1); }
  50% { transform: translate(-6vw, -5vh) scale(0.9); }
  75% { transform: translate(5vw, -15vh) scale(1.05); }
}

@keyframes float3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  33% { transform: translate(-40%, -60%) scale(1.15); }
  66% { transform: translate(-60%, -40%) scale(0.9); }
}

section {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 1;
}

.login-card {
  position: relative;
  width: 440px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.login-card .formBx {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, rgba(13, 27, 42, 0.95) 0%, rgba(10, 22, 40, 0.98) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 40px;
  border-radius: 24px;
}

.login-card .formBx::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(30, 100, 180, 0.06) 0%, transparent 60%);
  pointer-events: none;
  border-radius: 24px;
}

.login-card .formBx form {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.login-card .formBx form img {
  width: 240px;
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}

.login-card .formBx form img:hover {
  transform: scale(1.03);
}

.login-card .formBx form h2 {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  width: 100%;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
}

#htmltext {
  color: #ff6b6b !important;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  text-align: center;
}

.login-card .formBx form input[type="text"],
.login-card .formBx form input[type="password"] {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  color: #e8e8e8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  outline: none;
  margin: 6px 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.login-card .formBx form input[type="text"]::placeholder,
.login-card .formBx form input[type="password"]::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
}

.login-card .formBx form input[type="text"]:focus,
.login-card .formBx form input[type="password"]:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(56, 152, 236, 0.5);
  box-shadow: 0 0 20px rgba(56, 152, 236, 0.1);
}

.login-btn {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  background: linear-gradient(135deg, #1e6eb5 0%, #2196c9 100%);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(30, 110, 181, 0.3);
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(30, 110, 181, 0.45);
  background: linear-gradient(135deg, #2196c9 0%, #1e6eb5 100%);
}

.login-btn:active {
  transform: translateY(0);
}

@media (max-width: 480px) {
  section {
    padding: 12px;
  }

  .login-card {
    width: 100%;
    border-radius: 18px;
  }

  .login-card .formBx {
    padding: 36px 24px;
    border-radius: 18px;
  }

  .login-card .formBx::before {
    border-radius: 18px;
  }

  .login-card .formBx form img {
    width: 180px;
    margin-bottom: 18px;
  }

  .login-card .formBx form h2 {
    font-size: 17px;
    letter-spacing: 2px;
    margin-bottom: 20px;
  }

  .login-card .formBx form input[type="text"],
  .login-card .formBx form input[type="password"] {
    padding: 12px 16px;
    font-size: 13px;
  }
}
