/* assets/css/glass.css */
/* Simple apple-like glassmorphism theme, responsive */

:root{
  --bg1: linear-gradient(180deg, rgba(245,247,250,1) 0%, rgba(235,240,247,1) 100%);
  --glass-bg: rgba(255,255,255,0.55);
  --accent: #0a84ff;
  --muted: #6b6f76;
  --card-radius: 16px;
  --shadow: 0 8px 32px rgba(15,23,42,0.08);
  --glass-border: rgba(255,255,255,0.6);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: var(--bg1);
  color:#0f172a;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  padding: 24px;
}

/* container */
.container {
  max-width:1100px;
  margin: 0 auto;
  padding: 12px;
}

/* glass card */
.glass-card {
  background: var(--glass-bg);
  border-radius: var(--card-radius);
  padding: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid var(--glass-border);
}

/* header */
.header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
}
.brand {
  display:flex;
  gap:12px;
  align-items:center;
}
.brand .logo {
  width:44px;
  height:44px;
  border-radius:10px;
  background:linear-gradient(135deg,#e8f1ff,#ffffff);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  color:var(--accent);
  box-shadow: 0 6px 18px rgba(10,132,255,0.08);
}
.brand h1{
  margin:0;
  font-size:18px;
  letter-spacing:-0.2px;
}

/* buttons */
.btn {
  display:inline-block;
  padding:8px 12px;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
}
.btn-primary { background: linear-gradient(180deg,#1777ff,#0b63e6); color:#fff; border:none; }
.btn-ghost { background:transparent; color:var(--accent); border:1px solid rgba(10,132,255,0.12); }

/* grid */
.grid {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.grid .card { padding:14px; border-radius:12px; background:rgba(255,255,255,0.6); }

/* responsive */
@media (max-width:900px){
  .grid { grid-template-columns: 1fr; }
  .brand h1{ font-size:16px }
}

/* tables */
.table {
  width:100%;
  border-collapse:collapse;
}
.table th, .table td {
  padding:10px 8px;
  text-align:left;
  border-bottom: 1px solid rgba(15,23,42,0.04);
  font-size:14px;
}

/* small utilities */
.text-muted{ color:var(--muted); font-size:13px }
.center{ text-align:center }
.qr-img{ max-width:240px; border-radius:8px; box-shadow: 0 8px 24px rgba(15,23,42,0.06); }
.invitation-parallax{
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  min-height: 48vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 40px 16px;
}
.invitation-card{ max-width:860px; margin:auto; text-align:center; padding:28px; }

/* form */
.form-group{ margin-bottom:12px; }
input[type="text"], input[type="password"], textarea {
  width:100%; padding:10px 12px; border-radius:10px; border:1px solid rgba(15,23,42,0.06);
  background: rgba(255,255,255,0.75);
}

/* small notice */
.notice { padding:10px; border-radius:10px; background: #fff; border:1px solid rgba(15,23,42,0.03); }

/* scanner layout */
#reader { width:100%; max-width:640px; margin:auto; border-radius:12px; overflow:hidden; }
