/* ===== IPTV User Registration - Modern UI ===== */

@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;
}

/* ----- Registration Card ----- */
.register-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;
}

.register-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: 12px;
}

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: 450px) {
  .register-box {
    width: 90%;
    padding: 25px 20px;
  }
}
