* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  height: 100vh;
  background: #000;
  overflow: hidden;
}

/* LEFT BACKGROUND IMAGE */
.bg-left {
  position: absolute;
  left: 0;
  top: 0;
  width: 55%;
  height: 100%;
  background: url("../images/arralore-bg.png") center/cover no-repeat;
  opacity: 0.85;
}

.bg-logo {
  position: absolute;
  top: 40%;
  left: 20%;
  width: 220px;
}

/* PAGE LAYOUT */
.page {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end; /* move login to right */
  align-items: center;
  padding-right: 8%;
}

/* LOGIN BOX WRAPPER */
.login-wrapper {
  width: 360px;
  max-width: 95%;
}

/* TOP IMAGE */
.login-top {
  height: 90px;
  background: url("../images/dots.png") top center/contain no-repeat;
  filter: brightness(0.3);
  margin-bottom: 10px;
}

/* LOGIN CARD */
.login-card {
  background: linear-gradient(180deg, #1b1328 0%, #0f0a18 100%);
  border-radius: 14px;
  padding: 25px 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  color: #fff;
}

/* LOGO */
.logo {
  text-align: center;
  margin-bottom: 10px;
}

.logo img {
  width: 90px;
}

/* TEXT */
.login-card h2 {
  text-align: center;
  font-size: 22px;
  margin: 12px 0 6px;
}

.login-card p {
  text-align: center;
  font-size: 13px;
  color: #aaa;
  margin-bottom: 20px;
}

/* INPUTS */
.input-group {
  margin-bottom: 18px;
}

.input-group label {
  font-size: 13px;
  color: #ddd;
  display: block;
  margin-bottom: 6px;
}

.input-group input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #555;
  padding: 8px 0;
  color: #fff;
  outline: none;
  font-size: 14px;
}

/* PASSWORD ICON */
.password-box {
  position: relative;
}

.password-box span {
  position: absolute;
  right: 0;
  top: 6px;
  cursor: pointer;
  color: #888;
}

/* BUTTON */
.btn-login {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border-radius: 25px;
  border: none;
  background: linear-gradient(90deg, #a020f0, #ff00ff);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.btn-login:hover {
  opacity: 0.85;
}

/* FOOTER TEXT */
.login-bottom {
  text-align: center;
  margin-top: 15px;
  font-size: 12px;
  color: #888;
}

/* ERROR */
.error {
  color: red;
  text-align: center;
  margin-bottom: 10px;
}

/* ================= RESPONSIVE ================= */

/* Tablets */
@media (max-width: 900px) {
  .bg-left {
    display: none;
  }

  .page {
    justify-content: center;
    padding-right: 0;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .login-card {
    padding: 20px;
  }

  .logo img {
    width: 70px;
  }

  .login-card h2 {
    font-size: 20px;
  }

  .login-top {
    height: 70px;
  }
}
