/* ── Softanova Auth Pages (dark) ── */
.auth-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(5rem, 10vh, 8rem) 1.25rem 4rem;
  background: #0a0a0a;
  color: #ededed;
  font-family: "Onest", sans-serif;
  overflow: hidden;
}

.auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(245, 154, 87, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(245, 154, 87, 0.06) 0%, transparent 55%);
  pointer-events: none;
}

.auth-page::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse at 50% 35%, rgba(0, 0, 0, 0.8) 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, rgba(0, 0, 0, 0.8) 0%, transparent 80%);
  pointer-events: none;
}

.auth-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  z-index: 1;
  animation: auth-card-in 0.55s cubic-bezier(0.34, 1.2, 0.64, 1) both;
  transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
}

.auth-card:hover {
  border-color: rgba(245, 154, 87, 0.22);
  box-shadow:
    0 34px 90px -22px rgba(0, 0, 0, 0.65),
    0 0 60px -20px rgba(245, 154, 87, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.auth-card-wide { max-width: 860px; }

.auth-side { display: none; }

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

.auth-kicker,
.auth-card-header h2,
.auth-card-header p,
.auth-form > *,
.auth-links {
  animation: auth-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auth-kicker { animation-delay: 0.05s; }
.auth-card-header h2 { animation-delay: 0.12s; }
.auth-card-header p { animation-delay: 0.2s; }
.auth-form > *:nth-child(1) { animation-delay: 0.28s; }
.auth-form > *:nth-child(2) { animation-delay: 0.34s; }
.auth-form > *:nth-child(3) { animation-delay: 0.4s; }
.auth-form > *:nth-child(4) { animation-delay: 0.46s; }
.auth-links { animation-delay: 0.55s; }

@keyframes auth-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sol vitrin paneli — devre dışı bırakıldı */
.auth-side {
  display: none !important;
}

.auth-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 30% 50%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 0%, transparent 75%);
  pointer-events: none;
}

.auth-side > * { position: relative; z-index: 1; }

.auth-side-logo {
  width: 140px;
  height: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 2rem;
}

.auth-side-head {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.auth-side-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Onest", sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  width: max-content;
}

.auth-side-tag::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--primary);
}

.auth-side-title {
  font-family: "Brinnan", "Onest", sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
}

.auth-side-title em {
  font-style: normal;
  color: var(--primary);
}

.auth-side-sub {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  max-width: 340px;
}

/* Meta: istatistik, liste vb */
.auth-side-meta {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-side-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.auth-side-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.auth-side-stat-n {
  font-family: "Brinnan", "Onest", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--primary);
  letter-spacing: -0.01em;
  line-height: 1;
}

.auth-side-stat-l {
  font-family: "Onest", sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.auth-side-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.auth-side-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}

.auth-side-list li::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  clip-path: polygon(20% 50%, 45% 75%, 80% 30%, 70% 20%, 45% 55%, 30% 40%);
  flex-shrink: 0;
}

.auth-side-kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(245, 154, 87, 0.15);
  border: 1px solid rgba(245, 154, 87, 0.35);
  border-radius: 0.45rem;
  color: var(--primary);
  font-family: "Brinnan", "Onest", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  flex-shrink: 0;
}

.auth-card-header {
  padding: 2.25rem 2.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.auth-logo {
  width: 140px;
  height: auto;
  margin-bottom: 0.6rem;
  filter: brightness(0) invert(1);
}

.auth-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Onest", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.auth-kicker::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--primary);
}

.auth-card-header h2 {
  font-family: "Brinnan", "Onest", sans-serif;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #fff;
}

.auth-card-header p {
  font-family: "Onest", sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  text-transform: none;
  margin-top: 0.15rem;
}

.auth-card-body { padding: 0 2.25rem 2.25rem; }

.auth-error {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: #e74c3c;
  padding: 0.75rem 1rem;
  border-radius: 0.6rem;
  margin-bottom: 1.25rem;
  font-family: "Onest", sans-serif;
  font-size: 0.82rem;
  text-transform: none;
  text-align: center;
}

.auth-success {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
  color: #2ecc71;
  padding: 0.75rem 1rem;
  border-radius: 0.6rem;
  margin-bottom: 1.25rem;
  font-family: "Onest", sans-serif;
  font-size: 0.82rem;
  text-transform: none;
  text-align: center;
}

.auth-form { display: flex; flex-direction: column; gap: 1rem; }

.auth-field { display: flex; flex-direction: column; gap: 0.45rem; }

.auth-field label {
  font-family: "Onest", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.auth-field input,
.auth-field select,
.auth-field textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.7rem;
  color: #fff;
  font-family: "Onest", sans-serif;
  font-size: 0.95rem;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.auth-field input::placeholder,
.auth-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245, 154, 87, 0.12);
}

/* Select (hesap türü vb) */
.auth-field select,
.auth-form select {
  width: 100%;
  padding: 0.9rem 2.6rem 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.04)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f59a57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>")
    no-repeat right 1rem center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.7rem;
  color: #fff;
  font-family: "Onest", sans-serif;
  font-size: 0.95rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.auth-field select option,
.auth-form select option {
  background: #141414;
  color: #fff;
  padding: 0.5rem;
}

.auth-field input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-field-row { display: flex; gap: 0.75rem; }
.auth-field-row .auth-field { flex: 1; }

.auth-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--primary);
  color: #0a0a0a;
  border: none;
  border-radius: 999px;
  font-family: "Onest", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition:
    background 0.35s ease,
    transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.35s ease;
  margin-top: 0.5rem;
}

.auth-submit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-120%);
  transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1);
  pointer-events: none;
}

.auth-submit:hover::after { transform: translateX(120%); }

.auth-submit:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 14px 40px -12px rgba(245, 154, 87, 0.6);
}

.auth-submit:active { transform: translateY(0); }

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.auth-links a {
  font-family: "Onest", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: none;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.auth-links a:hover { opacity: 0.75; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 0.25rem;
  font-family: "Onest", sans-serif;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-divider span {
  background: transparent;
  padding: 0;
  position: static;
}

/* 2FA Code Input */
.auth-code-input {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.auth-code-input input {
  width: 56px;
  height: 64px;
  padding: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.7rem;
  color: #fff;
  font-family: "Brinnan", "Onest", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.auth-code-input input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(245, 154, 87, 0.06);
  box-shadow: 0 0 0 3px rgba(245, 154, 87, 0.15);
}

.auth-resend {
  display: block;
  text-align: center;
  background: none;
  border: none;
  color: var(--primary);
  font-family: "Onest", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem;
  text-transform: none;
}

.auth-resend:hover { opacity: 0.75; }

/* ── Profile (page + cards) ── */
.profile-page {
  min-height: 100vh;
  padding: clamp(5rem, 10vh, 8rem) 1.25rem 4rem;
  background: #0a0a0a;
  color: #ededed;
  font-family: "Onest", sans-serif;
}

.profile-content {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
}

.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  position: sticky;
  top: 7rem;
}

.profile-user-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(245, 154, 87, 0.15);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Brinnan", "Onest", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  flex-shrink: 0;
}

.profile-user-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.profile-user-name {
  font-family: "Brinnan", "Onest", sans-serif;
  font-size: 1rem;
  color: #fff;
  line-height: 1;
  text-transform: none;
  letter-spacing: -0.005em;
}

.profile-user-email {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-user-role {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.18rem 0.55rem;
  background: rgba(245, 154, 87, 0.15);
  border: 1px solid rgba(245, 154, 87, 0.3);
  border-radius: 999px;
  color: var(--primary);
  font-family: "Onest", sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  width: max-content;
}

.profile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.profile-nav-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: "Onest", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  text-transform: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.profile-nav-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  flex-shrink: 0;
}

.profile-nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.profile-nav-item.active {
  background: rgba(245, 154, 87, 0.12);
  color: var(--primary);
}

.profile-nav-item.active svg { opacity: 1; }

.profile-nav-item.danger { color: rgba(231, 76, 60, 0.75); }
.profile-nav-item.danger:hover {
  background: rgba(231, 76, 60, 0.08);
  color: #e74c3c;
}

.profile-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-section {
  padding: 1.75rem 2rem;
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
}

.profile-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-section-header h3 {
  font-family: "Brinnan", "Onest", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
  text-transform: none;
  letter-spacing: -0.01em;
}

.no-transform { text-transform: none; }

@media (max-width: 960px) {
  .auth-card { grid-template-columns: 1fr; max-width: 460px; }
  .auth-side { display: none; }
  .auth-card-header { padding: 1.6rem 1.5rem 0.9rem; }
  .auth-card-body { padding: 0 1.5rem 1.75rem; }
  .auth-field-row { flex-direction: column; gap: 1rem; }
  .profile-content { grid-template-columns: 1fr; }
  .profile-sidebar { position: static; padding: 1.25rem; }
}
