/* Behnico CRM - Login page (RTL)
   Style inspired by the provided mock.
*/

html, body {
  height: 100%;
}

body {
  margin: 0;
}

/* Fullscreen background with blur + blue overlay */
.bnc-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 14px;
  position: relative;
  overflow: hidden;
}

.bnc-login-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/media/backgrounds/7.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(2.5px);
  transform: scale(1.05);
  z-index: 0;
}

.bnc-login-page::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 175, 255, 0.78) 0%, rgba(0, 89, 255, 0.85) 100%);
  z-index: 1;
}

.bnc-login-wrap {
  position: relative;
  z-index: 2;
  width: 420px;
  max-width: 92vw;
  text-align: center;
  color: #fff;
}

.bnc-login-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.bnc-login-avatar img {
  width: 70px;
  height: auto;
  display: block;
}

.bnc-login-title {
  font-weight: 800;
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 18px;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.bnc-login-subtitle {
  margin: -8px 0 18px;
  opacity: 0.9;
  font-size: 13px;
}

.bnc-login-form {
  padding: 10px 8px;
}

.bnc-login-input-group {
  margin-bottom: 12px;
}

.bnc-login-input-group .input-group {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.20);
  border-radius: 999px;
  overflow: hidden;
}

.bnc-login-input-group .input-group-text {
  border: 0;
  background: rgba(255, 255, 255, 0.95);
  color: rgba(0, 0, 0, 0.65);
  padding: 0.0rem 0.95rem;
}

.bnc-login-input-group .form-control,
.bnc-login-input {
  border: 0;
  background: rgba(255, 255, 255, 0.95);
  height: 46px;
  padding: 0.75rem 1rem;
  font-size: 14px;
}

.bnc-login-input:focus,
.bnc-login-input-group .form-control:focus {
  box-shadow: none;
  outline: none;
}

.bnc-login-btn {
  width: 100%;
  border: 0;
  border-radius: 999px;
  height: 46px;
  background: rgba(25, 25, 25, 0.86);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.bnc-login-btn:hover {
  background: rgba(20, 20, 20, 0.94);
}

.bnc-login-links {
  margin-top: 14px;
  font-size: 12.5px;
}

.bnc-login-links a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.bnc-login-links a:hover {
  text-decoration: underline;
}

/* Make bootstrap alerts look ok on this background */
.bnc-login-alert {
  background: rgba(255, 255, 255, 0.92);
  color: #222;
  border: 0;
  border-radius: 14px;
  text-align: right;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

@media (max-width: 420px) {
  .bnc-login-wrap { width: 94vw; }
  .bnc-login-title { font-size: 18px; }
}
