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

:root {
  --primary: #b32222;
  --bg-soft: #fff7f7;
  --text: #1f1f1f;
  --muted: #555555;
  --border-soft: #f1dede;
  --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.08);
}

html,
body {
  height: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.osl-header {
  background: var(--bg-soft);
}

.osl-header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.osl-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.osl-logo img {
  width: 100%;
  max-width: 165px;
  display: block;
  object-fit: contain;
}

.osl-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.osl-btn,
.osl-btn-outline {
  min-width: 92px;
  height: 46px;
  padding: 0 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.osl-btn {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  box-shadow: 0 16px 32px rgba(179, 34, 34, 0.12);
}

.osl-btn:hover {
  background: #9d1d1d;
  border-color: #9d1d1d;
  color: #fff;
  transform: translateY(-2px);
}

.osl-btn-outline {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.osl-btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.osl-btn-block,
.osl-btn-outline.osl-btn-block {
  width: 100%;
}

/* Main */
.osl-main-section {
  background: #ffffff;
  padding: 90px 0 110px;
  flex: 1;
  display: flex;
  align-items: center;
}

.osl-left-content {
  max-width: 500px;
}

.osl-main-title {
  font-size: 34px;
  line-height: 1.45;
  font-weight: 600;
  color: #202020;
  margin-bottom: 38px;
}

.osl-main-title span {
  color: var(--primary);
}

/* Role cards */
.osl-role-row {
  max-width: 360px;
}

.osl-role-card {
  background: #fef5f5;
  border-radius: 16px;
  padding: 22px 18px;
  min-height: 194px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.osl-role-card:hover {
  transform: translateY(-4px);
}

.osl-role-card.active {
  border: 2px solid var(--primary);
  box-shadow: 0 14px 32px rgba(179, 34, 34, 0.12);
}

.osl-role-icon {
  width: 52px;
  height: 52px;
  background: #f7e7e7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.osl-role-card h4 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #1f1f1f;
}

.osl-role-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 0;
}

/* Login card */
.osl-login-card {
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 34px 30px 30px;
  box-shadow: var(--shadow-soft);
  max-width: 420px;
  margin-left: auto;
}

.osl-login-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1f1f1f;
}

.osl-input {
  width: 100%;
  height: 50px;
  border: 1px solid #dddddd;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04);
}

.osl-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(179, 34, 34, 0.08);
}

.osl-forgot {
  display: block;
  text-align: right;
  font-size: 12px;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 12px;
}

.osl-forgot:hover {
  color: var(--primary);
  text-decoration: underline;
}

.osl-or {
  text-align: center;
  font-size: 14px;
  color: #222;
  margin: 12px 0;
}

/* Footer */
.osl-footer {
  background: var(--bg-soft);
  padding: 40px 0;
  border-top: 1px solid #f3e6e6;
  margin-top: auto;
}

.osl-footer-brand {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
}

.osl-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.osl-footer-links a {
  font-size: 14px;
  color: #555;
  text-decoration: none;
  transition: 0.3s ease;
}

.osl-footer-links a:hover {
  color: var(--primary);
}

.osl-footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.osl-footer-right p {
  margin-bottom: 0;
  font-size: 14px;
  color: #555;
}
.osl-footer {
  margin-top: auto;
}
@media (max-width: 991.98px) {
  .osl-footer {
    padding: 32px 0;
  }

  .osl-footer-brand {
    text-align: center;
  }

  .osl-footer-links {
    gap: 24px;
    justify-content: center;
  }

  .osl-footer-right {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .osl-footer-links {
    flex-direction: column;
    gap: 12px;
  }
}




/* ===============================
   AUTH FLOW SECTION
================================= */

.osl-auth-flow-section {
  padding: 40px 0 40px;
}

.osl-section-tag {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fbeaea;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.osl-auth-intro .osl-main-title {
  margin-bottom: 18px;
  font-size: 40px;
  line-height: 1.3;
}

.osl-auth-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 480px;
}

.osl-auth-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.osl-auth-point {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

/* Flow Grid */
.osl-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.osl-flow-card {
  background: var(--bg-soft);
  border: 1px solid #f4dede;
  border-radius: 22px;
  padding: 28px 22px;
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: all 0.3s ease;
}

.osl-flow-card:hover {
  transform: translateY(-4px);
}

.osl-flow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #f0d7d7;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}

.osl-flow-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px rgba(179, 34, 34, 0.08);
}

.osl-flow-card h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1f1f1f;
  margin-bottom: 10px;
}

.osl-flow-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 22px;
}

.osl-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2a2a2a;
  margin-bottom: 8px;
}

.osl-form-note {
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: #777;
  margin-top: 12px;
}

/* OTP */
.osl-otp-row {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}

.osl-otp-box {
  width: 46px;
  height: 52px;
  border: 1px solid #e2d4d4;
  border-radius: 12px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #1f1f1f;
  background: #fff;
  outline: none;
}

.osl-otp-box:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(179, 34, 34, 0.08);
}

.osl-inline-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.osl-inline-links a {
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
}

.osl-inline-links a:hover {
  text-decoration: underline;
}

/* Checkbox list */
.osl-check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.osl-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #2a2a2a;
  cursor: pointer;
}

.osl-check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1199.98px) {
  .osl-flow-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991.98px) {
  .osl-auth-intro .osl-main-title {
    font-size: 34px;
  }

  .osl-flow-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .mt0 {
    margin-top:20px;
  }
  .osl-auth-flow-section {
   padding: 0px 0 100px;
  }

  .osl-auth-intro .osl-main-title {
    font-size: 28px;
  }

  .osl-flow-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .osl-otp-row {
    flex-wrap: wrap;
  }
}



/* ===============================
   STEP FORM / WIZARD
================================= */

.osl-step-form-wrap {
  background: var(--bg-soft);
  border: 1px solid #f2dede;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
  max-width: 520px;
  margin-left: auto;
  position: relative;
}

.osl-step-form-wrap input[type="radio"][name="auth-step"] {
  display: none;
}

/* progress */
.osl-step-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.osl-step-dot {
  flex: 1;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  position: relative;
}

.osl-step-dot span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ead4d4;
  color: #777;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.osl-step-dot small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #777;
  transition: all 0.3s ease;
}

/* panels */
.osl-step-panels {
  position: relative;
  min-height: 470px;
}

.osl-step-panel {
  display: none;
  animation: oslFadeIn 0.35s ease;
}

@keyframes oslFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#step-1:checked ~ .osl-step-panels .osl-panel-1,
#step-2:checked ~ .osl-step-panels .osl-panel-2,
#step-3:checked ~ .osl-step-panels .osl-panel-3 {
  display: block;
}

/* active progress state */
#step-1:checked ~ .osl-step-progress .osl-dot-1 span,
#step-2:checked ~ .osl-step-progress .osl-dot-2 span,
#step-3:checked ~ .osl-step-progress .osl-dot-3 span {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 10px 18px rgba(179, 34, 34, 0.18);
}

#step-1:checked ~ .osl-step-progress .osl-dot-1 small,
#step-2:checked ~ .osl-step-progress .osl-dot-2 small,
#step-3:checked ~ .osl-step-progress .osl-dot-3 small {
  color: var(--primary);
  font-weight: 600;
}

/* card content inside step */
.osl-step-panel .osl-flow-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(179, 34, 34, 0.08);
}

.osl-step-panel h3 {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
  color: #1f1f1f;
  margin-bottom: 12px;
}

.osl-step-panel p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 24px;
}

.osl-step-btn {
  cursor: pointer;
}

.osl-link-btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
  text-decoration: none;
  margin-top: 10px;
}

.osl-link-btn:hover {
  text-decoration: underline;
}

.osl-link-btn-back {
  margin-top: 16px;
}

.osl-inline-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.osl-inline-links a {
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
}

.osl-inline-links a:hover {
  text-decoration: underline;
}

/* otp */
.osl-otp-row {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  margin-bottom: 24px;
}

.osl-otp-box {
  width: 52px;
  height: 56px;
  border: 1px solid #e2d4d4;
  border-radius: 12px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #1f1f1f;
  background: #fff;
  outline: none;
}

.osl-otp-box:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(179, 34, 34, 0.08);
}

/* checkboxes */
.osl-check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.osl-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #2a2a2a;
  cursor: pointer;
}

.osl-check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  margin-top: 2px;
}

/* responsive */
@media (max-width: 991.98px) {
  .osl-step-form-wrap {
    max-width: 100%;
    margin-left: 0;
  }

  .osl-step-panels {
    min-height: auto;
  }
}

@media (max-width: 575.98px) {
  .osl-step-form-wrap {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .osl-step-progress {
    gap: 6px;
  }

  .osl-step-dot span {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .osl-step-dot small {
    font-size: 10px;
  }

  .osl-step-panel h3 {
    font-size: 24px;
  }

  .osl-otp-row {
    flex-wrap: wrap;
  }

  .osl-otp-box {
    width: 44px;
    height: 48px;
  }
}

.osl-check-item input[type="radio"] {
  accent-color: #b32222;
}



.osl-mobile-bottom-menu{
   display:none;
}

@media (max-width: 767.98px){
  .osl-left-content.osl-auth-intro {
    display: none;
}
footer.osl-footer {
    display: none;
}
  .osl-mobile-bottom-menu{
      display:flex;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 70px;
      background: #fff;
      border-top: 1px solid #ececec;
      box-shadow: 0 -8px 18px rgba(0,0,0,0.08);
      z-index: 999;
      justify-content: space-around;
      align-items: center;
  }

  .osl-mobile-bottom-menu a{
      text-decoration:none;
      color:#666;
      font-size:13px;
      font-weight:500;
  }

  .osl-mobile-bottom-menu a.active{
      color:#b32222;
      font-weight:600;
  }

}




/* ===================================
   MOBILE BOTTOM MENU 
=================================== */

.osl-mobile-bottom-nav {
  display: none;
}

@media (max-width: 767px) {
  .osl-mobile-bottom-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(179, 34, 34, 0.10);
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(12px);
  }

  .osl-mobile-nav-item {
    flex: 1 1 0;
    min-width: 0;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 4px;
    border-radius: 16px;
    color: #b8b8b8;
    transition: all 0.25s ease;
    position: relative;
  }

  .osl-mobile-nav-item:hover {
    text-decoration: none;
    color: #8f8f8f;
  }

  .osl-mobile-nav-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
    border-radius: 50%;
    transition: all 0.25s ease;
  }

  .osl-mobile-nav-label {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.1;
    white-space: nowrap;
    transition: all 0.25s ease;
  }

  .osl-mobile-nav-item.active {
    color: #111;
  }

  .osl-mobile-nav-item.active .osl-mobile-nav-icon {
    background: #fff3f3;
    color: #c82121;
  }

  .osl-mobile-nav-item.active .osl-mobile-nav-label {
    color: #b32222;
    font-weight: 700;
  }

  .osl-mobile-nav-item.active::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background: #c82121;
  }

  /* content ko menu ke neeche se bachane ke liye */
  #content.app-content {
    padding-bottom: 96px;
  }

  /* tables / cards bottom pe cut na hon */
  .tov-wrap,
  .mt-wrap,
  .ct-wrap {
    padding-bottom: 12px;
  }
}


/* role switch buttons */
.osl-role-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.osl-role-option {
  flex: 1 1 0;
  position: relative;
  margin: 0;
  cursor: pointer;
}

.osl-role-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.osl-role-option span {
  height: 44px;
  width: 100%;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: #fff;
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.osl-role-option input:checked + span {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 575.98px) {
  .osl-role-switch {
    gap: 8px;
  }

  .osl-role-option span {
    height: 42px;
    font-size: 13px;
  }
}