/* Bar owner sign-up, login and dashboard (/owner) */

.auth { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 40px; padding-bottom: 80px; align-items: flex-start; }
.auth-intro { flex: 1 1 340px; display: flex; flex-direction: column; gap: 22px; }
.auth-intro h1 { font-size: clamp(36px, 7vw, 60px); }
.auth-card { flex: 1 1 380px; max-width: 520px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 20px; }
.auth-mascot { width: 180px; height: 180px; border-radius: 50%; }
.promo { display: inline-flex; align-self: flex-start; background: var(--green); color: var(--black); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.owner-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 18px; }
.owner-list li { display: flex; gap: 12px; align-items: center; }
.tick { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--green); position: relative; }
.tick::after { content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--black); border-width: 0 3px 3px 0; transform: rotate(45deg); }

.tabs { display: flex; gap: 6px; padding: 4px; background: var(--black); border: 1px solid var(--line); border-radius: 999px; }
.tabs [role="tab"] { flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 700 16px var(--font-body); cursor: pointer; padding: 0 16px; }
.tabs [role="tab"][aria-selected="true"] { background: var(--orange); color: var(--black); }

.o-form { display: flex; flex-direction: column; gap: 16px; }
.o-form hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; width: 100%; }
.o-form .btn { width: 100%; }
.hint { font-size: 14px; color: var(--muted); font-weight: 500; }
.form-error { color: #FF9C7A; font-weight: 700; }
.pw { position: relative; display: block; }
.pw input { padding-right: 76px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--white); font: 600 14px var(--font-body); cursor: pointer; }
.check { display: flex; align-items: center; gap: 12px; font-weight: 600; min-height: 44px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--green); }
.grid2 { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .o-form.profile .btn { width: auto; align-self: flex-start; } }

/* Dashboard */
.dash { padding-top: 32px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 24px; }
.dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.dash-head h1 { font-size: clamp(32px, 6vw, 54px); }
.dash-tabs { align-self: flex-start; }
.panel-help { max-width: 680px; }
.m-tools { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin: 16px 0 8px; }
.o-day { font-family: var(--font-head); font-weight: 800; font-size: 22px; margin: 20px 0 10px; }
.o-list { display: flex; flex-direction: column; gap: 10px; }
.o-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 16px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px;
}
.o-row.on { border-color: var(--green); }
.o-row .t { font-family: var(--font-head); font-weight: 800; font-size: 24px; line-height: 1; text-align: center; min-width: 64px; }
.o-row .t small { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--green); letter-spacing: 0.06em; margin-top: 4px; }
.o-row .name { font-weight: 700; font-size: 17px; line-height: 1.25; }
.o-row .sub { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-top: 4px; }
.o-row .switches { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (min-width: 760px) { .o-row { grid-template-columns: auto minmax(0, 1fr) auto; } .o-row .switches { grid-column: auto; } }
.toggle input:disabled + .toggle-track { opacity: 0.35; }
.toggle input:disabled ~ span:last-child { color: var(--muted); }
.saving { opacity: 0.6; pointer-events: none; }

.toast {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 50;
  background: var(--white); color: var(--black); font-weight: 700; padding: 12px 20px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); max-width: calc(100vw - 32px);
}
.toast.error { background: #FF9C7A; }
.status-pill { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; margin-left: 8px; vertical-align: middle; }
.status-active { background: var(--green); color: var(--black); }
.status-paused, .status-pending { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
