/* Torres Sunrise Beach — pantallas de ingreso y recuperación */
@import url('tsb-skin.css');

html, body { height: 100%; }
body.tsb-auth { margin: 0; background: #fff; color: var(--tsb-ink-2); }
.tsb-auth-wrap { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr); }
.tsb-auth-photo { position: relative; background: #DDE3E8 url('../images/imagenfront2.jpeg') 22% 42% / cover no-repeat; }
.tsb-auth-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,43,62,0) 55%, rgba(13,43,62,.72) 100%); }
.tsb-auth-photo figcaption { position: absolute; left: 40px; right: 40px; bottom: 36px; z-index: 1; color: #fff; }
.tsb-auth-photo figcaption strong { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.tsb-auth-photo figcaption span { color: #D3E4EE; font-size: 14px; }

.tsb-auth-panel { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(24px, 6vw, 88px); background: #fff; }
.tsb-auth-card { width: 100%; max-width: 400px; margin: 0 auto; }
.tsb-auth-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; }
.tsb-auth-brand img { height: 64px; width: auto; }
.tsb-auth-brand div { font-size: 13px; color: var(--tsb-muted); line-height: 1.4; border-left: 1px solid var(--tsb-line); padding-left: 14px; }
.tsb-auth-brand b { display: block; color: var(--tsb-ink); font-size: 14px; }
.tsb-auth h1 { font-size: 28px; font-weight: 800; color: var(--tsb-ink); letter-spacing: -.02em; margin: 0 0 8px; }
.tsb-auth .tsb-lead { color: var(--tsb-muted); font-size: 15px; margin: 0 0 28px; line-height: 1.55; }
.tsb-auth .form-group { margin-bottom: 18px; }
.tsb-auth label { display: block; margin-bottom: 7px; font-size: 13px; }
.tsb-auth .form-control { height: 46px; font-size: 15px; }
.tsb-pass { position: relative; }
.tsb-pass .form-control { padding-right: 76px; }
.tsb-pass-toggle { position: absolute; right: 6px; top: 6px; height: 34px; border: 0; background: transparent; color: var(--tsb-sea); font-weight: 600; font-size: 13px; padding: 0 10px; border-radius: 8px; cursor: pointer; }
.tsb-pass-toggle:hover { background: var(--tsb-sea-50); }
.tsb-row-between { display: flex; justify-content: space-between; align-items: center; margin: -4px 0 22px; font-size: 13.5px; }
.tsb-auth .btn-block { height: 48px; font-size: 15px; border-radius: 12px !important; }
.tsb-auth .btn-primary { background: var(--tsb-deep) !important; border-color: var(--tsb-deep) !important; }
.tsb-auth .btn-primary:hover { background: var(--tsb-deep-2) !important; }
.tsb-forgot { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; border: 1px solid var(--tsb-line); border-radius: 12px; background: #F7FAFC; font-size: 13.5px; line-height: 1.5; }
.tsb-forgot .fa { color: var(--tsb-sunrise); font-size: 18px; margin-top: 1px; }
.tsb-forgot a { font-weight: 700; }
.tsb-auth-foot { margin-top: 40px; font-size: 12px; color: #93A1B0; }
.tsb-result { border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.5; margin-bottom: 18px; display: none; }
.tsb-result.is-ok { display: block; background: var(--tsb-ok-50); color: #0E6B4C; border: 1px solid #BFE5D5; }
.tsb-result.is-bad { display: block; background: var(--tsb-bad-50); color: #9E2B2B; border: 1px solid #F0C9C9; }
.tsb-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13.5px; margin-bottom: 28px; }

@media (max-width: 900px) {
  .tsb-auth-wrap { grid-template-columns: 1fr; }
  .tsb-auth-photo { height: 200px; background-position: center 35%; }
  .tsb-auth-photo figcaption { left: 20px; bottom: 16px; }
  .tsb-auth-photo figcaption strong { font-size: 18px; }
  .tsb-auth-panel { padding: 28px 16px 36px; justify-content: flex-start; }
  .tsb-auth-brand { margin-bottom: 24px; }
}
