/* Owner area sign-in: glassmorphism over the guesthouse photo, in the colours of pensiuneabarka.com. */
:root{ --esp: #1C110C; --sand: #D7CEB1; --cream: #F4EFE3; --serif: "Instrument Serif", Georgia, serif; --sans: Inter, Arial, sans-serif; }
*{ box-sizing: border-box; }
html{ background: var(--esp); }
body.sl{ margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; color: var(--cream); font: 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.sl-photo{ position: fixed; inset: -20px; z-index: -3; background: url("/assets/barka/pensiunea-barka-iarna.jpg") 45% 50% / cover no-repeat; }
.sl-tint{ position: fixed; inset: 0; z-index: -2; background: linear-gradient(100deg, rgba(28,17,12,.78) 0%, rgba(28,17,12,.45) 48%, rgba(28,17,12,.6) 100%), linear-gradient(180deg, transparent 55%, rgba(28,17,12,.75) 100%); }
/* soft light behind the glass, so the blur has something to catch */
.sl-orb{ position: fixed; z-index: -1; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.sl-orb-a{ width: 420px; height: 420px; right: 8%; top: 12%; background: radial-gradient(circle, rgba(215,206,177,.45), transparent 70%); }
.sl-orb-b{ width: 340px; height: 340px; right: 26%; bottom: 6%; background: radial-gradient(circle, rgba(160,110,70,.4), transparent 70%); }

.sl-main{ flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: clamp(28px, 6vh, 72px) clamp(18px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 440px); gap: clamp(28px, 6vw, 90px); align-items: center; }
.sl-hero{ max-width: 560px; }
.sl-logo{ display: block; width: 200px; height: auto; margin: 0 0 26px; filter: drop-shadow(0 6px 24px rgba(0,0,0,.35)); }
.sl-kick{ display: flex; align-items: center; gap: 12px; margin: 0; font: 600 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }
.sl-kick::before{ content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.sl-hero h1{ margin: 18px 0 0; font: 400 clamp(42px, 5vw, 64px)/1.04 var(--serif); text-shadow: 0 2px 26px rgba(20,10,6,.45); }
.sl-hero h1 em{ color: var(--sand); }
.sl-lead{ margin: 16px 0 0; max-width: 440px; color: rgba(244,239,227,.8); text-shadow: 0 1px 14px rgba(20,10,6,.6); }

/* the glass card */
.sl-card{ position: relative; display: grid; gap: 14px; padding: 34px 32px 26px; border-radius: 34px; overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.05) 55%, rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(28px) saturate(1.6); backdrop-filter: blur(28px) saturate(1.6);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 0 rgba(255,255,255,.06); }
.sl-card::before{ content: ""; position: absolute; inset: 0 0 auto; height: 55%; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.1), transparent); }
.sl-card > *{ position: relative; }
.sl-card-kick{ margin: 0; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }
.sl-card h2{ margin: -2px 0 0; font: 400 40px/1.05 var(--serif); }
.sl-sub{ margin: -6px 0 8px; font-size: 14px; color: rgba(244,239,227,.72); }
.sl-field{ position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 64px; padding: 10px 16px; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); cursor: text; transition: border-color .2s, background .2s, box-shadow .2s; }
.sl-field:hover{ background: rgba(255,255,255,.11); }
.sl-field:focus-within{ border-color: rgba(215,206,177,.8); box-shadow: 0 0 0 3px rgba(215,206,177,.2); background: rgba(255,255,255,.12); }
.sl-field > span{ font-size: 11.5px; color: var(--sand); }
.sl-field input{ -webkit-appearance: none; appearance: none; width: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: var(--cream); font: 500 16px/1.3 var(--sans); outline: none; color-scheme: dark; }
.sl-field input::placeholder{ color: rgba(244,239,227,.35); }
.sl-field input:-webkit-autofill{ -webkit-text-fill-color: var(--cream); transition: background-color 9999s; }
.sl-pass{ padding-right: 58px; }
.sl-eye{ position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: rgba(244,239,227,.65); cursor: pointer; }
.sl-eye:hover, .sl-eye[aria-pressed="true"]{ color: var(--sand); background: rgba(255,255,255,.1); }
.sl-msg{ min-height: 0; margin: 0 4px; font-size: 14px; color: #F6C2B6; text-align: center; }
.sl-msg:empty{ display: none; }
.sl-btn{ display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; margin-top: 4px; border: 0; border-radius: 20px; background: var(--sand); color: var(--esp); font: 600 15.5px/1 var(--sans); cursor: pointer; box-shadow: 0 14px 30px -14px rgba(215,206,177,.6); transition: background .2s, transform .1s; }
.sl-btn:hover:not(:disabled){ background: #E2DAC2; }
.sl-btn:active{ transform: scale(.99); }
.sl-btn:disabled{ opacity: .6; cursor: wait; }
.sl-btn:focus-visible, .sl-eye:focus-visible{ outline: 2px solid var(--sand); outline-offset: 3px; }
.sl-foot{ display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: rgba(244,239,227,.55); text-align: center; }
.sl-foot svg{ flex: none; color: var(--sand); }
.sl-bottom{ display: flex; justify-content: center; gap: 10px; padding: 0 16px calc(20px + env(safe-area-inset-bottom, 0px)); font-size: 12.5px; color: rgba(244,239,227,.45); }
.sl-bottom a{ color: var(--sand); text-decoration: none; }
.sl-bottom a:hover{ text-decoration: underline; }

@media (max-width: 900px){
  .sl-main{ grid-template-columns: 1fr; gap: 26px; align-content: start; padding-top: 34px; }
  .sl-hero{ text-align: center; margin: 0 auto; }
  .sl-logo{ margin: 0 auto 18px; width: 170px; }
  .sl-kick{ justify-content: center; }
  .sl-kick::after{ content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
  .sl-hero h1{ font-size: 38px; }
  .sl-lead{ display: none; }
  .sl-card{ width: min(100%, 460px); margin: 0 auto; }
  .sl-orb-a{ right: -10%; top: 30%; }
}
@media (max-width: 420px){ .sl-card{ padding: 26px 18px 20px; border-radius: 28px; } .sl-hero h1{ font-size: 32px; } .sl-card h2{ font-size: 34px; } }
@media (max-width: 900px){ .sl-kick{ font-size: 10.5px; letter-spacing: .14em; } .sl-kick::before, .sl-kick::after{ display: none; } }

