/* ========================================================
   IPS Online Admission Page Stylesheet
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: hsl(243, 75%, 59%); /* Indigo */
  --primary-dark: hsl(243, 75%, 49%);
  --accent-color: hsl(268, 75%, 50%); /* Violet */
  --dark-slate: hsl(222, 47%, 11%);
  --text-muted: hsl(215.4, 16.3%, 46.9%);
  --border-color: hsl(214.3, 31.8%, 91.4%);
}

* {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
  background: linear-gradient(135deg, hsl(225, 100%, 95%) 0%, hsl(270, 100%, 96%) 100%);
  min-height: 100vh;
}

/* 1. Glassmorphic Admission Navbar */
.adm-navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.adm-navbar .navbar-brand img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.adm-navbar .navbar-brand span {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark-slate);
  margin-left: 10px;
}

/* 2. Top Hero Strip */
.admission-hero {
  padding: 70px 0 50px;
  color: white;
  text-align: center;
  margin-bottom: -20px;
  box-shadow: inset 0 -30px 60px -30px rgba(0,0,0,0.2);
}

.admission-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.admission-hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  font-weight: 500;
  max-width: 700px;
  margin: 0 auto;
}

/* 3. Form Card Layout */
.form-card {
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(79, 70, 229, 0.06);
  padding: 45px 50px;
  margin-bottom: 60px;
  border: 1px solid var(--border-color);
  position: relative;
  z-index: 2;
}

/* Form Headings and Dividers */
.section-divider {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-color);
  border-bottom: 2px solid hsl(225, 100%, 94%);
  padding-bottom: 8px;
  margin: 36px 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-divider:first-of-type {
  margin-top: 0;
}

/* Input Fields styling */
.form-control, .form-select {
  border-radius: 10px;
  border: 2px solid var(--border-color);
  padding: 12px 16px;
  font-size: 0.95rem;
  background-color: hsl(210, 40%, 98%);
  color: var(--dark-slate);
  transition: all 0.25s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
  background-color: white;
  outline: none;
}

/* Buttons styling */
.btn-submit {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white !important;
  border: none;
  border-radius: 50px;
  padding: 14px 44px;
  font-size: 1.02rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.35);
}

.btn-back {
  color: var(--primary-color);
  border: 2px solid hsl(225, 100%, 92%);
  border-radius: 50px;
  padding: 13px 30px;
  font-weight: 600;
  font-size: 0.95rem;
  background: white;
  transition: all 0.3s ease;
}

.btn-back:hover {
  background: hsl(225, 100%, 95%);
  color: var(--primary-dark);
  border-color: hsl(225, 100%, 90%);
}

/* Success Card View */
.success-card {
  background: white;
  border-radius: 24px;
  padding: 60px 48px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.08);
  border: 1px solid var(--border-color);
}

.success-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, hsl(150, 84%, 37%) 0%, hsl(162, 76%, 42%) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.8rem;
  color: white;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.adm-badge {
  background: linear-gradient(135deg, hsl(225, 100%, 95%) 0%, hsl(270, 100%, 96%) 100%);
  border: 2px dashed var(--primary-color);
  border-radius: 16px;
  padding: 24px 40px;
  display: inline-block;
  margin: 24px 0;
}

.adm-badge .adm-no {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-color);
  letter-spacing: 2px;
}

.adm-badge small {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Alert indicator */
.req {
  color: hsl(350, 89%, 60%);
  font-weight: bold;
}

/* Indicators */
.step-badge {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  border-radius: 50%;
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}

.info-box {
  background: linear-gradient(135deg, hsl(200, 95%, 96%) 0%, hsl(195, 90%, 92%) 100%);
  border-left: 4px solid var(--info-color);
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 0.92rem;
  color: hsl(200, 95%, 20%);
  line-height: 1.5;
}

/* Responsive adjusters */
@media (max-width: 768px) {
  .form-card {
    padding: 30px 24px;
  }
  
  .admission-hero h1 {
    font-size: 2.1rem;
  }
  
  .adm-badge {
    padding: 16px 20px;
    width: 100%;
  }
  
  .adm-badge .adm-no {
    font-size: 1.7rem;
  }
  
  .btn-submit, .btn-back {
    width: 100%;
    margin-bottom: 10px;
  }
}
