:root{
  --card:rgba(15,35,60,0.55);
  --text:#ffffff;
  --muted:#cbd5f5;
  --line:rgba(0,200,255,0.25);
  --focus:#00cfff;
  --danger:#ef4444;
}

*{box-sizing:border-box;}
html,body{height:100%;}

/* 🔥 SHARP BACKGROUND FIX */
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);

  background-image: url('/ocpportal/assets/img/login-bg.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;

  /* keeps image crisp */
  image-rendering: auto;
}

/* layout */
.container{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;

  /* reduced blur so background stays sharp */
  backdrop-filter: blur(3px);
}

/* card */
.card{
  position:relative;
  width:100%;
  max-width:420px;

  background:var(--card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border:1px solid rgba(0,200,255,.25);
  border-radius:18px;

  box-shadow:
    0 25px 80px rgba(0,0,0,.7),
    0 0 40px rgba(0,200,255,.25);

  overflow:visible;
}

/* glow under card */
.card::after{
  content:'';
  position:absolute;
  bottom:-40px;
  left:50%;
  transform:translateX(-50%);
  width:70%;
  height:60px;

  background: radial-gradient(
    ellipse at center,
    rgba(0,200,255,.35),
    transparent 70%
  );

  filter: blur(20px);
  z-index:-1;
}

/* header */
.card-header{
  padding:22px 22px 10px 22px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}

.logo{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
}

.logo img{
  max-height:54px;
  max-width:260px;
  object-fit:contain;
}

.brand{
  text-align:center;
  line-height:1.15;
}
.brand h1{
  margin:0;
  font-size:18px;
  font-weight:750;
  letter-spacing:.2px;
}
.brand p{
  margin:6px 0 0 0;
  font-size:13px;
  color:var(--muted);
}

/* body */
.card-body{
  padding:16px 22px 22px 22px;
}

.field{
  margin-top:12px;
}

.label{
  display:block;
  font-size:13px;
  font-weight:650;
  margin-bottom:6px;
  color:#e5e7eb;
}

/* inputs */
.input{
  width:100%;
  border:1px solid rgba(0,200,255,.25);
  border-radius:12px;
  padding:12px 12px;
  font-size:14px;
  outline:none;

  background: rgba(255,255,255,0.08);
  color:#fff;

  transition: box-shadow .15s ease, border-color .15s ease;
}

.input::placeholder{
  color: rgba(255,255,255,0.5);
}

.input:focus{
  border-color: rgba(0,200,255,.9);
  box-shadow: 0 0 0 3px rgba(0,200,255,.25);
}

/* actions */
.actions{
  margin-top:16px;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
}

/* button */
.btn{
  width:100%;
  border:0;
  border-radius:12px;
  padding:12px 14px;
  font-size:14px;
  font-weight:750;
  cursor:pointer;

  background: linear-gradient(180deg, #00cfff, #0066ff);
  color:#fff;

  box-shadow: 0 10px 30px rgba(0,200,255,.4);

  transition: transform .06s ease, filter .15s ease, box-shadow .2s ease;
}

.btn:hover{
  filter:brightness(1.08);
  box-shadow: 0 15px 40px rgba(0,200,255,.6);
}

.btn:active{
  transform: translateY(1px);
}

/* note */
.note{
  margin-top:12px;
  font-size:12px;
  color:var(--muted);
  text-align:center;
}

/* alert */
.alert{
  border:1px solid rgba(239,68,68,.4);
  background: rgba(239,68,68,.1);
  color: var(--danger);
  padding:10px 12px;
  border-radius:12px;
  font-size:13px;
  margin-bottom:10px;
}

/* footer */
.footer{
  padding:14px 22px 18px 22px;
  border-top:1px solid rgba(255,255,255,.1);
  text-align:center;
  font-size:12px;
}

.smallprint{
  color: rgba(255,255,255,.6);
}