/* styles.css - responsive, clean */
:root{
  --max-w: 720px;
  --accent:#1e90ff;
  --bg: #f7fbff;
  --card:#ffffff;
  --muted:#666;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
body{
  margin:0;
  background: linear-gradient(180deg, var(--bg), #eef6ff);
  min-height:100vh;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:40px 16px;
  color:#111;
}

.container{
  width:100%;
  max-width:var(--max-w);
  background:transparent;
}

h1{
  margin:0 0 18px 0;
  font-size:28px;
  text-align:center;
}

form{
  background:var(--card);
  padding:16px;
  border-radius:12px;
  box-shadow:0 6px 18px rgba(20,30,60,0.08);
  margin-bottom:16px;
}

.input-row{
  display:flex;
  gap:8px;
  margin-top:8px;
}

input[type="text"]{
  flex:1;
  padding:10px 12px;
  font-size:16px;
  border-radius:8px;
  border:1px solid #d7e6ff;
  outline:none;
}

input[type="text"]:focus{ box-shadow:0 0 0 3px rgba(30,144,255,0.12) }

button{
  padding:10px 14px;
  border-radius:8px;
  border: none;
  cursor:pointer;
  background:var(--accent);
  color:white;
  font-weight:600;
}

.error{
  color:#b00020;
  margin-top:8px;
  min-height:18px;
}

.card{
  background:var(--card);
  padding:18px;
  border-radius:12px;
  box-shadow:0 6px 18px rgba(20,30,60,0.06);
}

.hidden{ display:none }

.top{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

#iconWrap img{ width:64px; height:64px; object-fit:contain; }

.details{
  margin-top:10px;
  color:var(--muted);
  font-size:15px;
  line-height:1.5;
}

.muted{ color:var(--muted); }

footer{
  margin-top:12px;
  text-align:center;
  color:var(--muted);
  font-size:14px;
}

/* responsive tweaks */
@media (max-width:480px){
  h1{ font-size:22px }
  .input-row{ flex-direction:column }
  button{ width:100% }
  #iconWrap img{ width:52px; height:52px }
}
