/* === RESET & FONTS === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* === BACKGROUND === */
body {
  background: url("/assets/bg-login.jpg") center / cover no-repeat fixed;
  background-color: #000;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === OVERLAY (mobile-friendly gradient) === */
.page {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(to right, rgba(0,0,0,0.95) 60%, rgba(0,0,0,0.2));
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* === CARD === */
.form-box {
  background: rgba(0,0,0,0.85);
  padding: 50px 40px;
  border-radius: 22px;
  width: 420px;
  max-width: 100%;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
  animation: fadeIn 0.8s ease;
  transition: all 0.3s ease-in-out;
}

/* === HEADER === */
.logo {
  display: block;
  width: 140px;
  margin: 0 auto 20px auto;
}
h1 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 8px;
}
.subtitle {
  text-align: center;
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

/* === FORM === */
form {
  display: flex;
  flex-direction: column;
}
label {
  font-size: 0.9rem;
  color: #ff445c;
  font-weight: 500;
  margin-bottom: 4px;
}
input {
  background: rgba(255,255,255,0.1);
  border: none;
  border-bottom: 2px solid #ff445c;
  color: #fff;
  padding: 12px;
  font-size: 16px;
  margin-bottom: 25px;
  border-radius: 4px 4px 0 0;
  transition: 0.3s;
}
input:focus {
  outline: none;
  border-bottom-color: #fff;
}

/* === BUTTON === */
button {
  background: #ff1e38;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}
button:hover {
  background: #ff445c;
  transform: translateY(-1px);
}

/* === MESSAGE BOX === */
.message {
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 15px;
}
.message.success { background: rgba(0,255,100,0.15); color: #4cff9e; }
.message.error { background: rgba(255,0,60,0.25); color: #ff8c9f; }

/* === RESULT BOX === */
.result-box {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  margin-top: 25px;
  padding: 18px;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,0.1);
}
.result-box h3 {
  color: #00e5ff;
  margin-bottom: 10px;
}
.result-box p {
  margin: 6px 0;
}
.activation {
  margin-top: 10px;
}
.activation a {
  color: #ff445c;
  text-decoration: none;
  font-weight: 600;
}
.activation a:hover {
  text-decoration: underline;
}

/* === ANIMATION === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === RESPONSIVE (smartphones) === */
@media (max-width: 768px) {
  body {
    background: #000;
  }
  .page {
    background: rgba(0,0,0,0.95);
    padding: 20px;
  }
  .form-box {
    width: 100%;
    padding: 35px 25px;
  }
  h1 {
    font-size: 1.6rem;
  }
  input, button {
    font-size: 16px;
  }
}
.back-btn {
  display: inline-block;
  margin-top: 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}
.back-btn:hover {
  background: #ff445c;
  color: #fff;
  border-color: #ff445c;
}

