

/* تبلت (بین 768 تا 1024) */
@media (max-width: 1024px) {
body{
  cursor: default;
}
  .login-container {
    width: 400px;
    padding: 40px;
    border-radius: 28px;
  }

  .login-container h2 {
    font-size: 32px;
  }

  .form-control {
    padding: 14px 22px;
    font-size: 17px;
  }

  .btn-login {
    padding: 14px;
    font-size: 18px;
  }
}

/* موبایل بزرگ (480 تا 768) */
@media (max-width: 768px) {
  .login-container {
    width: 350px;
    padding: 35px 25px;
    border-radius: 26px;
  }

  .login-container h2 {
    font-size: 28px;
  }

  .form-control {
    padding: 13px 20px;
    font-size: 16px;
  }

  .btn-login {
    padding: 13px;
    font-size: 17px;
  }
}

/* موبایل معمولی و کوچیک (320 تا 480) */
@media (max-width: 480px) {

  .login-container {
    width: calc(100% - 40px);
    padding: 30px 20px;
    border-radius: 24px;
  }

  .login-container h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .form-control {
    padding: 12px 18px;
    font-size: 15px;
  }

  .btn-login {
    padding: 12px;
    font-size: 16px;
  }

  .password-toggle input {
    padding-right: 40px;
  }

  .password-toggle .toggle-icon {
    right: 12px;
    font-size: 18px;
  }

  .login-links {
    flex-direction: column;
    gap: 8px;
  }

  .login-link {
    font-size: 14px;
    text-align: center;
  }

  .input-hint {
    font-size: 12px;
    margin-top: -18px;
    margin-bottom: 12px;
  }
}



.login-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0;
  box-sizing: border-box;
  overflow-y: auto;
}


.login-container {
  width: 500px;

  border-radius: 30px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(15px);
  box-shadow:
    0 0 15px #0ff,
    0 0 30px #0ff,
    0 0 60px #8000ff;
  text-align: center;
  padding: 50px 30px;
  margin: 20px
}

.login-container h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #0ff;
  text-shadow: 0 0 15px #0ff;
}

.form-control {
  background: rgba(255,255,255,0.07);
  border: 1px solid #0ff;
  color: #fff;
  border-radius: 40px;
  padding: 15px 25px;
  font-size: 18px;
  margin-bottom: 25px;
  backdrop-filter: blur(8px);
}
.form-control:focus {
  background: rgba(0,255,255,0.12);
  color: #fff;
  box-shadow: 0 0 12px #0ff;
  border-color: #0ff;
}

.form-control::placeholder {
  color: #fff;
}

.btn-login {
  background: rgba(255,255,255,0.12);
  border: 1px solid #0ff;
  color: #0ff;
  backdrop-filter: blur(12px);
  padding: 15px;
  border-radius: 40px;
  width: 100%;
  font-weight: bold;
  font-size: 20px;
  transition: 0.3s;
}
.btn-login:hover {
  background: rgba(0,255,255,0.25);
  color: #fff;
  box-shadow: 0 0 15px #0ff, 0 0 30px #0ff;
}

    .login-links {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.login-link {
  color: #0ff;
  font-size: 16px;
  text-decoration: none;
  text-shadow: 0 0 8px #0ff;
  transition: 0.3s;
}

.login-link:hover {
  color: #fff;
  text-shadow: 0 0 12px #0ff, 0 0 20px #0ff;
}


.password-toggle {
  position: relative;
}
.password-toggle input {
  padding-right: 50px;
}
.password-toggle .toggle-icon {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #0ff;
  font-size: 20px;
}


.input-hint {
  color: #ffffff;
  font-size: 13px;
  text-shadow: 0 0 4px #0ff;
  display: block;
  margin-top: -24px;
  margin-bottom: 20px;
  padding-left: -10px;
  text-align: right;
}
