/* Sarena Trading — login & register, wide row image on top */
html,body{margin:0}
body.sr-auth{
  color:#24182F;
  font-family:Sora,"Segoe UI",sans-serif;
  background:
    radial-gradient(640px 240px at 50% -30px, rgba(255,77,109,.18), transparent 70%),
    #F6F1EA;
}
body.sr-auth main{min-height:100vh}

.sr-auth-wrap{
  width:min(760px, calc(100% - 28px));
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:22px 0 40px;
}

.sr-back{
  display:inline-flex;align-items:center;gap:12px;
  color:#24182F;text-decoration:none;font-weight:700;
  font-family:Fraunces,Georgia,serif;font-size:1.2rem;
}
.sr-back img{
  width:52px;height:52px;border-radius:18px;display:block;
  filter:drop-shadow(0 8px 16px rgba(36,24,47,.16));
}

.sr-row{
  margin:0;border-radius:24px;overflow:hidden;
  background:#24182F;
  box-shadow:0 18px 40px rgba(36,24,47,.14);
}
.sr-row img{
  display:block;width:100%;height:220px;
  object-fit:cover;object-position:center 35%;
}

.sr-card{
  background:#fff;color:#24182F;
  padding:26px 22px 22px;
  border-radius:24px;
  box-shadow:0 16px 36px rgba(36,24,47,.08);
}
.sr-card h2{
  margin:0;
  font-family:Fraunces,Georgia,serif;
  font-size:clamp(1.8rem, 4vw, 2.4rem);
  font-weight:720;letter-spacing:-.03em;line-height:1;
}
.sr-card h2 em{font-style:italic;color:#C23B56}
.sr-card .sr-sub{margin:8px 0 16px;color:#6B4C7A}

.sr-alert{margin:0 0 12px;padding:10px 12px;font-size:.9rem;font-weight:600;border-radius:12px}
.sr-alert.err{background:#FFD5DE;color:#8E2438}
.sr-alert.ok{background:#E7F6EA;color:#1D6B3A}

.sr-field{
  display:flex;align-items:center;gap:8px;
  min-height:54px;margin-bottom:10px;padding:0 8px 0 0;
  background:#F6F1EA;
  border-radius:16px;overflow:hidden;
}
.sr-field-icon{
  width:48px;height:54px;flex:0 0 48px;display:grid;place-items:center;
  background:#24182F;color:#FF4D6D;
}
.sr-field-icon svg{width:20px;height:20px}
.sr-field input,.sr-field select{
  flex:1;min-width:0;height:52px;border:0;background:transparent;
  color:#24182F;font:inherit;font-size:1rem;outline:none;
}
.sr-field select{cursor:pointer}
.sr-eye{
  width:40px;height:40px;border:0;background:transparent;color:#24182F;cursor:pointer;
}
.sr-eye svg{width:20px;height:20px}

.sr-options{
  display:flex;justify-content:space-between;gap:10px;align-items:center;
  margin:4px 2px 12px;font-size:.86rem;
}
.sr-options label{display:flex;align-items:center;gap:6px}
.sr-options button{
  border:0;background:transparent;color:#C23B56;font:inherit;font-weight:700;cursor:pointer;
}
.sr-note{margin:-4px 0 12px;color:#6B4C7A;font-size:.86rem}
.sr-note.is-on{display:block}

.sr-submit{
  width:100%;min-height:56px;border:0;cursor:pointer;
  display:flex;align-items:center;justify-content:flex-start;gap:0;
  padding:0;background:transparent;color:#F6F1EA;
  font-family:Syne,Figtree,sans-serif;font-weight:700;font-size:1rem;
}
.sr-submit span.sr-ico{
  width:56px;height:56px;display:grid;place-items:center;flex:0 0 auto;
  background:#FF4D6D;color:#24182F;
  clip-path:polygon(22% 0, 78% 0, 100% 50%, 78% 100%, 22% 100%, 0 50%);
}
.sr-submit .submit-label,
.sr-submit > span:not(.sr-ico){
  flex:1;min-height:56px;display:grid;place-items:center;
  margin-left:-6px;background:#24182F;color:#F6F1EA;
  clip-path:polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.sr-submit > i{display:none}
.sr-switch{margin-top:16px;text-align:center;color:#6B4C7A}
.sr-switch a{
  display:inline-flex;align-items:center;gap:8px;margin-top:8px;
  color:#24182F;font-weight:800;text-decoration:none;
}

.acct-lock{
  position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:18px;
  background:rgba(36,24,47,.55);
}
.acct-lock-card{
  width:min(420px,100%);padding:22px;background:#F6F1EA;color:#24182F;text-align:center;
  border-radius:22px;
}
.acct-lock-ico{font-size:1.6rem;color:#C23B56}
.acct-lock-btn,.acct-lock-close{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:44px;margin-top:8px;padding:0 14px;text-decoration:none;font-weight:700;border-radius:12px;
}
.acct-lock-btn{background:#24182F;color:#F6F1EA;border:0}
.acct-lock-close{margin-left:8px;background:transparent;border:0;color:#24182F;cursor:pointer}

@media (max-width:640px){
  .sr-row img{height:168px}
  .sr-card{padding:20px 16px}
}
