/* Page base */
html, body {
  height: 100%;
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
}

/* Background like screenshot: soft diagonal pastel */
.bg{
  position: fixed;
  inset: 0;
  background:
    linear-gradient(135deg,
      rgba(172, 222, 232, 0.55) 0%,
      rgba(245, 245, 245, 0.55) 38%,
      rgba(233, 168, 168, 0.55) 100%);
}

/* Centered container */
.wrap{
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 18px;
}

/* Login card */
.card{
  width: 340px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.2);
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
}

/* Header bar (maroon) */
.card__header{
  background: #8C2225;
  padding: 14px 14px;
  color: #fff;
}

/* brand row: logo + EDUGATE */
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  direction: ltr; /* EDUGATE looks LTR in screenshot */
  justify-content: flex-start;
}

/* logo circle */
.logo{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.6);
}
.logo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logo--empty{
  background: rgba(255,255,255,.85);
}

/* EDUGATE text */
.edugate{
  display: flex;
  align-items: center;
  gap: 6px;
}
.edugate__text{
  font-size: 28px;
  letter-spacing: 2px;
  font-weight: 500;
}
.edugate__arrow{
  font-size: 12px;
  opacity: .95;
}

/* Body */
.card__body{
  padding: 14px 16px 16px;
}

/* Fields */
.field{
  margin-top: 10px;
}
.label{
  display: block;
  font-size: 12px;
  color: #222;
  margin-bottom: 6px;
}
.input{
  width: 100%;
  height: 22px;
  padding: 2px 8px;
  border: 1px solid #c9d8ee;
  background: #eaf2ff;
  outline: none;
  font-size: 12px;
  box-sizing: border-box;
}
.input:focus{
  border-color: #6f8fb3;
}

/* Language radio row */
.langs{
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  font-size: 12px;
}
.radio{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #222;
}

/* Actions */
.actions{
  margin-top: 10px;
  display: grid;
  gap: 10px;
  justify-items: center;
}

/* Login button like screenshot: wide maroon with icon left */
.btn{
  width: 220px;
  height: 28px;
  background: #8C2225;
  border: 1px solid #6f1b1e;
  color: #fff;
  cursor: pointer;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  padding: 0;
}
.btn__icon{
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.12);
  height: 100%;
  font-size: 14px;
}
.btn__text{
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}

/* Link */
.link{
  font-size: 12px;
  color: #1e5eff;
  text-decoration: none;
}
.link:hover{
  text-decoration: underline;
}

/* Message */
.msg{
  min-height: 14px;
  font-size: 12px;
  color: #b71c1c;
  text-align: center;
}
