.login-page {
    padding: 30px 0;
}
/* Top Links */
.top-links{
  /*position:absolute;*/
  
  text-align:center;
  width:100%;
  letter-spacing:2px;
  font-size:14px;
  margin-bottom: 30px;
}

.top-links a{
  margin:0 30px;
  text-decoration:none;
  color:#222;
  font-weight:500;
  position:relative;
  padding-bottom:5px;
}

.top-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0%;
  height:1px;
  background:#d10d34;
  transition:0.4s;
}

.top-links a:hover::after{
  width:100%;
}

/* Login Card */
/*.login-wrapper{
  width:100%;
  display:flex;
  justify-content:center;
}
*/
.login-card{
  /*width:520px;*/
  background:rgba(255,255,255,0.7);
  backdrop-filter:blur(20px);
  padding:20px 50px;
  border-radius:8px;
  box-shadow:0 25px 60px rgba(0,0,0,0.08);
  text-align:center;
  border:1px solid rgba(255,255,255,0.6);
}

.login-card h2{
 
  font-size:26px;
  font-weight:600;
  margin-bottom:10px;
}

.sub-text{
  font-size:13px;
  color:#777;
  margin-bottom:40px;
}

/* Input Fields */
.form-group{
  margin-bottom:35px;
  text-align:left;
}

.form-group label{
  font-size:13px;
  letter-spacing:1px;
  color:#888;
}

.form-group input{
  width:100%;
  border:none;
  border-bottom:1px solid #000;
  padding:10px 0;
  background:transparent;
  outline:none;
  font-size:13px;
  transition:0.3s;
}

.form-group input:focus{
  border-color:#d10d34;
}

/* Links */
.extra-links{
 font-size: 13px;
    margin-top: -18px;
    margin-bottom: 35px;
    text-align: left;
    color: #000;
}

.extra-links a{
  text-decoration:none;
  color:#000;
  transition:0.3s;
}

.extra-links a:hover{
  opacity:0.7;
}

/* Button */
.login-btn{
  width:100%;
  padding:14px;
  border:none;
  background:#111;
  color:#fff;
  font-size:13px;
  letter-spacing:2px;
  cursor:pointer;
  transition:0.4s;
}

/*.login-btn:hover{
  background:#d10d34;
  color:#111;
}
*/
/* Responsive */
@media(max-width:480px){
 /* .login-card{
    width:90%;
    padding:40px 30px;
  }
*/
  .top-links a{
    margin:0 15px;
  }
}
.login-wrapper {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    z-index: 1;
}

.login-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/blank_cart_bg.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: overlay;
    z-index: -1;
}

/* Optional: Add overlay color for luxury look */
.login-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    /*background: rgba(0, 0, 0, 0.1); */
    z-index: -1;
}

.login-card {
    position: relative;
    overflow: hidden;
    padding: 40px;
    border-radius: 12px; /* optional */
    z-index: 1;
}

/* Background Image */
.login-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/abg.jpg");
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    z-index: -2;
}

/* White overlay with blend effect */
.login-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #ffffff6b;
    z-index: -1;
}
@media(max-width: 991px){
  .login-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #ffffffde;
    z-index: -1;
}
.lg-img{
  display: none;
}
.login-wrapper{
  padding: 20px 0;
}
.login-card h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
}

.premium-modal .modal-dialog {
    max-width: 450px;
}
.premium-modal .modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,.15);
}

/* Body */
.login-wrapper {
    padding: 35px 30px;
    background: #fff;
}

/* Heading */
.login-wrapper h3 {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 25px;
    color: #222;
}

/* Inputs */
.login-wrapper .form-control,
.login-wrapper input[type="text"],
.login-wrapper input[type="email"],
.login-wrapper input[type="password"],
.login-wrapper input[type="number"] {
    width: 100%;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0 15px;
    font-size: 15px;
    transition: all .3s ease;
    outline: none;
}

.login-wrapper input:focus {
    border-color: #e31e2c;
    box-shadow: 0 0 0 3px rgba(227,30,44,.1);
}

/* Button */
.login-btn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 8px;
    background: #e31e2c;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    transition: .3s;
}

.login-btn:hover {
    background: #c41724;
    color: #fff;
}

/* Tabs */
.nav-pills {
    gap: 10px;
}

.nav-pills .nav-link {
    border-radius: 30px;
    padding: 8px 25px;
    color: #555;
    background: #f5f5f5;
    font-weight: 500;
}

.nav-pills .nav-link.active {
    background: #e31e2c;
    color: #fff;
}

/* Error */
.error {
    display: block;
    color: #e31e2c;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 10px;
}

/* Close Button */
.premium-close {
    position: absolute;
    right: 15px;
    top: 12px;
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: #f5f5f5;
    color: #333;
    cursor: pointer;
    z-index: 10;
    transition: .3s;
}

.premium-close:hover {
    background: #e31e2c;
    color: #fff;
}

/* OTP Section */
#reg_otp_div {
    padding: 15px;
    background: #fafafa;
    border: 1px dashed #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Mobile */
@media (max-width: 576px) {

    .premium-modal .modal-dialog {
        margin: 15px;
    }

    .login-wrapper {
        padding: 25px 20px;
    }

    .login-wrapper h3 {
        font-size: 24px;
    }
}

.tab-content>.active {
    display: block;
    margin: 0 auto;
    width: 22rem;
}
