/* ===== IPTV User Login - Modern UI (matches registration style) ===== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

:root {
  --primary: #0a84ff;
  --primary-hover: #006fd6;
  --background: #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: radial-gradient(circle at top, #141e30, #0b0c10);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
}
h1{
        text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(10, 132, 255, 0.5);
}
/* ----- Login Card ----- */
.login-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);
  animation: fadeIn 0.7s ease;
}

.login-box h2 {
  text-align: center;
  margin-bottom: 25px;
  font-weight: 600;
  color: var(--primary);
  text-shadow: 0 0 10px rgba(10, 132, 255, 0.5);
}

/* ----- Form ----- */
form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 8px;
}

input {
  background: var(--input-bg);
  border: 1px solid transparent;
  padding: 12px;
  color: #fff;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

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;
  margin-top: 15px;
  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);
}

/* ----- Message Box ----- */
.msg {
  background: rgba(255, 255, 255, 0.1);
  color: #eee;
  padding: 12px;
  border-radius: var(--border-radius);
  margin-top: 15px;
  font-size: 0.9rem;
  text-align: center;
}

/* ----- Footer Text ----- */
p {
  text-align: center;
  margin-top: 20px;
  color: #bbb;
  font-size: 0.9rem;
}

a {
  color: var(--primary);
  font-weight: 500;
  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) {
  body {
    padding: 20px;
  }

  .login-box {
    padding: 50px 28px;
  }

  .login-box h2 {
    font-size: 2rem;
  }

  input {
    padding: 18px;
    font-size: 1.2rem;
  }

  button {
    padding: 18px;
    font-size: 1.2rem;
  }

  p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .login-box {
    padding: 50px 24px;
    border-radius: 20px;
  }

  .login-box h2 {
    font-size: 2.1rem;
    margin-bottom: 35px;
  }

  input {
    font-size: 1.3rem;
    padding: 20px;
  }

  button {
    font-size: 1.3rem;
    padding: 20px;
  }

  p {
    font-size: 1.1rem;
  }
}
/* ===== Responsive Fix for Mobile ===== */
@media (max-width: 600px) {
  body {
    padding: 0 16px;
    justify-content: flex-start;
    align-items: center;
  }

  .login-box {
    width: 100%;
    max-width: 340px;
    padding: 28px 24px;
    margin-top: 60px;
    border-radius: 14px;
    margin:auto;
  }

  .login-box h1 {
    font-size: 1.4rem;
  }

  input, button {
    font-size: 1rem;
    padding: 12px;
  }
}

