/* Kaynak: apps/admin/src/views/login-gate.css — değiştirince bu kopyayı da güncelle */
.login-gate {
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  background: #f4f0e8;
  overflow: hidden;
}

.login-gate__carousel,
.login-gate__panel {
  min-height: 0;
  height: 100%;
}

.login-gate__carousel {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: #0c0d10;
}

.login-gate__swiper,
.login-gate__swiper .swiper-wrapper,
.login-gate__swiper .swiper-slide {
  height: 100%;
}

.login-gate__swiper {
  position: relative;
  height: 100%;
}

.login-gate__slide {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.login-gate__slide-media {
  position: absolute;
  inset: 0;
}

.login-gate__slide-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  opacity: 0.22;
  pointer-events: none;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

.login-gate__slide-mark img {
  width: min(42vw, 280px);
  height: auto;
  object-fit: contain;
}

.login-gate__slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 13, 16, 0.15) 0%, rgba(12, 13, 16, 0.78) 100%);
}

.login-gate__slide-copy {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  max-width: 640px;
  color: #fff;
}

.login-gate__slide-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.login-gate__slide-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 0.85rem;
  color: #fff;
}

.login-gate__slide-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.login-gate__pagination {
  position: absolute;
  left: clamp(1.5rem, 4vw, 3.5rem);
  bottom: clamp(1.25rem, 3vw, 2rem);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.login-gate__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

.login-gate__pagination .swiper-pagination-bullet-active {
  background: #fff;
  transform: scale(1.15);
}

.login-gate__panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #f4f0e8;
  pointer-events: auto;
}

.login-gate__panel-body {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow-y: auto;
}

.login-gate__attribution {
  flex-shrink: 0;
}

.login-gate__panel-inner {
  width: min(100%, 440px);
  margin-inline: auto;
}

.login-gate__card {
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.08);
}

.login-gate__card-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1.35rem;
}

.login-gate__card-brand .Jetpozz-logo-wrap {
  display: inline-flex;
}

.login-gate__card-brand .Jetpozz-logo {
  display: block;
  max-height: 52px;
  width: auto !important;
  height: auto !important;
  max-width: min(240px, 100%);
  object-fit: contain;
}

.login-gate__title {
  font-size: 1.65rem;
  margin: 0 0 0.35rem;
  color: #111;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.login-gate__card-intro {
  color: #6b6b6b;
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.5;
}

.login-gate__alert {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.9rem;
  text-align: center;
}

.login-gate__form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.login-gate__field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.login-gate__label {
  display: block;
  width: 100%;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
}

.login-gate__input,
.login-gate .form-control,
.login-gate .password-input-box .form-control {
  display: block;
  width: 100%;
  min-height: 48px;
  height: 48px;
  margin: 0;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 12px;
  background: #fff !important;
  color: #111;
  font-size: 0.95rem;
  line-height: 1.4;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.login-gate .password-input-box .form-control {
  padding-right: 2.75rem;
}

.login-gate__input:focus,
.login-gate .form-control:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.login-gate__password {
  position: relative;
}

.login-gate__password .login-gate__input {
  padding-right: 2.75rem;
}

.login-gate__password-toggle {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  color: #6b6b6b;
  font-size: 1rem;
}

.login-gate__password-toggle:hover {
  color: #111;
}

.login-gate__form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.25rem;
  flex-wrap: wrap;
}

.login-gate__remember {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  cursor: pointer;
  user-select: none;
  font-size: 0.9rem;
  color: #4a4a4a;
}

.login-gate__remember input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: #111;
  cursor: pointer;
  flex-shrink: 0;
}

.login-gate__forgot-link {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  color: #1d4ed8;
  text-decoration: none;
}

.login-gate__forgot-link:hover {
  text-decoration: underline;
}

.login-gate__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

.login-gate__submit:hover:not(:disabled) {
  background: #222;
  transform: translateY(-1px);
}

.login-gate__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.login-gate__divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: #9a9a9a;
  font-size: 0.82rem;
}

.login-gate__divider::before,
.login-gate__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(17, 17, 17, 0.1);
}

.login-gate__social-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.login-gate__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #fff;
  color: #111;
  font-size: 0.82rem;
  font-weight: 600;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
}

.login-gate__social-btn:hover:not(:disabled) {
  border-color: rgba(17, 17, 17, 0.24);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.08);
  transform: translateY(-1px);
}

.login-gate__social-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.login-gate__social-btn--apple {
  background: #111;
  color: #fff;
  border-color: #111;
}

.login-gate__social-btn--google {
  background: #fff;
  color: #111;
}

.login-gate__footer-note {
  margin-top: 1.25rem;
  text-align: center;
  color: #8a8a8a;
  font-size: 0.88rem;
}

.login-gate__footer-note a {
  color: #4a4a4a;
  font-weight: 600;
  text-decoration: none;
}

.login-gate__footer-note a:hover {
  text-decoration: underline;
}

.login-gate__workspace-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-gate__workspace-header h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: #111;
}

.login-gate__workspace-header p {
  margin: 0;
  color: #6b6b6b;
  font-size: 0.92rem;
  line-height: 1.5;
}

.login-gate__workspace-search {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  background: #fff;
  color: #111;
  padding: 0 0.9rem;
  font-size: 0.92rem;
}

.login-gate__workspace-search:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.login-gate__workspace-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-height: min(52vh, 420px);
  overflow: auto;
  padding-right: 0.15rem;
}

.login-gate__workspace-card {
  border-radius: 16px;
  border: 1.5px solid rgba(17, 17, 17, 0.1);
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.login-gate__workspace-card--last {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.login-gate__workspace-card-top {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.login-gate__workspace-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f3f4f6;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  flex-shrink: 0;
}

.login-gate__workspace-card-top h3 {
  margin: 0;
  font-size: 0.95rem;
  color: #111;
}

.login-gate__workspace-card-top p {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: #6b6b6b;
}

.login-gate__workspace-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 0;
}

.login-gate__workspace-facts dt {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8a8a8a;
}

.login-gate__workspace-facts dd {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: #111;
}

.login-gate__workspace-mode {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #4a4a4a;
}

.login-gate__workspace-mode select {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  background: #fff;
  color: #111;
  padding: 0 0.65rem;
  font-size: 0.88rem;
}

.login-gate__workspace-mode-single {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #111;
}

.login-gate__workspace-empty,
.login-gate__workspace-suspended {
  margin: 0;
  color: #6b6b6b;
  font-size: 0.88rem;
}

.login-gate__workspace-suspended {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.login-gate__workspace-suspended li {
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px dashed rgba(17, 17, 17, 0.12);
  background: #fafafa;
}

.login-gate__panel--wide .login-gate__panel-inner {
  width: min(100%, 520px);
}

body:has(.login-gate) {
  overflow: hidden;
  min-height: 100dvh;
  height: 100dvh;
}

body:has(.login-gate) > .flex,
.login-gate-page {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 100dvh;
  height: 100dvh;
  width: 100%;
}

.login-gate-page .login-gate {
  flex: 1 1 auto;
}

@media (max-width: 991px) {
  body:has(.login-gate) {
    overflow: auto;
    height: auto;
    min-height: 100dvh;
  }

  body:has(.login-gate) > .flex,
  .login-gate-page {
    height: auto;
    min-height: 100dvh;
  }

  .login-gate {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    grid-template-rows: none;
    height: auto;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .login-gate__carousel {
    display: none !important;
  }

  .login-gate__panel {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 100dvh;
    height: auto;
    margin-top: 0;
    overflow: visible;
  }

  .login-gate__panel-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-content: safe center;
    padding: calc(1.25rem + env(safe-area-inset-top, 0px)) 1.25rem 1.25rem;
    overflow: visible;
  }

  .login-gate__panel-inner {
    width: min(100%, 440px);
    margin-inline: auto;
    margin-block: auto;
  }

  .login-gate__card {
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(17, 17, 17, 0.08);
  }

  .login-gate__card-brand {
    display: flex;
    justify-content: center;
  }

  .login-gate__social-buttons {
    grid-template-columns: 1fr;
  }

  .login-gate__attribution {
    flex-shrink: 0;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 520px) {
  .login-gate__social-buttons {
    grid-template-columns: 1fr;
  }
}
