.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading img {
  width: 80px;
  height: 80px;
  animation: spin 1.2s linear infinite;
  filter: brightness(0) invert(1);
}

@keyframes spin {
  from {
    transform: rotate(0)
  }

  to {
    transform: rotate(360deg)
  }
}

.muted {
  color: var(--muted, #a1a7b3);
  font-size: 13px;
  margin-top: 8px
}

.page-wrapper {
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

:root {
  --border-color: #cbd5e1;
  --active-color: #0096C7;
  --success-color: #28dc4c;
}

.float-field {
  position: relative;
  width: 100%;
}

fieldset {
  border: .1rem solid var(--border-color);
  border-radius: 8px;
  padding: 21px 5px;
  transition: border-color .25s;
  position: relative;
  width: 400px;
}

fieldset:hover {
  box-shadow: 0 5px 5px -1px rgb(0 0 0 / 8%);
}

.float-field:has(input:focus) fieldset {
  border-color: var(--active-color) !important;
}

.float-field.active fieldset {
  border-color: #4ad6084f;
}

input {
  width: 100%;
  font-size: .875rem;
  border: none;
  background: transparent;
  outline: none;
  position: absolute;
  left: 0;
  top: -0.46rem;
}

.placeholder {
  position: absolute;
  top: 8px;
  left: 10px;
  font-size: 12px;
  color: #999;
  pointer-events: none;
  transition: .25s;
  display: flex;
}

.float-field.active .placeholder {
  opacity: 0;
  transform: translateY(-35%);
}

legend {
  padding: 0;
  font-size: 12px;
  color: #1e3a8a;
  white-space: nowrap;
  overflow: hidden;
  max-width: 0;
  transform: translateX(5px);
  transition: max-width .25s ease;
  display: flex;
  align-items: center;
  z-index: 1;
  position: relative;
}

.float-field.active legend {
  max-width: 200px;
  padding-right: 15px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.625rem 1rem;
  font: 600 15px / 1.2 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  transition: transform .05s ease, box-shadow .2s ease, filter .2s ease;
  gap: 16px;
  margin: 0 auto;
  margin-bottom: 16px;
  margin-top: 16px;
  background: #1e3a8a;
}

.section-title {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  text-align: center;
  color: var(--title-1);
  margin-top: 64px;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--title-after-1);
  border-radius: 2px;
}

/* Forgot – reset link butonu loading state */
#member-save.is-loading {
  position: relative;
  pointer-events: none;
}

/* Metni gizle, yer kaplamaya devam etsin ki buton genişliği bozulmasın */
#member-save.is-loading .btn-label {
  visibility: hidden;
}

#member-save.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  border-top-color: transparent;
  transform: translate(-50%, -50%);
  animation: dk-spinner .8s linear infinite;
}

@keyframes dk-spinner {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}