:root{
  --bg:#0b0f14;
  --card:#11161d;
  --text:#e6eaf0;
  --muted:#b8c2cc;
  --primary:#6ea8fe;
  --r:16px;
  --shadow:0 10px 30px rgba(0,0,0,.5);
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:system-ui, Segoe UI, Roboto, Helvetica, Arial;
  background:var(--bg);
  color:var(--text);
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
}

.container{
  background:var(--card);
  padding:36px;
  border-radius:var(--r);
  box-shadow:var(--shadow);
  text-align:center;
  width:min(520px, 92vw);
}

h1{margin:0 0 8px;font-size:30px}
.muted{color:var(--muted);margin:0 0 18px}

.form{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:10px;
}

.file-center{
  display:flex;
  justify-content:center;
}

#photoInput{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}

.file-name{
  color:var(--muted);
  font-size:14px;
  min-height:18px;
}

.btn{
  background:var(--primary);
  color:#081019;
  padding:12px 18px;
  border-radius:12px;
  font-weight:800;
  border:none;
  cursor:pointer;
  width:100%;
}
.btn:hover{filter:brightness(1.07)}
.btn:disabled{opacity:.55;cursor:not-allowed}

.btn-outline{
  background:transparent;
  color:var(--text);
  border:1px solid rgba(255,255,255,.25);
  width:auto;
  padding:12px 18px;
}

.alert{
  margin-top:14px;
  padding:12px 14px;
  border-radius:12px;
  font-size:14px;
  line-height:1.35;
  text-align:left;
}
.alert.success{
  background:#0f5132;
  color:#d1f7e1;
  border:1px solid #0b3d26;
}
.alert.error{
  background:#5c2a2a;
  color:#ffe1e1;
  border:1px solid #4a1f1f;
}

.mini-link{
  display:inline-block;
  margin-top:14px;
  font-size:13px;
  color:var(--muted);
  text-decoration:none;
}
.mini-link:hover{
  color:var(--text);
  text-decoration:underline;
}

.hidden{display:none !important;}