/* =========================================================
   DH Tools - Dedicated Auth & Account Pages Stylesheet
   Inspired by iLovePDF & Modern SaaS Split-Screen UI
   Developed for DenizliHub (denizlihub.com)
   ========================================================= */

/* Main Auth Layout (Split-Screen) */
.auth-page-wrapper {
  min-height: 100vh;
  display: flex;
  background-color: var(--bg-primary, #090d16);
  color: var(--text-primary, #f1f5f9);
}

.auth-main-col {
  flex: 1 1 56%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 2rem;
  overflow-y: auto;
  min-height: 100vh;
}

.auth-card-container {
  width: 100%;
  max-width: 440px;
  margin: auto;
}

/* Brand Header */
.auth-brand-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary, #ffffff);
  margin-bottom: 1.25rem;
  transition: transform 0.2s;
}

.auth-brand-logo:hover {
  transform: scale(1.02);
}

.auth-page-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary, #ffffff);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.auth-page-subtitle {
  font-size: 0.92rem;
  color: var(--text-secondary, #94a3b8);
  line-height: 1.5;
}

/* Social Buttons */
.auth-social-row {
  margin-bottom: 1.25rem;
}

.auth-gsi-wrapper {
  display: flex;
  justify-content: center;
  min-height: 44px;
}

/* Divider */
.auth-page-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
  color: var(--text-muted, #64748b);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.auth-page-divider::before,
.auth-page-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
}

.auth-page-divider span {
  padding: 0 1rem;
}

/* Form Styles */
.auth-field-group {
  margin-bottom: 1.15rem;
}

.auth-field-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary, #cbd5e1);
  margin-bottom: 0.4rem;
}

.auth-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-muted, #94a3b8);
  font-size: 1.1rem;
  pointer-events: none;
}

.auth-page-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  background-color: var(--bg-secondary, #131b2e);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  border-radius: var(--radius-md, 10px);
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-page-input:focus {
  outline: none;
  border-color: var(--primary, #3b82f6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
  background-color: var(--bg-card, #172138);
}

.auth-pass-toggle-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--text-muted, #94a3b8);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-action-btn {
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md, 10px);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  margin-top: 0.5rem;
}

.auth-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45);
}

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

.auth-action-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Feedback & Alert */
.auth-msg-box {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md, 8px);
  font-size: 0.88rem;
  margin-bottom: 1rem;
  display: none;
}

.auth-msg-box.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  display: block;
}

.auth-msg-box.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  display: block;
}

/* Auth Footer */
.auth-footer-links {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary, #94a3b8);
}

.auth-footer-link {
  color: var(--primary, #3b82f6);
  font-weight: 700;
  text-decoration: none;
  margin-left: 0.35rem;
  transition: color 0.15s;
}

.auth-footer-link:hover {
  color: #60a5fa;
  text-decoration: underline;
}

.auth-legal-text {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted, #64748b);
  margin-top: 1.25rem;
  line-height: 1.5;
}

.auth-legal-text a {
  color: var(--text-secondary, #94a3b8);
  text-decoration: underline;
}

/* Trust Badges */
.auth-trust-badges {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.auth-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted, #94a3b8);
  font-weight: 600;
}

.auth-trust-icon {
  font-size: 1rem;
}

/* Right Column (PRO Value Banner - iLovePDF Style) */
.auth-side-col {
  flex: 1 1 44%;
  background: linear-gradient(145deg, #101726 0%, #0d121d 60%, #151e33 100%);
  border-left: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.auth-side-col::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.auth-side-col::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.auth-side-content {
  position: relative;
  z-index: 2;
  max-width: 440px;
}

.auth-side-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-side-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 60%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-side-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.auth-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.auth-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.auth-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.auth-selected-plan-card {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-lg, 12px);
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-plan-info-title {
  font-size: 0.9rem;
  color: #fbbf24;
  font-weight: 700;
}

.auth-plan-info-sub {
  font-size: 0.78rem;
  color: #94a3b8;
}

.auth-plan-price-tag {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

/* =========================================================
   Account Dashboard Page Styles (/account & /tr/hesap)
   ========================================================= */
.acc-page-wrapper {
  max-width: 1000px;
  margin: 2.5rem auto 4rem;
  padding: 0 1.5rem;
}

.acc-header-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  border-radius: var(--radius-xl, 16px);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.acc-profile-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.acc-avatar-box {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.acc-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.acc-name-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.acc-email-sub {
  font-size: 0.9rem;
  color: var(--text-secondary, #94a3b8);
}

.acc-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.acc-card {
  background: var(--bg-card, #131b2e);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  border-radius: var(--radius-lg, 14px);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.acc-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Responsive Rules */
@media (max-width: 960px) {
  .auth-page-wrapper {
    flex-direction: column;
  }

  .auth-main-col {
    flex: 1 1 100%;
    padding: 2rem 1.25rem;
    min-height: auto;
  }

  .auth-side-col {
    flex: 1 1 100%;
    padding: 2.5rem 1.5rem;
    border-left: none;
    border-top: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  }

  .acc-grid-layout {
    grid-template-columns: 1fr;
  }
}
