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

html, body {
  height: 100%;
  background: #242424 url('../img/homepage_cover.svg') center center / cover no-repeat;
  background-attachment: fixed;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Login box */
.login-box {
  background-color: rgba(41, 41, 41, 10%);
  width: 350px;
  padding: 35px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 15%);
  text-align: center;
}

/* Logo */
.logo-icon-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.logo-icon-login {
  font-size: 50px;
  color: #e50914;
  text-shadow: 0 0 15px rgba(229, 9, 20, 0.4);
}
.logo {
  width: 60px;
  margin-bottom: 15px;
}

/* Title */
h2 {
  color: #e50914;
  font-size: 16px;
  margin-bottom: 25px;
  font-weight: 500;
}

/* Input group */
.input-group {
  position: relative;
  margin-bottom: 15px;
}

.input-group i {
  position: absolute;
  top: 12px;
  left: 12px;
  color: #777;
}

.input-group input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  background: #1d1d1d;
  border: 1px solid #444;
  border-radius: 5px;
  color: #eee;
  font-size: 14px;
}

.input-group input::placeholder {
  color: #777;
}

/* Button */
.login-btn {
  width: 100%;
  background-color: #e50914;
  color: white;
  border: none;
  padding: 12px 0;
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
  font-weight: 500;
}

.login-btn:hover {
  background-color: #c50710;
}

/* Divider */
.divider {
  margin: 20px 0 15px;
  position: relative;
  text-align: center;
  color: #aaa;
  font-size: 14px;
}

.divider::before,
.divider::after {
  content: '';
  height: 1px;
  background: #333;
  position: absolute;
  top: 50%;
  width: 40%;
}

.divider::before {
  left: 0;
}
.divider::after {
  right: 0;
}

/* Action links */
.actions {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.actions a {
  color: #ccc;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s;
}

.actions a:hover {
  color: white;
}

.create {
  margin-top: 10px;
}
.created {
  text-decoration: none;
  color: #777;
}

/* ── RESPONSIVE ── */
@media (max-width: 450px) {
  html, body {
    align-items: flex-start;
    padding: 30px 16px;
  }

  .login-box {
    width: 100%;
    max-width: 380px;
    padding: 28px 20px;
  }

  .actions {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

@media (max-width: 320px) {
  .login-box {
    padding: 22px 14px;
  }

  h2 {
    font-size: 14px;
  }
}