/* ===== IPTV Forgot Password - Modern Glass UI ===== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

:root {
  --primary: #0a84ff;
  --primary-hover: #006fd6;
  --background: radial-gradient(circle at top, #141e30, #0b0c10);
  --card-bg: rgba(255, 255, 255, 0.08);
  --input-bg: rgba(255, 255, 255, 0.12);
  --text-color: #fff;
  --border-radius: 12px;
  --glow: 0 0 15px rgba(10, 132, 255, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--background);
  color: var(--text-color);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  animation: fadeInBg 1s ease forwards;
}

@keyframes fadeInBg {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ----- Forgot Box ----- */
.forgot-box {
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  width: 380px;
  padding: 40px 35px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  text-align: center;
  animation: fadeIn 0.8s ease;
}

/* ----- Title ----- */
.forgot-box h2 {
  font-weight: 600;
  color: var(--primary);
  text-shadow: 0 0 10px rgba(10, 132, 255, 0.5);
  margin-bottom: 25px;
}

/* ----- Message Box ----- */
.message {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 12px;
  border-radius: var(--border-radius);
  margin-bottom: 18px;
  font-size: 0.9rem;
  text-align: left;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.05);
}

/* ----- Form ----- */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

input {
  background: var(--input-bg);
  border: 1px solid transparent;
  padding: 12px;
  color: #fff;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  width: 100%;
}

input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: var(--glow);
}

/* ----- Button ----- */
button {
  background: var(--primary);
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--glow);
}

button:hover {
  background: var(--primary-hover);
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(10, 132, 255, 0.6);
}

/* ----- Footer ----- */
p {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #bbb;
}

a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}

a:hover {
  color: var(--primary-hover);
  text-shadow: 0 0 10px rgba(10, 132, 255, 0.8);
}

/* ----- Animations ----- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ----- Responsive Design ----- */
@media (max-width: 768px) {
  .forgot-box {
    width: 90%;
    padding: 32px 24px;
  }

  input, button {
    font-size: 1rem;
    padding: 14px;
  }
}

@media (max-width: 480px) {
  .forgot-box {
    padding: 28px 20px;
    border-radius: 18px;
  }

  h2 {
    font-size: 1.6rem;
  }

  input, button {
    padding: 14px;
    font-size: 1rem;
  }
}
