.logo-fix-size {
  max-height: 60px !important;
  max-width: 120px !important;
  width: 100% !important;
  -o-object-fit: cover !important;
  object-fit: cover !important;
}

.modern-auth-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  background: #f8f7f4;
}

.modern-auth-brand {
  position: relative;
  flex: 1 1 46%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 3rem;
  background: linear-gradient(135deg, #800020 0%, #40030f 60%, #2a0010 100%);
  overflow: hidden;
}

.auth-orb {
  position: absolute;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0.18;
}

.auth-orb-1 {
  width: 380px;
  height: 380px;
  top: -120px;
  right: -120px;
}

.auth-orb-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -100px;
  opacity: 0.12;
}

.modern-auth-brand-inner {
  position: relative;
  z-index: 1;
  max-width: 460px;
  text-align: center;
  color: #ffffff;
}

.modern-auth-logo {
  max-height: 90px;
  max-width: 180px;
  width: auto;
  margin-bottom: 1.25rem;
}

.modern-auth-title {
  font-weight: 700;
  font-size: 1.9rem;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.modern-auth-tagline {
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.modern-auth-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.6rem;
}

.modern-auth-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  color: #ffffff;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.modern-auth-copyright {
  position: absolute;
  bottom: 1.25rem;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  z-index: 1;
}

.modern-auth-form {
  flex: 1 1 54%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 2rem;
  position: relative;
}

.modern-auth-lang {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
}

.modern-auth-lang .indicator {
  background: #ffffff;
  border: 1px solid #e4e1dc;
  color: #4a4a4a;
  border-radius: 999px;
}

.modern-auth-card {
  width: 100%;
  max-width: 430px;
  background: #ffffff;
  border: 1px solid #ece9e4;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(64, 3, 15, 0.12);
  padding: 2.4rem 2.2rem;
}

.modern-auth-card h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #232323;
  margin-bottom: 0.4rem;
  text-align: center;
}

.modern-auth-sub {
  text-align: center;
  color: #8a8a93;
  font-size: 0.92rem;
  margin-bottom: 1.6rem;
}

.modern-auth-card .form-control {
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  border-color: #e4e1dc;
}

.modern-auth-card .form-label {
  font-weight: 600;
  color: #3f3f46;
}

.modern-auth-links {
  color: #800020;
  font-weight: 600;
}

.modern-auth-links:hover {
  color: #5a0017;
}

.btn-signin {
  background: linear-gradient(135deg, #800020 0%, #40030f 100%) !important;
  border: none !important;
  color: #ffffff !important;
  border-radius: 8px;
  padding: 0.72rem 1rem;
  font-weight: 600;
}

.btn-signin:hover,
.btn-signin:focus {
  background: linear-gradient(135deg, #900626 0%, #5a0017 100%) !important;
  box-shadow: 0 8px 20px rgba(128, 0, 32, 0.36);
  color: #ffffff !important;
}

.btn-signin:disabled {
  opacity: 0.7;
}

@media (max-width: 991.98px) {
  .modern-auth-wrap {
    flex-direction: column;
  }

  .modern-auth-brand {
    flex: none;
    padding: 2.5rem 1.5rem 4rem;
  }

  .modern-auth-features {
    display: none;
  }

  .modern-auth-form {
    padding: 2.5rem 1.25rem 2rem;
  }

  .modern-auth-copyright {
    position: static;
    margin-top: 1.5rem;
  }
}
