@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  background-color: #fff;
}

:root {
  --blue: #253185;
  --light-blue: #f0f4ff;
  --lightie-blue: #e3eafc;
  --hover-blue: #162068;
  --grey: #494949;
  --light: #ffffff;
  --dark-grey: #333333;
  --soft-pink: #ffe0f0;
  --soft-orange: #fff4c8;
  --soft-green: #d4fadd;
  --soft-purple: #e2e2e2;
  --soft-yellow: #fff3cd;
}

.alert {
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.alert-success {
  color: green;
  background: transparent;
}

.alert-danger {
  color: red;
  background: transparent;
}

/* Wrapper */
.uni-wrap {
  display: flex;
  align-items: stretch;
  min-height: 100vh;
  width: 100%;
  flex-wrap: wrap;
}

/* Left Section */
.uni-left {
  flex: 0 0 65%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 36px);
  background: linear-gradient(180deg, rgba(28, 50, 132, 0.95) 0%, rgba(28, 50, 132, 0.75) 50%, rgba(28, 50, 132, 0.2) 100%);
  box-shadow: 0 20px 60px rgba(28, 50, 132, 0.12);
  min-height: 100vh;
  text-align: center;
}

.uni-left .uni-hero {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* center vertically */
  text-align: center;
  gap: 20px;
  height: 100%;
}

/* Hero Text */
.uni-heroText {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* center horizontally */
  text-align: center;
  width: 100%;
  height: 100%;
}

.uni-heroText h1 {
  font-size: clamp(28px, 5vw, 60px);
  font-weight: 800;
  color: #ffcc00;
  margin: 6px 0 8px;
}

.uni-heroText p {
  color: #e8eefb;
  font-size: clamp(14px, 2vw, 18px);
}

.uni-logoBadge {
  display: inline-block;
  background: rgba(246, 248, 255, 0.08);
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
  color: #e8eefb;
  margin-bottom: 10px;
}

.uni-lead {
  opacity: 0.95;
  font-size: clamp(14px, 2vw, 18px);
  max-width: 560px;
  color: #e8eefb;
  margin: 8px auto 18px;
}

/* Search Card */
.uni-searchCard {
  border-radius: 14px;
  padding: 20px;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 14px 36px rgba(8, 18, 60, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: url("../img/BLU.JPEG") no-repeat center/cover;
  height: 280px;
  position: relative;
  gap: 16px;
  flex-wrap: wrap;
}

.uni-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(28, 50, 132, 0.7);
  color: var(--light);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 2;
}

.uni-searchBtn {
  background: linear-gradient(90deg, var(--blue), var(--hover-blue));
  color: var(--light);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(28, 50, 132, 0.22);
  z-index: 2;
}

/* Right Section */
.uni-right {
  flex: 0 0 35%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 3vw, 30px);
  min-height: 100vh;
  background: var(--light);
}

.uni-panel {
  width: 100%;
  max-width: 420px;
  border-radius: 14px;
  padding: clamp(18px, 4vw, 28px);
}

.uni-panel h2 {
  font-size: clamp(18px, 2vw, 20px);
  color: #1b2340;
  text-align: center;
  margin-bottom: 20px;
}

/* Email & Contact Inputs */
.uni-emailWrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.uni-emailWrap input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #eee;
  font-size: 15px;
  outline: none;
  transition: border 0.2s ease;
}

.uni-emailWrap input:focus {
  border-color: var(--blue);
}

/* Contact field */
.uni-contactWrap {
  position: relative;
}

.uni-contactWrap span {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-weight: 600;
}

.uni-contactWrap input {
  padding-left: 50px;
}

/* Continue Button */
.uni-continueBtn {
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, var(--blue), var(--hover-blue));
  color: var(--light);
  font-weight: 800;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s ease;
}

.uni-continueBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(28, 50, 132, 0.25);
}

/* Form Check */
.uni-formCheck {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  width: max-content;
}

.uni-formCheck input[type="checkbox"] {
  display: none;
}

.custom-checkbox {
  width: 16px;
  height: 16px;
  border: 1.5px solid #aaa;
  border-radius: 2px;
  background: #f0f0f0;
  position: relative;
}

.uni-formCheck input[type="checkbox"]:checked+.custom-checkbox {
  background: var(--blue);
  border-color: var(--blue);
}

.uni-formCheck input[type="checkbox"]:checked+.custom-checkbox::after {
  content: "✔";
  color: #fff;
  font-size: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Password Field */
.form-group {
  position: relative;
}

.form-group input {
  width: 100%;
  padding: 12px 15px 12px 12px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #333;
}

/* Back Button */
.uni-backBtn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--hover-blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.uni-backBtn:hover {
  background: var(--blue);
}

/* RESPONSIVENESS */
@media (max-width: 1024px) {
  .uni-wrap {
    flex-direction: column;
  }

  .uni-left,
  .uni-right {
    flex: 1 1 100%;
    max-width: 100%;
    min-height: auto;
  }

  .uni-left {
    padding: 40px 20px;
  }

  .uni-right {
    padding: 30px 20px;
  }

  .uni-searchCard {
    flex-direction: column;
    text-align: center;
  }

  .uni-searchBtn {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .uni-heroText h1 {
    font-size: clamp(22px, 8vw, 38px);
  }
}