/* assets/style.css */
:root{
  --card-bg: rgba(255,255,255,0.18);
  --card-border: rgba(255,255,255,0.22);
  --text: #eaf2ff;
  --muted: rgba(234,242,255,0.8);
  --shadow: rgba(0,0,0,0.35);
  --btn: rgba(10, 35, 70, 0.9);
  --btn2: rgba(25, 70, 130, 0.92);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  overflow:hidden;
}

/* Background */
.bg{
  position:fixed;
  inset:0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.55) 75%),
    url("world-map.png") center/cover no-repeat;
  filter: saturate(1.1) contrast(1.05);
}

/* Center card */
.login-wrap{
  position:relative;
  height:100%;
  display:grid;
  place-items:center;
  padding:24px;
}

.login-card{
  width: min(440px, 92vw); /* slightly wider for logo */
  background: rgba(40, 70, 140, 0.35); /* MUCH more transparent */
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  padding: 28px 26px 22px;
}


/* Logo */
.logo{
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.logo-circle{
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35); /* subtle depth only */
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-circle img{
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
}





/* Form */
.login-form{
  display:grid;
  gap: 12px;
}
label span{
  display:block;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 6px;
}
input[type="text"], input[type="password"]{
  width:100%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.18);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  outline:none;
}
input:focus{
  border-color: rgba(255,255,255,0.45);
}

.pwd-row{
  display:flex;
  gap:8px;
  align-items:center;
}
.eye{
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.18);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  cursor:pointer;
}
.eye:hover{ background: rgba(0,0,0,0.26); }

.remember{
  display:flex;
  gap:10px;
  align-items:center;
  user-select:none;
  color: var(--muted);
  font-size: 14px;
}
.remember input{ width:16px; height:16px; }

.err{
  background: rgba(255,80,80,0.18);
  border: 1px solid rgba(255,80,80,0.35);
  padding: 10px 12px;
  border-radius: 10px;
  color: #ffecec;
  font-size: 14px;
}

.btn{
  border: 0;
  padding: 12px 14px;
  border-radius: 10px;
  color: #fff;
  cursor:pointer;
  font-weight: 650;
  background: linear-gradient(180deg, var(--btn2), var(--btn));
  box-shadow: 0 10px 18px rgba(0,0,0,0.25);
}
.btn:hover{ filter: brightness(1.05); }
.btn:active{ transform: translateY(1px); }

.hint{
  text-align:center;
  font-size: 12px;
  color: rgba(234,242,255,0.72);
  margin-top: 2px;
}

/* Welcome pages */
body.page{
  overflow:auto;
  background: #0b1a2f;
  padding: 28px;
}
.page-card{
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 22px;
}
.page-card hr{
  border:0;
  height:1px;
  background: rgba(255,255,255,0.16);
  margin: 18px 0;
}
.linkbtn{
  display:inline-block;
  text-decoration:none;
  margin-top: 8px;
}
