@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background: url("../images/prelogincover copy.jpg"); /* fallback gradient if image doesn't load */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main container holds the entire split layout */
.container {
  width: 90%;
  max-width: 1100px;
  min-height: 600px;
  display: flex;
  background: #f0f0f0; /* fallback behind the left illustration */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  overflow: hidden; /* ensures round corners if needed */
  z-index: 1000;
}

/* Left side: background illustration */
.illustration {
  flex: 1.2; /* bigger portion for the illustration */
  background: url("../images/prelogincover.jpg") no-repeat center center/cover;
  position: relative;
}

/* Right side: white panel for form */
.right-panel {
  flex: 1;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

/* Content wrapper in the right panel */
.form-wrapper {
  max-width: 300px;
  margin: 0 auto;
}
.btn-tab {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-wrapper h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.form-wrapper p {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* NEXT button */
.btn-submit {
  text-align: center;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  background: #3498db;
  color: #fff;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: #2980b9;
}

/* Create account link */
.create-account {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
}

.create-account a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.2s;
}

.create-account a:hover {
  color: #1b73a7;
}

/* Responsive behavior */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    min-height: auto;
  }
  .illustration {
    flex: none;
    height: 300px;
  }
  .right-panel {
    flex: none;
    padding: 20px;
  }
}
