@charset "UTF-8";

/* Mekan Sahibi Paneli - admin.css bileşenlerini kullanır, küçük farklar */
:root {
  --adm-sidebar-w: 15.5rem;
}

#authScreen:not(.hidden) {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  background: var(--adm-bg);
}

#authScreen .pn-auth-box {
  width: 100%;
  max-width: 26rem;
  background: var(--adm-surface);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius-lg);
  padding: 2rem;
  box-shadow: var(--adm-shadow);
}

#authScreen .pn-auth-box h1 {
  font-family: var(--adm-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 .25rem;
  color: var(--adm-brand);
}

#authScreen .pn-auth-tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 1rem;
}

.pn-tab-btn {
  flex: 1;
  padding: .55rem;
  border-radius: .55rem;
  border: 1px solid var(--adm-border);
  background: transparent;
  color: var(--adm-muted);
  font-size: .8125rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.pn-tab-btn.active {
  background: var(--adm-brand);
  border-color: var(--adm-brand);
  color: var(--adm-brand-fg);
}

.adm-sidebar-logo.owner { background: linear-gradient(135deg, #06c4b8, #08f9e7); }

.adm-tabs .adm-tab { text-decoration: none; }

.menu-row.adm-sort-item { align-items: flex-start; }
.menu-row .adm-sort-body.menu-row-fields {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr auto;
  gap: .5rem;
  width: 100%;
}
@media (max-width: 640px) {
  .menu-row .adm-sort-body.menu-row-fields { grid-template-columns: 1fr; }
}

.adm-menu-img-cell { flex-shrink: 0; }
.adm-menu-img-box {
  position: relative;
  width: 4.5rem;
  height: 4.5rem;
  border: 1.5px dashed var(--adm-border);
  border-radius: .55rem;
  background: var(--adm-bg);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s, background .15s;
}
.adm-menu-img-box:hover { border-color: var(--adm-brand); background: var(--adm-brand-glow); }
.adm-menu-img-box.adm-dropzone-busy { opacity: .6; pointer-events: none; }
.adm-menu-img-box.has-img { border-style: solid; }
.adm-menu-img-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.adm-menu-img-box.has-img .adm-menu-img-preview { display: block; }
.adm-menu-img-box.has-img .adm-menu-img-placeholder { display: none; }
.adm-menu-img-placeholder { color: var(--adm-muted2); display: flex; align-items: center; justify-content: center; }
.adm-menu-img-placeholder i { width: 1.35rem; height: 1.35rem; color: var(--adm-brand); }
.adm-menu-img-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 1.25rem;
  height: 1.25rem;
  border: none;
  border-radius: 999px;
  background: rgba(127,29,29,.9);
  color: #fecaca;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: .75rem;
  line-height: 1;
}
.adm-menu-img-box.has-img .adm-menu-img-remove { display: flex; }

.pn-qr-wrap {
  text-align: center;
  max-width: 22rem;
  margin: 0 auto;
}

.pn-qr-wrap #qrcode {
  display: inline-block;
  padding: .75rem;
  background: #fff;
  border-radius: var(--adm-radius);
  margin-bottom: 1rem;
}

.pn-qr-wrap #qrcode img { display: block; }
