    body {
      background:#eef3fb;
    }

    .login-section {
      padding: 100px 0px;
      background:linear-gradient(180deg,#eef3fb 0%,#ffffff 100%);
    }

    .role-card {
      background: #fff;
      border-radius: 12px;
      padding: 40px 30px;
      text-align: center;
      cursor: pointer;
      transition: 0.3s ease;
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

    .role-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }

    .role-card i {
      font-size: 40px;
      color: #c6a75e;
      margin-bottom: 15px;
    }

    .login-form-box {
      display: none;
      background: #fff;
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.1);
      margin-top: 40px;
    }

    #email::placeholder {
      text-transform: none;
    }

    .btn-theme {
      background:linear-gradient(135deg,#415db8,#0B1A4A);
      color: #fff;
      border-radius: 40px;
      padding: 14px 25px;
      border: none;
      font-weight: 600;
      transition: all 0.3s ease;
    }

    .btn-theme:hover {
      background:linear-gradient(135deg,#4d69c6,#10265f);
      transform:translateY(-4px);
    }

    .back-btn {
      cursor: pointer;
      color: #888;
      margin-bottom: 20px;
      display: inline-block;
    }

/* ===== Premium Role Section ===== */
.premium-role-section{
    background:#fff;
    border-radius:22px;
    padding:70px;
    box-shadow:0 25px 60px rgba(11,26,74,.10);
    border:1px solid rgba(65,93,184,.12);
    position:relative;
    overflow:hidden;
    backdrop-filter:blur(8px);
}

/* subtle golden accent background */
.premium-role-section::before{
    content:"";
    position:absolute;
    width:280px;
    height:280px;
    border-radius:50%;
    background:#415db8;
    opacity:.08;
    left:-80px;
    top:-80px;
}

.login-content h2 {
  color:#0B1A4A;
  font-weight: 700;
  font-size: 38px;
  margin-bottom: 15px;
}

.login-content p {
  font-size: 17px;
  color:#6b7ca8;
  line-height: 1.6;
}

.section-badge {
  display: inline-block;
  background:rgba(65,93,184,.12);
  color:#415db8;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Vertical Divider */
.vertical-divider {
  width: 1px;
  height: 220px;
  background: linear-gradient(to bottom, transparent, #ddd, transparent);
}

/* Role Card Upgrade */
.role-card {
  background: #fff;
  border-radius: 18px;
  padding: 35px 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.35s ease;
  border:1px solid rgba(65,93,184,.15);
  box-shadow:0 12px 35px rgba(11,26,74,.08);
}

/* Premium Hover Glow Effect */
.role-card {
  position: relative;
  overflow: hidden;
}

.role-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  background:radial-gradient(circle at top left,
rgba(65,93,184,.18),
  transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.role-card:hover::after {
  opacity: 1;
}

.role-card:hover {
  transform:translateY(-10px);
  border-color:#415db8;
  box-shadow:0 25px 45px rgba(65,93,184,.18);
}

.role-card i {
  font-size: 45px;
  color:#415db8;
  margin-bottom: 15px;
}

.role-card h4 {
  font-weight: 600;
  margin-bottom: 8px;
}

.role-sub {
  font-size: 14px;
  color: #777;
  margin: 0;
}

/* Feel Like Premium SaaS Login Selection */
.premium-role-section {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
}

.login-content h2 {
  font-size: 38px;
  letter-spacing: -0.5px;
}

.role-card {
  transition: all 0.4s cubic-bezier(.4,2,.6,1);
}

.role-card i {
  transition: transform 0.4s ease;
}

.role-card:hover i {
  transform: scale(1.15);
  color:#0B1A4A;
}

/* ===== Soft Background Particles ===== */

.premium-role-section {
  position: relative;
  overflow: hidden;
}

.bg-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bg-particles span {
  position: absolute;
  display: block;
  width: 180px;
  height: 180px;
  background:rgba(65,93,184,.08);
  border-radius: 50%;
  animation: float 18s infinite ease-in-out;
  filter: blur(40px);
}

/* Individual positions */
.bg-particles span:nth-child(1) {
  top: 10%;
  left: 5%;
}

.bg-particles span:nth-child(2) {
  bottom: 15%;
  right: 10%;
  animation-delay: 4s;
}

.bg-particles span:nth-child(3) {
  top: 40%;
  right: 30%;
  animation-delay: 8s;
}

.bg-particles span:nth-child(4) {
  bottom: 30%;
  left: 25%;
  animation-delay: 12s;
}

@keyframes float {
  0% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.1);
  }
  100% {
    transform: translateY(0px) scale(1);
  }
}

/* Make content above particles */
.premium-role-section .row {
  position: relative;
  z-index: 2;
}

/* Active Selected Role */
.role-card.active {
  border:2px solid #415db8;
  box-shadow:0 25px 55px rgba(65,93,184,.25);
  transform: translateY(-10px);
}

.role-card.active i {
  transform: scale(1.2);
}

/* ===== Premium Login Layout ===== */
.premium-login-wrapper {
  display: none;
  margin-top: 40px;
  opacity: 0;
  transform: translateY(60px) scale(0.98);
  transition: all 0.6s cubic-bezier(.4,2,.6,1);
}

.premium-login-wrapper.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.premium-login-box {
  display: flex;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.12);
}

/* LEFT SIDE */
/* ===== LEFT PANEL REFINED ===== */
.login-preview {
  width: 45%;
  background:linear-gradient(135deg,#08163b 0%,#1f3f95 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login-preview::before{

  content:"";

  position:absolute;

  width:260px;
  height:260px;

  border-radius:50%;

  background:rgba(255,255,255,.06);

  top:-80px;
  right:-80px;

}

.login-preview::after{

  content:"";

  position:absolute;

  width:180px;
  height:180px;

  border-radius:50%;

  background:rgba(255,255,255,.04);

  bottom:-70px;
  left:-70px;

}

/* Top Bar */
.preview-top {
  padding: 25px 35px 0;
}


/* Change Role Button */
.change-role-btn {
  color:#fff;
  border:none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;        
  font-weight: 600;       
  padding: 12px 20px;     
  border-radius: 10px;   
  cursor: pointer;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.change-role-btn i {
  font-size: 22px;
  transition: transform 0.3s ease;
}

/* Animated Arrow Slide */
.change-role-btn:hover i {
  transform: translateX(-6px);
}

.change-role-btn:hover {
  opacity: 1;
}

/* Center Content */
.preview-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 40px 50px;
  text-align: center;
}

.preview-content i {
  font-size: 55px;
  margin-bottom: 20px;
}

.preview-content h3 {
  color: #ffffff;
  font-weight: 600;
  margin-top:15px;
  margin-bottom: 10px;
}

.preview-content p {
  color:rgba(255,255,255,.85);
  font-size:18px;
  opacity: 0.9;
}

.preview-content i {
  font-size: 62px;
  color: #ffffff;
  margin-bottom: 20px;
}

.preview-content h3 {
  font-weight: 600;
  margin-bottom: 10px;
}

.preview-content p {
  opacity: 0.9;
  margin-bottom: 30px;
}

.login-preview .back-btn {
  color: #fff;
  opacity: 0.85;
}

.login-preview .back-btn:hover {
  opacity: 1;
}

/* RIGHT SIDE */
.login-form-area {
  position: relative;
  width: 55%;
  padding: 60px 50px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-form-area::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  background: #415db8;
  opacity: 0.08;
  border-radius: 50%;
  bottom: -80px;   /* position below the container */
  right: -80px;    /* position slightly outside the right edge */
  pointer-events: none; /* so it doesn’t interfere with clicks */
  z-index: 0;
}

.form-group {
  margin-bottom: 20px;
}

.login-form-area form {
  max-width: 380px;
  width: 100%;
  margin: auto;
}

.login-form-area input {
  width: 100%;
  padding: 15px 20px;
  border-radius: 12px;
  background:#f5f8ff;
  border:1px solid #d7e2ff;
  font-size: 15px;
  transition: all 0.3s ease;
}

.login-form-area input:focus {
  background: #fff;
  border-color:#415db8;
  outline: none;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 991px) {

  .premium-login-box {
    flex-direction: column;
    border-radius: 18px;
  }

  .login-preview {
    width: 100%;
    min-height: 160px;   /* reduced height */
    padding: 20px 20px;
  }

  .preview-content {
    padding: 20px;
  }

  .preview-content h3 {
    font-size: 20px;
  }

  .preview-content p {
    font-size: 14px;
    margin-bottom: 0;
  }

  .preview-content i {
    font-size: 40px;
  }

  .login-form-area {
    width: 100%;
    padding: 35px 25px 45px;
  }

  .login-form-area form {
    max-width: 100%;
  }

  .change-role-btn {
    font-size: 14px;
    padding: 8px 4px;
    gap: 8px;
  }

  .change-role-btn i {
    font-size: 16px;
  }

  .preview-top {
    padding: 15px 15px 0;
  }
}


/* Responsive */
@media (max-width: 991px) {
  .premium-role-section {
    padding: 40px 25px;
  }

  .login-content {
    margin-bottom: 40px;
    text-align: center;
  }

  .vertical-divider {
    display: none;
  }
}

.password-group {
  position: relative;
}

.show-password-text {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 500;
  color: #415db8;
  cursor: pointer;
  transition: 0.3s ease;
}

.show-password-text:hover {
  color: #0B1A4A;
}

/* =========================
   LOGIN ERROR
========================= */

.login-error {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0 0 14px;
    padding: 11px 14px;
    background: #fff6f6;
    border: 1px solid #f3cccc;
    border-radius: 10px;
    color: #b42318;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    box-sizing: border-box;
    animation: loginErrorIn .3s ease;
}

.login-error i {
    color: #dc3545;

    font-size: 16px;

    flex-shrink: 0;
}


/* Small professional entrance */

@keyframes loginErrorIn {

    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


