/* ==========================================================================
   Login Page Styles - Red Theme (Final Forceful Version)
   ========================================================================== */

/* ۱. پس‌زمینه کل صفحه */
.auth-layout {
  min-height: 100vh;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--color-bg, #f5f6f8) !important;
}

/* ۲. کادر اصلی لاگین (رنگ قرمز) */
.login-card {
  width: 100%;
  max-width: 420px;
  background: #ff0048 !important; /* رنگ قرمز برند */
  padding: 48px 40px;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(255, 0, 72, 0.4) !important;
  border: none !important;
}

.login-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

/* ۳. لوگو A (سفید با متن قرمز) */
.login-brand .brand-mark {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #ffffff !important;
  display: grid;
  place-items: center;
  color: #ff0048 !important;
  font-size: 30px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

.login-card .form-group {
  margin-bottom: 24px;
}

/* ۴. لیبل‌ها (سفید) */
.login-card .form-label {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff !important;
  margin-bottom: 8px;
  display: block;
}

/* ۵. کادرهای ورودی (سفید و برجسته) */
.login-card .form-control {
  direction: ltr;
  text-align: left;
  padding: 16px 16px !important;
  font-size: 15px;
  background: #ffffff !important;
  border: 1px solid transparent !important;
  color: #202938 !important; /* رنگ متن تایپ شده (خاکستری تیره) */
  border-radius: 12px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
  width: 100%;
  transition: all 0.2s ease;
}

/* ۶. حالت کلیک روی کادر (هاله سفید) */
.login-card .form-control:focus {
  background: #ffffff !important;
  outline: none !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.4) !important;
}

/* ۷. دکمه چشم (نمایش رمز) */
.login-card .input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.login-card .input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent !important;
  border: none !important;
  color: #9aa3af !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10;
}

.login-card .input-icon:hover {
  color: #ff0048 !important;
}

.login-card input[type="password"],
.login-card input[type="text"] {
  padding-left: 45px !important; 
}

/* ۸. دکمه ورود (سفید با متن قرمز) */
.login-card .btn-primary {
  background: #ffffff !important;
  color: #ff0048 !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 16px !important;
  transition: all 0.2s ease;
  margin-top: 10px;
  width: 100%;
  border: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.login-card .btn-primary:hover {
  background: #f8f9fb !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}

.login-card .btn-primary:disabled {
  background: #ffe5ec !important;
  color: #ff9ab5 !important;
  transform: none;
  box-shadow: none !important;
  cursor: not-allowed;
}