/* Festive responsive styling for Wichtel project */
/* Uses system fonts for wide compatibility */

:root{
  --bg1: #0b1020;        /* deep night */
  --bg2: #6b0f1a;        /* deep red */
  --card: rgba(255,255,255,0.06);
  --accent: #ffd166;     /* warm gold */
  --muted: rgba(255,255,255,0.7);
  --glass: rgba(255,255,255,0.03);
  --radius: 14px;
  --max-width: 940px;
}

/* Background with subtle snow and gradient */
html,body{height:100%;}
body{
  margin:0;
  min-height:100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(255,255,255,0.03), transparent 8%),
              linear-gradient(180deg, var(--bg1) 0%, #2b0b0f 55%, var(--bg2) 100%);
  color: #fff;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  padding:24px 16px;
  box-sizing:border-box;
  display:flex;
  justify-content:center;
  align-items:flex-start;
}

/* Container */
.container{
  width:100%;
  max-width:var(--max-width);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:20px;
  box-shadow: 0 10px 30px rgba(2,6,23,0.6);
  padding:22px;
  box-sizing:border-box;
  backdrop-filter: blur(6px);
}

/* Header */
header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:2rem;
}
.header-left{display:flex; align-items:center; gap:12px;}
.logo{
  width:56px; height:56px; border-radius:12px;
  background: linear-gradient(135deg, #ff6b6b, #ffb270);
  display:inline-flex; align-items:center; justify-content:center;
  font-weight:700; color:#3a0b0b;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  font-size:1.4rem;
}
h1{font-size:clamp(1.2rem, 3vw, 2.4rem); margin:0; letter-spacing:0.4px; color:var(--accent); text-shadow:0 2px 8px rgba(0,0,0,0.6);}
header a{color:var(--muted); text-decoration:none; font-size:1rem;}

.notice{background:linear-gradient(90deg, rgba(165, 96, 96, 0.596), rgba(255,255,255,0.02)); border-left:4px solid rgba(255,255,255,0.06); padding:12px; border-radius:10px; color:var(--muted); margin:10px 0;}

/* Forms & inputs */
form{ margin:14px 0; padding:14px; background:var(--glass); border-radius:12px; border:1px solid rgba(255,255,255,0.03); }
label{display:block; font-size:1rem; margin-bottom:6px; color:var(--muted);}
input[type=text], input[type=email], textarea {
  width:100%; padding:12px 14px; border-radius:10px; border:1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02); color: #fff; box-sizing:border-box; font-size:1rem;
}
textarea{ min-height:110px; resize:vertical; }
.small{ font-size:1rem; color:rgba(255,255,255,0.75); margin-top:8px; }

/* Buttons - large, touch-friendly */
button, .btn {
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 18px; gap:8px; border-radius:12px; border:none; cursor:pointer;
  background: linear-gradient(180deg, #ffb270, #ff8a5c);
  color: #3a0b0b; font-weight:600; font-size:1rem;
  box-shadow: 0 8px 18px rgba(0,0,0,0.45), inset 0 -2px 0 rgba(0,0,0,0.06);
}
button.secondary, .btn.secondary {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  color: var(--muted); border:1px solid rgba(255,255,255,0.04);
}

/* Table */
.table{ width:100%; border-collapse:collapse; margin-top:8px; }
.table th, .table td { padding:12px; text-align:left; border-bottom:1px solid rgba(255,255,255,0.03); font-size:1rem; color:var(--muted); }
.table tr:hover td{ background: rgba(255,255,255,0.01); }

.actions{ display:flex; gap:8px; flex-wrap:wrap; margin:8px 0; }

.card { background:var(--card); padding:14px; border-radius:12px; margin-bottom:12px; border:1px solid rgba(255,255,255,0.03); }

footer { margin-top:14px; color:rgba(255,255,255,0.6); font-size:1rem; text-align:center; }

/* Mobile responsive tweaks */
@media (max-width:720px){
  .container{ padding:0px; background:none; box-shadow: none; }
  .logo{ width:48px; height:48px; font-size:1rem; }
  header{ flex-direction:column; align-items:flex-start; gap:10px; }
  button, .btn { width:100%; padding:14px; font-size:1rem; }
  .actions{ width:100%; flex-direction:column; gap:0px; align-items: unset;}
  .actions form {padding:0;margin:5px;}
  .table th, .table td { padding:10px; font-size:1rem; }
  input[type=text], input[type=email], textarea { padding:12px; font-size:1rem; }
}

/* Decorative snowflakes (subtle) */
.snowflake {
  position:fixed; pointer-events:none; z-index:0; opacity:0.06; mix-blend-mode:screen;
}
/* Utility */
.center { text-align:center; }
`