/* Migration Banner Styles - Exact Match from Provided Banner */
.center-flex {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-modal-bg {
  background: linear-gradient(135deg, #28584d 0%, #53a589 100%);
  border-radius: 20px 20px 0 0;
  text-align: center;
  position: relative;
  height: 140px;
  margin-bottom: -20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-modal {
  width: 650px;
  max-width: 650px;
  margin: 40px auto;
  border-radius: 20px;
  overflow: hidden;
  background-color: white;
  /* box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25); */
}

.ujjivan-logo {
  width: 405px;
  margin-right: 10px;
  vertical-align: middle;
}

.ujjivan-title {
  color: #ffad40;
  font-weight: 700;
  display: inline-block;
  font-size: 2rem;
  letter-spacing: 1px;
}

.ujjivan-sub {
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
  display: inline-block;
  letter-spacing: 0.5px;
}

.ujjivan-caption {
  color: #fff;
  font-size: 1rem;
  margin-top: 0.5rem;
  letter-spacing: 0.05rem;
}

.modal-content {
  border: none;
  border-radius: 20px;
  padding: 40px 32px;
  background: #fff;
  text-align: center;
}

.info-heading {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 24px;
}

.info-img {
  display: block;
  margin: 0 auto 24px auto;
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.info-text {
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 8px;
}

.info-link {
  color: #53a589;
  font-weight: 500;
  text-decoration: underline;
}

.redirect-btn {
  background: #f79035;
  color: #fff;
  border-radius: 30px;
  padding: 12px 36px;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 28px 0 10px 0;
  border: none;
  transition: background 0.2s;
  max-width: 200px;
  margin: 55px auto 20px;
}

.redirect-btn:hover {
  background: #f39200;
  color: #fff;
}

.redirect-msg {
  color: #444;
  font-size: 1rem;
  margin-top: 10px;
}

/* Redirect spinner */
.redirect-spinner {
  margin-top: 25px;
  text-align: center;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #f79035;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
  margin: 0 auto;
}

.custom-modal-bg button.close-banner {
  position: absolute;
  font-size: 22px;
  width: 5%;
  top: 5px;
  right: 7px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .custom-modal {
    margin: 0 20px;
    max-width: 100%;
  }
  .custom-modal-bg button.close-banner {
    position: absolute;
    font-size: 25px;
    top: 17px;
    right: 2px;
    width: 8%;
  }
  .modal-content {
    padding: 24px 50px;
  }

  .info-heading {
    font-size: 1.5rem;
  }

  .ujjivan-logo {
    width: 100%;
  }

  .custom-modal-bg {
    padding-inline: 50px;
  }

  .info-text {
    font-size: 1rem;
  }

  .close-banner {

    position: absolute;
    
    top: 50%;
    
    right: 20px;
    
    transform: translateY(-50%);
    
    background: rgba(255, 255, 255, 0.9);
    
    border: none;
    
    border-radius: 50%;
    
    width: 35px;
    
    height: 35px;
    
    font-size: 24px;
    
    font-weight: bold;
    
    color: #666;
    
    cursor: pointer;
    
    display: flex;
    
    align-items: center;
    
    justify-content: center;
    
    z-index: 10;
    
    transition: all 0.2s ease;
    
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    
    }
    
    
    .close-banner:hover {
    
    background: rgba(255, 255, 255, 1);
    
    color: #333;
    
    transform: translateY(-50%) scale(1.1);
    
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    
    }
    
    
    .close-banner:focus {
    
    outline: 2px solid #53a589;
    
    outline-offset: 2px;
    
    }
    
    
    .close-banner:active {
    
    transform: scale(0.95);
    
    }
    
    
    @media (max-width: 576px) {
    
    .close-banner {
    
    top: 50%;
    
    right: 15px;
    
    transform: translateY(-50%);
    
    width: 30px;
    
    height: 30px;
    
    font-size: 20px;
    
    }
    
    }


}
