/* Logo container reset */
.login-container{
	background: transparent !important;
	background-color: #f0efef !important;
}
.login-container-header-new {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: #1a1a1a;
}

/* Logo alignment */
#logo-img,
.login-container-header-new img {
  display: block;
  max-height: 50px;
  max-width: 180px;
  width: auto;
  height: auto;
  margin: 16px auto;
}

/* Login box layout */
.login-box {
  max-width: 100% !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  box-sizing: border-box;
}

.login-box .login-body {
  max-width: 500px !important;
  width: 100% !important;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 22px;
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  margin: 20px auto;
  text-align: center;
}

/* Form inputs */
.login-body input[type="text"],
.login-body input[type="password"] {
  border-radius: 999px !important;
  padding: 12px 18px !important;
  background: #f5f5f5 !important;
  border: 1px solid #ccc !important;
  font-size: 16px !important;
  width: 100% !important;
  margin-bottom: 8px !important;
  box-sizing: border-box !important;
}

/* Buttons */
.btn {
  padding: 16px 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  line-height: 1 !important;
  min-height: 48px !important;
  box-sizing: border-box !important;
  width: 100%;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
}

.btn-login {
  background: #2F64F9 !important;
  color: #fff !important;
  border: none !important;
}

/* Reduce spacing between all form sections */
.form-group {
  margin-bottom: 10px !important;
}

/* Reduce heading spacing above account buttons */
.login-body .login-title h3.not-registered {
  margin: 8px 0 4px !important;
  text-align: left !important;
  font-weight: 600;
  font-size: 15px;
}

/* Disclaimer */
.login-body p {
  margin-top: 6px !important;
  font-size: 11px !important;
  text-align: left !important;
  color: #333;
}

/* Account buttons container */
.login-body .col-md-12 {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-top: 4px !important;
  width: 100% !important;
}

/* Account buttons columns */
.login-body .col-md-6 {
  padding: 0 15px !important;
  flex: 1 1 48% !important;
  max-width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  min-width: 0;
}

/* Forgot password link */
.login-body a.btn-link {
  font-size: 14px !important;
  border: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #2F64F9 !important;
  font-weight: 500;
  text-align: left;
  padding: 0 !important;
  min-height: auto !important;
}

/* Real/Demo account buttons */
.btn-demo, .btn-live {
  width: 100% !important;
}
.btn-live {
  background: #22223B !important;
  color: #fff !important;
  border: none !important;
}
.btn-demo {
  background: #fff !important;
  color: #000 !important;
  border: 1px solid #ccc !important;
}

/* ———————————————————————— */
/* RESPONSIVE ADJUSTMENTS     */
/* ———————————————————————— */

@media (max-width: 768px) {
  .login-container-header-new {
    padding: 10px 15px;
  }
  
  .login-box {
    padding: 0 10px !important;
  }
  
  .login-box .login-body {
    margin: 10px auto;
    padding: 12px;
  }
  
  .login-body .col-md-6 {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    margin-bottom: 8px;
  }
  
  .login-body .col-md-12 {
    gap: 8px;
  }
  
  /* Stack the forgot password and login button on small screens */
  .login-body form > .form-group:nth-of-type(3) {
    flex-direction: column;
    gap: 8px;
  }
  
  .login-body form > .form-group:nth-of-type(3) .col-md-6 {
    width: 100% !important;
    justify-content: center !important;
  }
  
  .login-body a.btn-link {
    text-align: center !important;
  }
  
  /* Make buttons full width on mobile */
  .btn {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  #logo-img, .login-container-header-new img {
    max-width: 150px;
    max-height: 40px;
    margin: 10px auto;
  }
  
  .login-body input[type="text"],
  .login-body input[type="password"] {
    padding: 10px 15px !important;
    font-size: 14px !important;
  }
  
  .btn {
    padding: 15px 15px !important;
    min-height: 44px !important;
    font-size: 13px !important;
  }
}