/* ============================================================
   GENEL
============================================================ */
html, body {
  height: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #f8f9fa;
  color: #212529;
  display: flex;
  flex-direction: column;
}

.page-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}



/* Sayfanın ana içerik kısmı */
.tk-page-wrapper {
    flex: 1;
}


/* ============================================================
   HEADER
============================================================ */
.tk-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: #ffffff;
}

.tk-logo-icon {
  font-size: 1.4rem;
}

/* ============================================================
   HERO
============================================================ */
.tk-hero {
  min-height: calc(100vh - 72px);
  padding: 4rem 0 5rem;
}

.tk-hero-title {
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  font-weight: 700;
}

.tk-hero-text {
  font-size: 1rem;
  color: #495057;
}

.tk-hero-note {
  font-size: 0.9rem;
  color: #6c757d;
}

.tk-hero-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.tk-hero-screen {
  background: #f8fafc;
}

.tk-hero-list {
  border-radius: 0.75rem;
  background: #ffffff;
  border: 1px dashed #dee2e6;
}

.tk-hero-row {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  border-bottom: 1px solid #f1f3f5;
}

.tk-hero-row:last-child {
  border-bottom: none;
}

/* ============================================================
   SECTIONS
============================================================ */
.tk-section {
  padding: 4rem 0;
}

.tk-section-title {
  font-size: 1.8rem;
  font-weight: 700;
}

/* ============================================================
   PRICING
============================================================ */
.tk-pricing-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid #e9ecef;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.2s ease-out;
}

.tk-pricing-card:hover {
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.tk-pricing-card-featured {
  border: 2px solid #0d6efd;
  position: relative;
}

.tk-pricing-badge {
  position: absolute;
  top: -0.9rem;
  right: 1.25rem;
  background: #0d6efd;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
}

.tk-pricing-header {
  margin-bottom: 0.75rem;
}

.tk-pricing-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.tk-pricing-subtitle {
  font-size: 0.9rem;
  color: #6c757d;
}

.tk-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.tk-price-amount {
  font-size: 1.6rem;
  font-weight: 700;
}

.tk-price-period {
  font-size: 0.9rem;
  color: #6c757d;
}

.tk-pricing-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #495057;
}

.tk-pricing-list li + li {
  margin-top: 0.3rem;
}

.tk-upgrade-note {
  line-height: 1.4;
}

/* ============================================================
   FEATURES
============================================================ */
.tk-feature-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid orange;
  transition: border-color 0.2s ease;
}

.tk-feature-card:hover {
  border-color: #000;
}

.tk-feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* ============================================================
   LOGIN - REGISTER - PANEL KARTLARI
============================================================ */
.tk-card {
  max-width: 650px;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}

/* ==========================
   REGISTER PAGE — PREMIUM UI
=============================*/

.register-wrapper {
    display: flex;
    justify-content: center;
    padding: 4rem 1rem;
}

.register-card {
    width: 100%;
    max-width: 650px;
    padding: 2.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 35px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.5);
}

.glass-input {
    background: rgba(255,255,255,0.6) !important;
    backdrop-filter: blur(10px);
    border-radius: 12px !important;
}

.glass-input:focus {
    background: rgba(255,255,255,0.9) !important;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,0.2);
}

.btn-submit {
    padding: 12px 0;
    font-size: 1.1rem;
    border-radius: 12px;
}

.glass-alert {
    border-radius: 12px;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(6px);
    border-left: 4px solid #0d6efd;
}
/* ============================================================
   FOOTER
============================================================ */
.tk-footer {
  margin-top: auto;
  padding: 1.5rem 0;
  border-top: 1px solid #e9ecef;
  background: #ffffff;
  font-size: 0.85rem;
}

/* ============================================================
   ANİMASYONLAR
============================================================ */
.tk-fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: all 0.6s ease-out;
}

.tk-fade-up.tk-in-view {
  opacity: 1;
  transform: translateY(0);
}

.tk-fade-up-delayed {
  opacity: 0;
  transform: translateY(18px);
  transition: all 0.7s ease-out 0.1s;
}

.tk-fade-up-delayed.tk-in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 991.98px) {
  .tk-hero {
    padding-top: 2.5rem;
  }

  .tk-hero-card {
    margin-top: 1.5rem;
  }
}

#saleList .sale-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

#saleList .sale-name {
  font-weight: 500;
}

#saleList .sale-qty {
  width: 50px;
  text-align: center;
  font-weight: 500;
}

#saleList .sale-price {
  font-weight: 600;
}

.table td, .table th {
  vertical-align: middle;
}

.table thead th {
  font-weight: 600;
}



/* === Barkodlan Header Premium Dark Mode === */
.tk-header {
    background: rgba(5, 8, 22, 0.78) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 35px rgba(0,0,0,0.45);
}

/* NAV içindeki elemanları da karart */
.tk-header .navbar {
    background: transparent !important;
}

.tk-header .navbar-brand {
    color: #fff !important;
    font-weight: 700;
}
.tk-header .navbar-brand span {
    color: #ffb703 !important;
}
 
.tk-header .nav-link {
    color: #e9ecef !important;
    opacity: .9;
}
.tk-header .nav-link:hover {
    opacity: 1;
}

.tk-header .btn {
    color: #fff !important;
    border-color: rgba(255,255,255,.35) !important;
}
.tk-header .btn:hover {
    border-color: #ffb703 !important;
}

/* Menü yazıları */
.nav-link {
    color: #e9ecef !important;
    opacity: 0.9;
    transition: .2s;
}

.nav-link:hover {
    opacity: 1;
}

/* Logo */
.navbar-brand {
    color: #fff !important;
    font-weight: 700;
}
.navbar-brand span {
    color: #ffb703 !important;
}

footer {
    background: rgba(0,0,0,0.75) !important;
    color: #adb5bd !important;
    padding: 22px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
}
