/* Admin giriş — akademik kongre / seminer */
.fi-simple-layout {
  padding: 0 !important;
}

.fi-simple-main-ctn {
  align-items: stretch !important;
  justify-content: stretch !important;
  min-height: 100vh;
}

.fi-simple-main {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.fi-simple-page {
  width: 100%;
}

.admin-auth {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color-scheme: dark;
  background: #060d18;
}

/* —— Animasyonlu arka plan —— */
.admin-auth__scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.admin-auth__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgb(13 148 136 / 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 90%, rgb(56 189 248 / 0.12) 0%, transparent 50%),
    linear-gradient(165deg, #060d18 0%, #0c1a2e 40%, #0a1525 100%);
}

.admin-auth__mesh {
  position: absolute;
  inset: -50%;
  background:
    conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgb(20 184 166 / 0.06) 60deg, transparent 120deg, rgb(14 165 233 / 0.05) 200deg, transparent 280deg);
  animation: admin-auth-mesh-spin 48s linear infinite;
}

.admin-auth__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 20%, transparent 75%);
  animation: admin-auth-grid-drift 24s ease-in-out infinite alternate;
}

.admin-auth__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: admin-auth-orb-float 14s ease-in-out infinite;
}

.admin-auth__orb--1 {
  top: 8%;
  left: 12%;
  width: 320px;
  height: 320px;
  background: rgb(13 148 136 / 0.35);
  animation-delay: 0s;
}

.admin-auth__orb--2 {
  top: 55%;
  right: 8%;
  width: 280px;
  height: 280px;
  background: rgb(14 165 233 / 0.25);
  animation-delay: -4s;
}

.admin-auth__orb--3 {
  bottom: 10%;
  left: 25%;
  width: 220px;
  height: 220px;
  background: rgb(45 212 191 / 0.2);
  animation-delay: -8s;
}

.admin-auth__orb--4 {
  top: 30%;
  right: 30%;
  width: 180px;
  height: 180px;
  background: rgb(99 102 241 / 0.15);
  animation-delay: -11s;
}

.admin-auth__ring {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 0.06);
  border-radius: 50%;
  animation: admin-auth-ring-pulse 10s ease-in-out infinite;
}

.admin-auth__ring--1 {
  top: 50%;
  left: 50%;
  width: min(90vw, 720px);
  height: min(90vw, 720px);
  margin: calc(min(90vw, 720px) / -2) 0 0 calc(min(90vw, 720px) / -2);
}

.admin-auth__ring--2 {
  top: 50%;
  left: 50%;
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  margin: calc(min(70vw, 520px) / -2) 0 0 calc(min(70vw, 520px) / -2);
  animation-delay: -3s;
  border-color: rgb(20 184 166 / 0.12);
}

.admin-auth__floats {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-auth__floats li {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1rem;
  color: rgb(255 255 255 / 0.12);
  border: 1px solid rgb(255 255 255 / 0.06);
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 0.02);
  backdrop-filter: blur(4px);
  animation: admin-auth-icon-float 16s ease-in-out infinite;
}

.admin-auth__floats li:nth-child(1) { top: 14%; left: 8%; animation-delay: 0s; }
.admin-auth__floats li:nth-child(2) { top: 22%; right: 12%; animation-delay: -2.5s; }
.admin-auth__floats li:nth-child(3) { bottom: 28%; left: 10%; animation-delay: -5s; }
.admin-auth__floats li:nth-child(4) { top: 48%; right: 6%; animation-delay: -7s; }
.admin-auth__floats li:nth-child(5) { bottom: 14%; right: 22%; animation-delay: -9s; }
.admin-auth__floats li:nth-child(6) { top: 38%; left: 18%; animation-delay: -12s; }

@keyframes admin-auth-mesh-spin {
  to { transform: rotate(360deg); }
}

@keyframes admin-auth-grid-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(12px, 8px) scale(1.02); }
}

@keyframes admin-auth-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -18px) scale(1.05); }
  66% { transform: translate(-16px, 22px) scale(0.95); }
}

@keyframes admin-auth-ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.03); opacity: 0.7; }
}

@keyframes admin-auth-icon-float {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50% { transform: translateY(-12px); opacity: 0.65; }
}

/* —— Merkez içerik —— */
.admin-auth__center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1.25rem 2.5rem;
}

.admin-auth__top {
  width: 100%;
  max-width: 28rem;
  margin-bottom: 1rem;
}

.admin-auth__back {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgb(255 255 255 / 0.55);
  text-decoration: none;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
  backdrop-filter: blur(8px);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.admin-auth__back:hover {
  color: rgb(255 255 255 / 0.9);
  border-color: rgb(20 184 166 / 0.35);
  background: rgb(20 184 166 / 0.1);
}

.admin-auth__card {
  width: 100%;
  max-width: 28rem;
  padding: 2.25rem 2rem 2rem;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 1.5rem;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.04) inset,
    0 32px 64px rgb(0 0 0 / 0.45),
    0 0 80px rgb(13 148 136 / 0.08);
  backdrop-filter: blur(24px);
  animation: admin-auth-card-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes admin-auth-card-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.admin-auth__footer {
  width: 100%;
  max-width: 28rem;
  margin-top: 1.25rem;
  text-align: center;
}

.admin-auth__footer p {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  margin: 0;
  font-size: 0.75rem;
  color: rgb(255 255 255 / 0.4);
}

.admin-auth__footer i {
  color: rgb(45 212 191 / 0.7);
}

/* —— Form —— */
.admin-auth-form__head {
  margin-bottom: 1.75rem;
  text-align: center;
}

.admin-auth-form__badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(45 212 191 / 0.95);
  background: rgb(20 184 166 / 0.12);
  border: 1px solid rgb(20 184 166 / 0.25);
  border-radius: 999px;
}

.admin-auth-form__title {
  margin: 0 0 0.5rem;
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.admin-auth-form__subtitle {
  margin: 0 auto;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgb(255 255 255 / 0.55);
}

.admin-auth-form .fi-fo-field-wrp-label span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.75);
}

.admin-auth-form .fi-input-wrp {
  background: rgb(0 0 0 / 0.25) !important;
  border-color: rgb(255 255 255 / 0.1) !important;
  border-radius: 0.75rem !important;
  box-shadow: none !important;
}

.admin-auth-form .fi-input-wrp:focus-within {
  border-color: rgb(20 184 166 / 0.5) !important;
  box-shadow: 0 0 0 3px rgb(20 184 166 / 0.15) !important;
}

.admin-auth-form input {
  color: #fff !important;
}

.admin-auth-form input::placeholder {
  color: rgb(255 255 255 / 0.3) !important;
}

.admin-auth-form .fi-fo-checkbox {
  position: relative;
  z-index: 2;
  margin-top: 0.35rem;
}

.admin-auth-form .fi-fo-checkbox label,
.admin-auth-form .fi-fo-checkbox .fi-checkbox-input {
  cursor: pointer;
}

.admin-auth-form .fi-fo-checkbox label {
  color: rgb(255 255 255 / 0.6) !important;
  font-size: 0.8125rem;
}

.admin-auth-form .fi-btn[wire\:loading] {
  cursor: wait;
  opacity: 0.88;
}

/* Filament varsayılan üst başlığı gizle (özel başlık kullanılıyor) */
.admin-auth .fi-simple-header:not(:has(.fi-simple-header-heading)) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

.admin-auth .fi-simple-page > section {
  gap: 0 !important;
}

/* admin-panel.css fi-form-actions beyaz şeridini kapat */
.admin-auth .fi-form-actions {
  position: static !important;
  margin: 0.5rem 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.admin-auth .fi-form-actions.fi-sticky,
.admin-auth .fi-form-actions[class*='bg-white'],
.admin-auth .fi-form-actions[class*='bg-gray'] {
  background: transparent !important;
  box-shadow: none !important;
  --tw-ring-shadow: 0 0 #0000 !important;
}

.admin-auth-form .fi-btn {
  width: 100%;
  margin-top: 0.25rem;
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%) !important;
  border: none !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 8px 24px rgb(13 148 136 / 0.35) !important;
  transition: transform 0.15s, box-shadow 0.15s !important;
}

.admin-auth-form .fi-btn:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgb(13 148 136 / 0.45) !important;
}

.admin-auth-form .fi-icon-btn {
  color: rgb(255 255 255 / 0.5) !important;
}

/* Filament dark overrides on login */
.admin-auth .fi-fo-field-wrp-helper-text,
.admin-auth .fi-fo-field-wrp-error-message {
  color: rgb(252 165 165 / 0.9);
}

@media (prefers-reduced-motion: reduce) {
  .admin-auth__mesh,
  .admin-auth__grid,
  .admin-auth__orb,
  .admin-auth__ring,
  .admin-auth__floats li,
  .admin-auth__card {
    animation: none !important;
  }
}

@media (max-width: 640px) {
  .admin-auth__card {
    padding: 1.75rem 1.35rem 1.5rem;
  }

  .admin-auth-form__title {
    font-size: 1.65rem;
  }

  .admin-auth__floats li {
    opacity: 0.5;
    transform: scale(0.85);
  }
}
