
/* =========================================================
   RESET
========================================================= */
*{
  box-sizing:border-box;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont;
}

html, body{
  margin:0;
  padding:0;
  width:100%;
  min-height:100%;
  overflow-x:hidden;
}

/* =========================================================
   BACKGROUND
========================================================= */
body{
  position:relative;
  min-height:100svh;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0a1932;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  background:
    linear-gradient(rgba(10,25,50,.78), rgba(10,25,50,.78)),
    url('https://nurtechnologysolutions.com/images/developing-programming-and-coding-technologies-2025-02-11-15-31-23-utc.jpg')
    no-repeat center center;
  background-size:cover;
}

/* =========================================================
   WRAPPER
========================================================= */
.login-wrapper{
  width:100%;
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* =========================================================
   LOGIN CARD
========================================================= */
.login-card{
  width:100%;
  max-width:520px; /* widened for symmetry */
  padding:44px 40px 40px;
  border-radius:22px;

  background:rgba(15,23,42,.86);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);

  box-shadow:0 40px 90px rgba(0,0,0,.45);
  color:#ffffff;
}

/* =========================================================
   CARD HEADER (BRAND TEXT)
========================================================= */
.card-header{
  text-align:center;
  margin-bottom:22px;
}

/* 🔑 THIS IS THE IMPORTANT PART */
.brand-text{
  color:#feb81a;
  font-weight:700;

  /* Fluid, responsive, one-line typography */
  font-size:clamp(1.4rem, 3.2vw, 1.9rem);

  line-height:1.15;
  letter-spacing:.4px;

  white-space:nowrap;      /* NEVER wrap */
  overflow:hidden;
  text-overflow:ellipsis;  /* safety only */

  width:100%;
  display:block;
}

/* =========================================================
   BODY CONTENT
========================================================= */
.card-body h2{
  margin:0 0 26px;
  text-align:center;
  font-weight:600;
  font-size:1.15rem; /* intentionally smaller */
}

/* =========================================================
   INPUT GROUPS
========================================================= */
.input-group{
  position:relative;
  margin-bottom:22px;
}

.input-group span{
  position:absolute;
  top:50%;
  left:18px;
  transform:translateY(-50%);
  color:#9ca3af;
  font-size:15px;
}

.input-group input{
  width:100%;
  padding:16px 18px 16px 50px;
  border-radius:12px;
  border:none;
  outline:none;
  font-size:15px;
}

/* =========================
   PASSWORD GROUP (FIXED)
========================= */
.password-group {
  position: relative;
}

.password-group input {
  width: 100%;
  padding: 16px 52px 16px 56px; 
  /* ↑ RIGHT padding FIXES overlap */
  border-radius: 12px;
  border: none;
  outline: none;
  font-size: 16px;
}

/* Eye button */
.password-toggle {
  position: absolute;
  right: 16px;              /* 👈 force to right edge */
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 3;
}

/* Eye icon */
.password-toggle svg {
  width: 22px;
  height: 22px;
  fill: #6b7280;
  pointer-events: none;
}

.password-toggle:hover svg {
  fill: #111827;
}

/* =========================================================
   BUTTON
========================================================= */
button{
  width:100%;
  padding:16px;
  border:none;
  border-radius:12px;
  background:linear-gradient(135deg,#2563eb,#3b82f6);
  color:#fff;
  font-size:16px;
  font-weight:600;
  cursor:pointer;
}

/* =========================================================
   ERROR
========================================================= */
.error{
  background:#7f1d1d;
  color:#fee2e2;
  padding:14px;
  border-radius:12px;
  margin-bottom:18px;
  text-align:center;
}
/* =========================
   REMEMBER + FORGOT ROW
========================= */
.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 24px;
  font-size: 14px;
}

/* Remember me */
.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e5e7eb;
  cursor: pointer;
}

.remember-me input {
  width: 16px;
  height: 16px;
  accent-color: #3b82f6;
  cursor: pointer;
}

/* Forgot password */
.forgot-link {
  color: #93c5fd;
  text-decoration: none;
  font-size: 14px;
}

.forgot-link:hover {
  text-decoration: underline;
}


@media (max-width:480px){

  .login-card{
    padding:36px 26px 34px;
  }

  /* BRAND TEXT — MOBILE, SINGLE LINE */
  .brand-text{
    font-size:clamp(1.25rem, 5.5vw, 1.5rem);
    white-space:nowrap;   /* enforced */
  }

}


