/* ================= GLOBAL RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f1430 0%, #1a1f3a 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* ================= CONTAINER ================= */
.container {
  width: 100%;
  max-width: 420px;
}

/* ================= REGISTER CARD ================= */
.register-card {
  background: linear-gradient(135deg, #1f2b5a, #131a3a);
  padding: 40px 30px;
  border-radius: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* ================= HEADER ================= */
.header {
  text-align: center;
  margin-bottom: 35px;
}

.header h1 {
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 8px;
  font-weight: 700;
}

.header p {
  font-size: 14px;
  color: #94a3b8;
  font-weight: 400;
}

/* ================= INPUT GROUPS ================= */
.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  color: #e2e8f0;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 500;
}

.input-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #2d3748;
  border-radius: 12px;
  background: #1a202c;
  color: #ffffff;
  font-size: 15px;
  transition: all 0.3s ease;
}

.input-group input:focus {
  outline: none;
  border-color: #3498db;
  background: #252d3d;
}

.input-group input::placeholder {
  color: #64748b;
}

/* ================= ERROR MESSAGE ================= */
.error-msg {
  color: #ef4444;
  font-size: 13px;
  text-align: center;
  margin-bottom: 15px;
  min-height: 18px;
  font-weight: 500;
}

/* ================= REGISTER BUTTON ================= */
.register-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.register-btn:active {
  transform: translateY(0);
}

/* ================= LOGIN LINK ================= */
.login-link {
  text-align: center;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #2d3748;
}

.login-link p {
  color: #94a3b8;
  font-size: 14px;
}

.login-link a {
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.login-link a:hover {
  color: #5dade2;
  text-decoration: underline;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 480px) {
  .register-card {
    padding: 35px 25px;
  }

  .header h1 {
    font-size: 24px;
  }
}