/* ================================================================
   recovery.css — Obnova hesla
   ================================================================ */

html, body {
  height: 100%; background: var(--c-bg); color: var(--c-text);
  font-family: 'DM Sans', sans-serif; font-weight: 300;
}
body {
  display: grid; place-items: center; min-height: 100vh;
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(200,168,75,.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(200,168,75,.05) 0%, transparent 55%);
}
body::before, body::after {
  content: ''; position: fixed; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-accent), transparent); opacity: .3;
}
body::before { top: 0; } body::after { bottom: 0; }

.card {
  width: 100%; max-width: 420px; padding: 48px 40px 40px;
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius); box-shadow: 0 24px 80px rgba(0,0,0,.5);
  animation: slideUp .5s cubic-bezier(.16,1,.3,1) both;
}

.logo-wrap { text-align: center; margin-bottom: 32px; }
.logo-emblem {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border: 1.5px solid var(--c-accent); border-radius: 50%; margin-bottom: 16px;
}
.logo-emblem svg { width: 30px; height: 30px; fill: var(--c-accent); }
.logo-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; letter-spacing: .02em; }
.logo-sub { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--c-accent); margin-top: 4px; }

.page-heading { font-family: 'Playfair Display', serif; font-size: 1.25rem; margin-bottom: 8px; }
.page-desc { font-size: .88rem; color: var(--c-muted); margin-bottom: 24px; line-height: 1.6; }

.divider { border: none; border-top: 1px solid var(--c-border); margin: 0 0 28px; }
.field { margin-bottom: 20px; }
label { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 8px; }
input[type="text"], input[type="password"], input[type="email"] {
  width: 100%; padding: 12px 16px; background: var(--c-bg); border: 1px solid var(--c-border);
  border-radius: 8px; color: var(--c-text); font-family: 'DM Sans', sans-serif; font-size: .95rem;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
input:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(200,168,75,.15); }
input.field-error { border-color: var(--c-error); }

.msg {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px; border-radius: 8px; font-size: .88rem; margin-bottom: 20px; line-height: 1.5;
}
.msg svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; margin-top: 2px; }
.msg-ok    { background: rgba(107,207,127,.1); border: 1px solid rgba(107,207,127,.3); color: var(--c-ok); }
.msg-error { background: rgba(224,92,92,.1);  border: 1px solid rgba(224,92,92,.3);  color: var(--c-error); animation: shake .35s ease both; }

.btn-primary {
  width: 100%; padding: 14px; margin-top: 4px;
  background: var(--c-accent); color: #0f1117; border: none; border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 500;
  cursor: pointer; transition: background .2s, transform .1s; display: block; text-align: center; text-decoration: none;
}
.btn-primary:hover  { background: var(--c-accent2); }
.btn-primary:active { transform: scale(.98); }

.btn-link {
  display: block; text-align: center; margin-top: 16px;
  font-size: .85rem; color: var(--c-muted); text-decoration: none; transition: color .2s;
}
.btn-link:hover { color: var(--c-accent); }

.done-icon { display: flex; justify-content: center; margin-bottom: 20px; }
.done-icon svg { width: 52px; height: 52px; fill: var(--c-ok); }

@media (max-width: 480px) { .card { padding: 36px 24px 28px; margin: 16px; } }
