/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background: #f5f7fb;
}

/* ===== Layout ===== */
.container {
  display: flex;
  height: 100vh;  
  margin: 0 auto;
  box-shadow: 0 24px 65px rgba(10, 20, 40, 0.12);
  overflow: hidden;
  background: white;
}

/* ===== Left Panel ===== */
.left-panel {
  flex: 1;
  color: white;
  padding: 54px 44px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  /* More premium gradient + subtle depth */
  background: radial-gradient(900px 650px at 20% 20%, rgba(255, 255, 255, 0.18), transparent 60%),
              linear-gradient(135deg, #174ea6, #007cf0);
  position: relative;
}

/* Subtle pattern overlay */
.left-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.10;
  pointer-events: none;
}

.left-panel .logo {
  font-size: 40px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.left-panel h2 {
  font-size: 25px;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
  position: relative;
  z-index: 1;
}

.left-panel p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 34px;
  opacity: 0.92;
  position: relative;
  z-index: 1;
}

.left-panel .back-link {
  color: rgba(255,255,255,0.92);
  margin-top: 8px;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  z-index: 1;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.left-panel .back-link:hover {
  opacity: 1;
  transform: translateX(-2px);
}

/* Plane Icon */
.plane-icon {
  width: 76px;
  height: 76px;
  opacity: 0.95;
  animation: fly-updown 2.5s ease-in-out infinite;
  filter: drop-shadow(0 16px 22px rgba(0,0,0,0.22));
}

@keyframes fly-updown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Right Panel ===== */
.right-panel {
  flex: 1;
  background: white;
  padding: 70px 56px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Title */
.form-title {
  font-size: 25px;
  text-align: center;
  margin-bottom: 34px;
  color: #111827;
  letter-spacing: -0.3px;
}

/* Message style (your msg <p>) */
#msg {
  text-align: center;
  font-weight: 500;
}

/* Form */
.register-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.register-form input {
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14.5px;
  color: #111827;
  background: #fff;
  outline: none;

  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.register-form input::placeholder {
  color: #9ca3af;
}

/* Clean premium focus */
.register-form input:focus {
  border-color: rgba(0, 124, 240, 0.75);
  box-shadow: 0 0 0 5px rgba(0, 124, 240, 0.12);
}

/* Slight lift interaction */
.register-form input:active {
  transform: scale(0.998);
}

/* Button */
.register-form button {
  padding: 14px;
  background: linear-gradient(90deg, #007cf0, #0a66ff);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;

  box-shadow: 0 14px 30px rgba(0, 124, 240, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.register-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 124, 240, 0.32);
  filter: brightness(1.02);
}

.register-form button:active {
  transform: translateY(0px);
  box-shadow: 0 12px 26px rgba(0, 124, 240, 0.22);
}

.register-form button:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.10);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  body {
    background: white;
  }

  .container {
    flex-direction: column;
    height: auto;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  .left-panel {
    padding: 70px 24px;
  }

  .right-panel {
    padding: 45px 22px 55px;
  }

  .form-title {
    margin-bottom: 26px;
  }
}

.success-btn {
  background: #1aa34a !important;
  cursor: default;
}