/* ===========================================
   ALL STYLES - MERGED FROM CSS1.CSS AND CSS2.CSS
   ORGANIZED BY RELATED CLASSES
   =========================================== */

/* ===================== GLOBAL STYLES & RESET ===================== */
/* From css1.css - Main body styles */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background: #f5f5f5;
  color: #222;
}

/* From css2.css - DUPLICATE BODY STYLES (COMMENTED OUT) */
/* 
    body {
      padding: 50px;
      font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
    }
    */

/* Global sizing and overflow safeguards */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
}

/* From css2.css - Link styles */
a {
  color: #00B7FF;
}

/* ===================== CSS VARIABLES & THEME ===================== */
/* Theme variables */
:root {
  --brand: #1e2a44;
  --brand-2: #3b5b9c;
  --accent: #ef4444;
  --text: #1f2937;
  --textalt: #333553;
  --muted: #6b7280;
  --bg: #f7f8fb;
  --card: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 6px 20px rgba(2, 6, 23, 0.08);
  --shadow-lg: 0 12px 32px rgba(2, 6, 23, 0.12);
  --radius: 10px;
  --radius-sm: 8px;
  --radius-lg: 14px;
  --transition: 180ms cubic-bezier(.2, .6, .2, 1);
}

/* ===================== LAYOUT & CONTAINER ===================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===================== HEADER & NAVIGATION ===================== */
/* E-TİCARET SAYFASI İÇİN - PLASİYER2.HTML'DE KULLANILMIYOR */
/*
  header {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 0.5rem 0;
  }
  
  .header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo {
    font-size: 1.7rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: .5px;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color var(--transition);
  }
  
  .nav-links a.active,
  .nav-links a:hover {
    color: var(--accent);
  }
  
  .header-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
  }
  
  .header-icons button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    position: relative;
    margin: 0 0.2rem;
    color: #fff;
    transition: color var(--transition), transform var(--transition);
  }
  
  .header-icons button:hover {
    color: var(--accent);
    transform: translateY(-1px);
  }
  
  .cart-count {
    background: #e53935;
    color: #fff;
    border-radius: 50%;
    font-size: 0.8rem;
    padding: 0.1rem 0.5rem;
    position: absolute;
    top: -8px;
    right: -8px;
  }
  
  .search-bar {
    display: flex;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.2rem 0.5rem;
    margin: 0 1.5rem;
    flex: 1 1 300px;
    max-width: 400px;
    box-shadow: none;
    transition: box-shadow var(--transition), border-color var(--transition);
  }
  
  .search-bar:focus-within {
    border-color: var(--brand-2);
    box-shadow: 0 0 0 4px rgba(59, 91, 156, 0.12);
  }
  
  .search-bar input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    padding: 0.5rem 0.3rem;
    flex: 1;
    color: var(--text);
  }
  
  .search-bar button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--brand-2);
    font-size: 1.5rem;
  }
  
  .lang-switch button {
    background: var(--card);
    border: 1px solid var(--border);
    margin-left: 0.5rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 500;
    color: var(--brand-2);
    font-size: 0.85rem;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  }
  
  .lang-switch button:hover {
    background: var(--brand-2);
    color: #fff;
    border-color: var(--brand-2);
    transform: translateY(-1px);
  }
  
  .category-menu {
    display: flex;
    gap: 1.2rem;
    margin: 0.7rem 0 1.2rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
    overflow-x: auto;
    justify-content: center;
    background: var(--card);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    width: 100%;
    box-sizing: border-box;
  }
  
  .category-menu .category-menu-item {
    color: var(--brand-2);
    font-weight: 500;
    cursor: pointer;
    padding: 0.3rem 1rem;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
    white-space: nowrap;
  }
  
  .category-menu .category-menu-item:hover,
  .category-menu .category-menu-item.active {
    background: var(--brand-2);
    color: #fff;
    border-color: var(--brand-2);
    transform: translateY(-1px);
  }
  
  .banner {
    background: radial-gradient(1200px 400px at 50% -20%, rgba(255, 255, 255, 0.18) 0%, transparent 55%),
      linear-gradient(90deg, var(--brand) 60%, var(--brand-2) 100%);
    color: #fff;
    padding: 2.5rem 0 2rem 0;
    text-align: center;
    margin-bottom: 2rem;
    border-radius: 0 0 12px 12px;
  }
  
  .categories,
  .products {
    margin-bottom: 2.5rem;
  }
  
  .category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
    justify-content: center;
  }
  
  .category-card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 1.2rem 1.5rem;
    flex: 1 1 180px;
    min-width: 180px;
    max-width: 220px;
    text-align: center;
    font-weight: 500;
    color: var(--brand-2);
    transition: box-shadow var(--transition), transform var(--transition), color var(--transition);
    cursor: pointer;
  }
  
  .category-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px) scale(1.03);
    color: var(--accent);
  }
  
  .product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 0.5rem;
    justify-content: center;
  }
  
  .product-card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow);
    padding: 1.2rem 1.1rem 1.3rem 1.1rem;
    min-width: 220px;
    max-width: 260px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow var(--transition), transform var(--transition);
    margin-bottom: 0.5rem;
  }
  
  .product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px) scale(1.04);
  }
  
  .product-card img {
    width: 100%;
    max-width: 160px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 0.7rem;
    border-radius: 6px;
    background: #f5f5f5;
  }
  
  .product-card .product-title {
    font-size: 1.13rem;
    font-weight: 700;
    color: var(--brand-2);
    margin-bottom: 0.3rem;
    text-align: center;
  }
  
  .product-card .product-price {
    font-size: 1.08rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-weight: 600;
  }
  
  .product-card .product-desc {
    font-size: 0.97rem;
    color: var(--muted);
    margin-bottom: 0.7rem;
    text-align: center;
  }
  
  .product-card button {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.5rem 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
    margin-top: auto;
    font-size: 1.03rem;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 20px rgba(59, 91, 156, 0.18);
  }
  
  .product-card button:hover {
    background: #e53935;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(59, 91, 156, 0.24);
    filter: brightness(1.02);
  }
  
  footer {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    font-size: 0.95rem;
  }
  */

/* Modal font color - PLASİYER2.HTML'DE KULLANILMIYOR */
/*
  .mdl {
    font-size: 0.9rem;
    color: #312b2b !important;
  }
  */

/* ===================== MODALS ===================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 6, 23, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: var(--shadow-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-content input {
  width: 100%;
  margin: 0.5rem 0;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.modal-content button {
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.25rem;
  font-weight: 600;
  letter-spacing: .2px;
  box-shadow: 0 8px 20px rgba(59, 91, 156, 0.18);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
}

/* .modal-content button:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 28px rgba(59, 91, 156, 0.24);
      filter: brightness(1.02);
    } */
.modal-content button:hover:not(.loading) {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(59, 91, 156, 0.24);
  filter: brightness(1.02);
}

.modal-content .close {
  position: absolute;
  top: 0.7rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
  transition: color var(--transition), transform var(--transition);
}

.modal-content .close:hover {
  color: var(--accent);
  transform: rotate(90deg) scale(1.05);
}

/* ===================== CART SYSTEM ===================== */
/* E-TİCARET SAYFASI İÇİN - PLASİYER2.HTML'DE KULLANILMIYOR */
/*
  .cart-modal-content {
    min-width: 350px;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
  }
  
  .cart-items-container {
    flex: 1;
    overflow-y: auto;
    max-height: 60vh;
    padding-right: 0.5rem;
    margin-right: -0.5rem;
    margin-bottom: 1rem;
  }
  
  .cart-items-container::-webkit-scrollbar {
    width: 8px;
  }
  
  .cart-items-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
  }
  
  .cart-items-container::-webkit-scrollbar-thumb {
    background: var(--brand-2);
    border-radius: 4px;
    transition: background 0.3s ease;
  }
  
  .cart-items-container::-webkit-scrollbar-thumb:hover {
    background: var(--brand);
  }
  
  .cart-footer {
    border-top: 2px solid var(--border);
    padding-top: 1rem;
    margin-top: auto;
    background: var(--card);
  }
  
  #checkout-btn {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(59, 91, 156, 0.2);
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
  }
  
  #checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 91, 156, 0.3);
    filter: brightness(1.05);
  }
  
  #checkout-btn .material-icons {
    font-size: 1.2rem;
  }
  
  .cart-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 0.5rem;
  }
  
  .cart-table thead {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .cart-table th,
  .cart-table td {
    padding: 1rem 0.9rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
  }
  
  .cart-table tbody tr:nth-child(odd) {
    background: #fbfdff;
  }
  
  .cart-table tbody tr:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
  }
  
  .cart-table th {
    color: var(--brand-2);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .cart-title {
    color: var(--text);
    font-weight: 600;
  }
  
  .cart-price,
  .cart-line-total {
    color: var(--textalt);
    font-weight: 600;
    font-size: 1.05rem;
  }
  
  .cart-qty {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: center;
  }
  
  .cart-qty button {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    font-weight: 700;
    color: var(--text);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .cart-qty button:hover {
    background: var(--brand-2);
    color: #fff;
    border-color: var(--brand-2);
    transform: scale(1.05);
  }
  
  .cart-qty .qty-value {
    font-weight: 600;
    font-size: 1rem;
    min-width: 20px;
    text-align: center;
    color: var(--text);
  }
  
  .cart-remove button {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .cart-remove button:hover {
    background: #ef4444;
    color: #fff;
    transform: scale(1.1);
  }
  
  #cart-total {
    margin-top: 0.8rem;
    text-align: right;
    font-weight: 800;
    color: var(--brand-2);
    font-size: 1.2rem;
    padding: 0.5rem 0;
    border-top: 2px solid var(--border);
    margin-top: 1rem;
    padding-top: 1rem;
  }
  
  .cart-empty {
    text-align: center;
    padding: 2rem;
    color: var(--muted);
    font-size: 1.1rem;
    background: #f8fafc;
    border-radius: var(--radius);
    border: 2px dashed var(--border);
  }
  
  .cart-product-info {
    padding: 1rem 0.9rem !important;
    max-width: 300px;
  }
  
  .cart-product-with-image {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .cart-product-img {
    width: 60px;
    height: 45px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: #f5f5f5;
    border: 1px solid var(--border);
    flex-shrink: 0;
  }
  
  .cart-product-details {
    flex: 1;
  }
  
  .cart-product-title {
    color: var(--text);
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
  }
  
  .cart-product-specs {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }
  
  .spec-item {
    font-size: 0.8rem;
    color: var(--muted);
    background: #f8fafc;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    border: 1px solid var(--border);
  }
  */

/* From css2.css - DUPLICATE CART PRODUCT STYLES (COMMENTED OUT) */
/*
    .cart-product-info {
      padding: 1rem 0.9rem !important;
      max-width: 300px;
    }
    
    .cart-product-with-image {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    
    .cart-product-img {
      width: 60px;
      height: 45px;
      object-fit: contain;
      border-radius: var(--radius-sm);
      background: #f5f5f5;
      border: 1px solid var(--border);
      flex-shrink: 0;
    }
    
    .cart-product-details {
      flex: 1;
    }
    
    .cart-product-title {
      color: var(--text);
      font-weight: 600;
      margin-bottom: 0.3rem;
      font-size: 0.95rem;
    }
    
    .cart-product-specs {
      display: flex;
      flex-direction: column;
      gap: 0.2rem;
    }
    
    .spec-item {
      font-size: 0.8rem;
      color: var(--muted);
      background: #f8fafc;
      padding: 0.2rem 0.4rem;
      border-radius: 4px;
      border: 1px solid var(--border);
    }
    */

/* ===================== PRODUCT DETAIL MODAL ===================== */
/* E-TİCARET SAYFASI İÇİN - PLASİYER2.HTML'DE KULLANILMIYOR */
/*
  .product-detail-modal-content {
    min-width: 450px;
    max-width: 600px;
    width: 95vw;
    padding: 2rem;
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
  }
  
  .product-detail-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
  }
  
  .product-detail-title-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  
  .product-detail-img {
    width: 120px;
    height: 90px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: #f5f5f5;
    border: 1px solid var(--border);
    flex-shrink: 0;
  }
  
  .product-detail-title-info {
    flex: 1;
  }
  
  .product-detail-header h2 {
    margin: 0 0 0.5rem 0;
    color: var(--brand-2);
    font-size: 1.4rem;
    font-weight: 700;
  }
  
  .product-detail-specs {
    display: flex;
    gap: 0.5rem;
  }
  
  .spec-badge {
    background: var(--brand-2);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
  }
  
  .product-detail-body {
    margin-bottom: 1.5rem;
  }
  
  .product-detail-size h3 {
    margin: 0 0 1rem 0;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
  }
  
  .size-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .size-input-group {
    display: flex;
    flex-direction: column;
  }
  
  .size-input-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.3rem;
  }
  
  .size-input-group input {
    padding: 0.6rem 0.8rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    background: #fafbfc;
    transition: border-color var(--transition), box-shadow var(--transition);
  }
  
  .size-input-group input:focus {
    outline: none;
    border-color: var(--brand-2);
    box-shadow: 0 0 0 3px rgba(59, 91, 156, 0.12);
  }
  
  .product-detail-calculations {
    background: #f8fafc;
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
  }
  
  .calc-row:last-child {
    margin-bottom: 0;
  }
  
  .total-row {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--brand-2);
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
  }
  
  .product-detail-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  
  .quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #f8fafc;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
  }
  
  .qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    transition: background var(--transition), border-color var(--transition);
  }
  
  .qty-btn:hover {
    background: var(--brand-2);
    color: #fff;
    border-color: var(--brand-2);
  }
  
  #product-quantity {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
    min-width: 20px;
    text-align: center;
  }
  
  .add-to-cart-btn {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(59, 91, 156, 0.2);
  }
  
  .add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 91, 156, 0.3);
    filter: brightness(1.05);
  }
  
  .product-detail-footer {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
  }
  
  .shipping-info,
  .delivery-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--muted);
  }
  
  .shipping-info .material-icons,
  .delivery-info .material-icons {
    color: var(--brand-2);
    font-size: 1.2rem;
  }
  
  .shipping-info:last-child,
  .delivery-info:last-child {
    margin-bottom: 0;
  }
  */

/* ===================== CART NOTIFICATION ===================== */
/* E-TİCARET SAYFASI İÇİN - PLASİYER2.HTML'DE KULLANILMIYOR */
/*
  .cart-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #10b981;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .cart-notification.show {
    opacity: 1;
    visibility: visible;
    animation: cartNotificationSlide 2s ease-in-out forwards;
  }
  
  .cart-notification .material-icons {
    font-size: 1.5rem;
  }
  
  @keyframes cartNotificationSlide {
    0% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.8);
    }
  
    20% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
  
    80% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
  
    100% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.8);
    }
  }
  */

/* ===================== USER DROPDOWN ===================== */
/* E-TİCARET SAYFASI İÇİN - PLASİYER2.HTML'DE KULLANILMIYOR */
/*
  .user-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
  }
  
  .user-dropdown:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .user-dropdown .user-name {
    font-weight: 500;
    font-size: 0.9rem;
  }
  
  .user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 280px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
  }
  
  .user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  
  .user-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.5rem;
    background: transparent;
    z-index: 1000;
  }
  
  .user-dropdown-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  
  .user-dropdown-user {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .user-dropdown-user .material-icons {
    font-size: 2.5rem;
    color: var(--brand-2);
  }
  
  .user-dropdown-info h3 {
    margin: 0 0 0.2rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
  }
  
  .user-dropdown-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
  }
  
  .user-dropdown-actions {
    padding: 1rem 1.5rem;
  }
  
  .user-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    padding: 0.8rem 1rem;
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition);
    color: var(--text);
    text-align: left;
    font-size: 0.95rem;
  }
  
  .user-dropdown-btn:not(:last-child) {
    margin-bottom: 0.5rem;
  }
  
  .user-dropdown-btn:hover {
    background: var(--bg);
  }
  
  .user-dropdown-btn .material-icons {
    color: var(--brand-2);
    font-size: 1.2rem;
  }
  */

/* ===================== PROFILE PAGE ===================== */
/* E-TİCARET SAYFASI İÇİN - PLASİYER2.HTML'DE KULLANILMIYOR */
/*
  .main-flex {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 3.5rem;
    margin: 2.5rem auto 0 auto;
    max-width: 1300px;
  }
  
  .filter-panel {
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2.2rem 2rem 2rem 2rem;
    min-width: 180px;
    max-width: 210px;
    width: 100%;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    border: 1.5px solid var(--border);
  }
  
  .filter-panel h2 {
    font-size: 1.25rem;
    color: #223a5e;
    margin-bottom: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
  }
  
  .filter-group {
    margin-bottom: 0;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .filter-group label {
    font-weight: 600;
    color: #223a5e;
    margin-bottom: 0.4rem;
    display: block;
    font-size: 1.05rem;
  }
  
  .filter-group input[type="text"] {
    width: 100%;
    padding: 0.5rem 0.7rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    margin-top: 0.3rem;
    font-size: 1rem;
    background: #fafbfc;
    transition: border 0.2s;
  }
  
  .filter-group input[type="text"]:focus {
    border: 1.5px solid #223a5e;
  }
  
  .filter-group input[type="checkbox"] {
    accent-color: #223a5e;
    margin-right: 0.3rem;
    transform: scale(0.95);
    vertical-align: middle;
  }
  
  .filter-group .checkbox-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.2rem;
    gap: 0.4rem;
  }
  
  .filter-group label.checkbox-label {
    font-weight: 400;
    color: #223a5e;
    font-size: 0.98rem;
    margin: 0;
    cursor: pointer;
    display: inline-block;
  }
  
  .filter-group input[type="range"] {
    width: 100%;
    margin-top: 0.3rem;
    accent-color: #e53935;
    height: 3px;
  }
  
  #price-value {
    display: block;
    margin-top: 0.2rem;
    color: #e53935;
    font-size: 1rem;
    font-weight: 500;
    text-align: right;
  }
  
  #clear-filters {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 1.2rem;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(59, 91, 156, 0.18);
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  }
  
  #clear-filters:hover {
    background: #e53935;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(59, 91, 156, 0.24);
    filter: brightness(1.02);
  }
  
  .product-list-section {
    flex: 1 1 0;
    min-width: 0;
  }
  
  .product-list-section h1 {
    color: var(--brand-2);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
  }
  
  /* ===================== CONTACT PAGE ===================== */
/* E-TİCARET SAYFASI İÇİN - PLASİYER2.HTML'DE KULLANILMIYOR */
/*
  .contact-main {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  
  .contact-hero {
    text-align: center;
    padding: 2rem 1rem;
    background: radial-gradient(1000px 300px at 50% -10%, rgba(255, 255, 255, 0.18) 0%, transparent 55%),
      linear-gradient(90deg, var(--brand) 60%, var(--brand-2) 100%);
    color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  
  .contact-hero h1 {
    margin: 0 0 .4rem 0;
  }
  
  .contact-hero p {
    margin: 0;
    opacity: .95;
  }
  
  .contact-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .contact-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
  }
  
  .contact-card h2 {
    margin-top: 0;
    color: var(--brand-2);
  }
  
  .form-row {
    margin-bottom: 1rem;
  }
  
  .form-row label {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: .35rem;
  }
  
  .form-row input,
  .form-row textarea {
    width: 100%;
    padding: .65rem .8rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fafbfc;
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
  }
  
  .form-row input:focus,
  .form-row textarea:focus {
    outline: none;
    border-color: var(--brand-2);
    box-shadow: 0 0 0 4px rgba(59, 91, 156, 0.12);
  }
  
  .contact-submit {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: .7rem 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
    box-shadow: 0 8px 20px rgba(59, 91, 156, 0.18);
  }
  
  .contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(59, 91, 156, 0.24);
    filter: brightness(1.02);
  }
  
  .contact-feedback {
    margin-top: .6rem;
    color: var(--muted);
  }
  
  .contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
  }
  
  .contact-info li {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .4rem 0;
    color: var(--text);
  }
  
  .contact-info .material-icons {
    color: var(--brand-2);
  }
  
  .contact-map {
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
  }
  
  .map-placeholder {
    background: #f1f5f9;
    color: var(--muted);
    padding: 1.2rem;
    text-align: center;
  }
  */

/* ===================== UTILITY CLASSES ===================== */
.error-msg {
  color: #e53935;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* Login sayfası için - PLASİYER2.HTML'DE KULLANILMIYOR */
/*
  .forgot-link {
    display: block;
    width: 100%;
    text-align: right;
    margin: 0.2rem 0 0.5rem 0;
    font-size: 0.95rem;
    color: #223a5e;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
  }
  
  .forgot-link:hover {
    color: #e53935;
  }
  */

/* Modern theme overrides */
body {
  color: var(--text);
  background: var(--bg);
}

/* ===================== FOCUS STYLES ===================== */
/* E-TİCARET SAYFASI İÇİN - PLASİYER2.HTML'DE KULLANILMIYOR */
/*
  .product-card button:focus-visible,
  .lang-switch button:focus-visible,
  .header-icons button:focus-visible,
  .search-bar input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 91, 156, 0.22);
  }
  */

.modal-content button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(59, 91, 156, 0.22);
}

/* ===================== RESPONSIVE DESIGN ===================== */
/* E-TİCARET SAYFASI İÇİN - PLASİYER2.HTML'DE KULLANILMIYOR */
/*
  @media (max-width: 600px) {
    .product-detail-modal-content {
      min-width: 95vw;
      padding: 1.5rem;
    }
  
    .product-detail-title-section {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
    }
  
    .product-detail-img {
      width: 100px;
      height: 75px;
      align-self: center;
    }
  
    .product-detail-title-info {
      width: 100%;
      text-align: center;
    }
  
    .size-inputs {
      grid-template-columns: 1fr;
      gap: 0.8rem;
    }
  
    .product-detail-actions {
      flex-direction: column;
      gap: 1rem;
    }
  
    .quantity-controls {
      width: 100%;
      justify-content: center;
    }
  
    .add-to-cart-btn {
      width: 100%;
      justify-content: center;
    }
  }
  
  @media (max-width: 768px) {
    .cart-product-with-image {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
    }
  
    .cart-product-img {
      width: 50px;
      height: 38px;
    }
  
    .cart-product-info {
      max-width: 100% !important;
    }
  
    .cart-product-specs {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 0.3rem;
    }
  
    .spec-item {
      font-size: 0.75rem;
      padding: 0.15rem 0.3rem;
    }
  }
  
  @media (max-width: 1200px) {
    .main-flex {
      gap: 1.2rem;
      max-width: 98vw;
    }
  
    .filter-panel {
      min-width: 180px;
      max-width: 98vw;
      padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    }
  }
  
  @media (max-width: 900px) {
    .contact-grid {
      grid-template-columns: 1fr;
    }
  
    .main-flex {
      flex-direction: column;
      gap: 1.5rem;
      max-width: 98vw;
    }
  
    .filter-panel {
      max-width: 100vw;
      min-width: 0;
      width: 100%;
      margin-bottom: 0.5rem;
      border-radius: 12px;
    }
  
    .product-list {
      justify-content: center;
    }
  
    .header-flex {
      flex-direction: column;
      gap: 0.7rem;
    }
  
    .search-bar {
      margin: 0.5rem 0;
      max-width: 98vw;
    }
  }
  
  @media (max-width: 800px) {
    .category-list,
    .product-list {
      flex-direction: column;
      gap: 1rem;
    }
  
    .container {
      width: 98%;
    }
  
    .search-bar {
      margin: 0 0.5rem;
      max-width: 100%;
    }
  
    .modal-content {
      padding: 1rem 0.5rem;
      min-width: 90vw;
    }
  }
  
  @media (max-width: 768px) {
    .cart-modal-content {
      min-width: 95vw;
      max-height: 95vh;
      margin: 1rem;
    }
  
    .cart-items-container {
      max-height: 65vh;
      padding-right: 0.3rem;
      margin-right: -0.3rem;
    }
  
    .cart-table th,
    .cart-table td {
      padding: 0.8rem 0.6rem;
      font-size: 0.9rem;
    }
  
    .cart-table th {
      font-size: 0.8rem;
    }
  
    .cart-product-with-image {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
    }
  
    .cart-product-img {
      width: 50px;
      height: 38px;
    }
  
    .cart-product-info {
      max-width: 100% !important;
      padding: 0.8rem 0.6rem !important;
    }
  
    .cart-product-specs {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 0.3rem;
    }
  
    .spec-item {
      font-size: 0.75rem;
      padding: 0.15rem 0.3rem;
    }
  
    .cart-qty button {
      width: 28px;
      height: 28px;
      font-size: 0.9rem;
    }
  
    .cart-qty .qty-value {
      font-size: 0.9rem;
    }
  
    .cart-remove button {
      width: 28px;
      height: 28px;
      font-size: 1.2rem;
    }
  
    #checkout-btn {
      padding: 0.7rem 1.2rem;
      font-size: 0.95rem;
    }
  
    #cart-total {
      font-size: 1.1rem;
    }
  }
  
  @media (max-width: 480px) {
    .cart-modal-content {
      min-width: 98vw;
      max-height: 98vh;
      margin: 0.5rem;
    }
  
    .cart-items-container {
      max-height: 70vh;
    }
  
    .cart-table {
      font-size: 0.85rem;
    }
  
    .cart-table th,
    .cart-table td {
      padding: 0.6rem 0.4rem;
    }
  
    .cart-product-img {
      width: 40px;
      height: 30px;
    }
  
    .cart-product-title {
      font-size: 0.9rem;
    }
  
    .spec-item {
      font-size: 0.7rem;
      padding: 0.1rem 0.25rem;
    }
  }
  
  .login-links-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0.8rem 0 0.5rem 0;
    gap: 1rem;
  }
  
  .login-links-container .forgot-link {
    display: inline-block;
    width: auto;
    text-align: left;
    margin: 0;
    flex-shrink: 0;
    font-size: 0.95rem;
    color: #223a5e;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
  }
  
  .login-links-container .forgot-link:hover {
    color: #e53935;
  }
  
  @media (max-width: 480px) {
    .login-links-container {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
    }
  }
  */



/* ===========================================
       TOP RIGHT NOTIFICATION FEATURE
       =========================================== */
/* Top Right Notification Styles - Added in this session */
.top-right-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #10b981;
  /* Default green for success */
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transform: translateX(400px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 200px;
  max-width: 400px;
}

.top-right-notification.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.top-right-notification.success {
  background: #10b981;
  /* Green for success */
}

.top-right-notification.error {
  background: #ef4444;
  /* Red for error */
}

/* Animation for top right notification */
@keyframes topRightNotificationSlide {
  0% {
    opacity: 0;
    transform: translateX(400px);
  }

  20% {
    opacity: 1;
    transform: translateX(0);
  }

  80% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
    transform: translateX(400px);
  }
}

/* ===========================================
       END OF TOP RIGHT NOTIFICATION FEATURE
       =========================================== */

/* ===========================================
       USER TYPE SWITCH FEATURE
       =========================================== */
/* E-TİCARET SAYFASI İÇİN - PLASİYER2.HTML'DE KULLANILMIYOR */
/*
  .user-type-switch-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.75rem 0;
    width: 100%;
  }
  
  .switch-toggle {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 32px;
    cursor: pointer;
  }
  
  .switch-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  .switch-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    z-index: 2;
  }
  
  .switch-text {
    position: absolute;
    font-size: 0.7rem;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    white-space: nowrap;
    user-select: none;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
  }
  
  .switch-toggle input:checked+.switch-slider {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(59, 91, 156, 0.2);
  }
  
  .switch-toggle input:checked+.switch-slider:before {
    transform: translateX(88px);
  }
  
  .switch-toggle input:checked+.switch-slider .switch-text {
    color: white;
    left: 35%;
    transform: translateX(-50%);
  }
  
  .switch-toggle input:not(:checked)+.switch-slider .switch-text {
    left: 65%;
    transform: translateX(-50%);
  }
  
  .switch-toggle input:focus+.switch-slider {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(59, 91, 156, 0.15);
  }
  
  .switch-toggle:hover .switch-slider {
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
  }
  
  .switch-toggle:hover input:checked+.switch-slider {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(59, 91, 156, 0.25);
  }
  */

/* ===========================================
       END OF USER TYPE SWITCH FEATURE
       =========================================== */


/* ===========================================
       LOGIN BUTTON LOADING ANIMATION STYLES
       =========================================== */

.modal-content button .button-text {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.modal-content button .button-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  position: absolute;
}

.modal-content button.loading .button-text {
  opacity: 0;
}

.modal-content button.loading .button-spinner {
  display: inline-block;
}

.modal-content button.loading {
  cursor: not-allowed;
  pointer-events: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===========================================
       END OF LOGIN BUTTON LOADING ANIMATION STYLES
       =========================================== */

/* E-TİCARET SAYFASI İÇİN - PLASİYER2.HTML'DE KULLANILMIYOR */
/*
  .size-display {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .size-display-group {
    display: flex;
    flex-direction: column;
  }
  
  .size-display-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.3rem;
  }
  
  .size-display-value {
    padding: 0.6rem 0.8rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    background: #f0f2f5;
    color: var(--text);
    font-weight: 500;
  }
  
  .color-selection {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
  }
  
  .color-selection label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.3rem;
  }
  
  .color-combobox {
    padding: 0.6rem 0.8rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    background: #fafbfc;
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
    cursor: pointer;
  }
  
  .color-combobox:focus {
    outline: none;
    border-color: var(--brand-2);
    box-shadow: 0 0 0 3px rgba(59, 91, 156, 0.12);
  }
  */

/*/////////////// PROFILE STYLES /////////////*/
/* E-TİCARET SAYFASI İÇİN - PLASİYER2.HTML'DE KULLANILMIYOR */
/*
  .profile-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
  }
  
  .profile-header {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: #fff;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
  }
  
  .profile-header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border: 4px solid rgba(255, 255, 255, 0.3);
  }
  
  .profile-info h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
  }
  
  .profile-info p {
    margin: 0.3rem 0;
    opacity: 0.9;
    font-size: 1rem;
  }
  
  .profile-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border);
    flex-wrap: wrap;
  }
  
  .profile-tab {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted);
    transition: all var(--transition);
    position: relative;
    top: 2px;
  }
  
  .profile-tab:hover {
    color: var(--brand-2);
  }
  
  .profile-tab.active {
    color: var(--brand-2);
    border-bottom-color: var(--brand-2);
  }
  
  .profile-content {
    display: none;
  }
  
  .profile-content.active {
    display: block;
  }
  
  .profile-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
  }
  
  .profile-card h2 {
    margin: 0 0 1.5rem 0;
    color: var(--brand);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .info-item label {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .info-item .value {
    font-size: 1.1rem;
    color: var(--text);
    font-weight: 500;
  }
  
  .info-item input,
  .info-item textarea {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition);
  }
  
  .info-item input:focus,
  .info-item textarea:focus {
    outline: none;
    border-color: var(--brand-2);
  }
  
  .info-item textarea {
    resize: vertical;
    min-height: 100px;
  }
  
  .edit-mode .info-item .value {
    display: none;
  }
  
  .edit-mode .info-item input,
  .edit-mode .info-item textarea {
    display: block;
  }
  
  .info-item input,
  .info-item textarea {
    display: none;
  }
  
  .btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .btn-primary {
    background: var(--brand-2);
    color: #fff;
  }
  
  .btn-primary:hover {
    background: var(--brand);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
  }
  
  .btn-secondary {
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
  }
  
  .btn-secondary:hover {
    background: var(--bg);
    border-color: var(--brand-2);
  }
  
  .order-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .order-item {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card);
    transition: all var(--transition);
  }
  
  .order-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
  }
  
  .order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .order-id {
    font-weight: 600;
    color: var(--brand);
  }
  
  .order-date {
    color: var(--muted);
    font-size: 0.9rem;
  }
  
  .order-status {
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
  }
  
  .order-status.completed {
    background: #d1fae5;
    color: #065f46;
  }
  
  .order-status.pending {
    background: #fef3c7;
    color: #92400e;
  }
  
  .order-status.processing {
    background: #dbeafe;
    color: #1e40af;
  }
  
  .order-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .order-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }
  
  .order-detail-item label {
    font-size: 0.85rem;
    color: var(--muted);
  }
  
  .order-detail-item .value {
    font-weight: 500;
    color: var(--text);
  }
  
  .empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--muted);
  }
  
  .empty-state .material-icons {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
  }
  
  @media (max-width: 768px) {
    .profile-header-content {
      flex-direction: column;
      text-align: center;
    }
  
    .profile-tabs {
      overflow-x: auto;
    }
  
    .info-grid {
      grid-template-columns: 1fr;
    }
  
    .order-header {
      flex-direction: column;
      align-items: flex-start;
    }
  }
  */

/*///////////////////PROFILE STYLES END//////////////////*/

/* ===================== CART PAGE STYLES ===================== */
/* E-TİCARET SAYFASI İÇİN - PLASİYER2.HTML'DE KULLANILMIYOR */
/*
  .cart-page {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
  }
  
  .cart-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
  }
  
  .cart-page-header h1 {
    margin: 0;
    font-size: 2rem;
    color: var(--brand);
  }
  
  .continue-shopping {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-2);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
  }
  
  .continue-shopping:hover {
    color: var(--brand);
  }
  
  .continue-shopping .material-icons {
    font-size: 1.2rem;
  }
  
  .cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  @media (max-width: 968px) {
    .cart-layout {
      grid-template-columns: 1fr;
    }
  }
  
  .cart-section {
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
  }
  
  .section-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
  }
  
  .section-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--brand);
  }
  
  .cart-items-container-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .cart-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--muted);
  }
  
  .cart-empty-state .material-icons {
    font-size: 4rem;
    color: var(--border);
    margin-bottom: 1rem;
  }
  
  .cart-empty-state h3 {
    margin: 0.5rem 0;
    color: var(--text);
  }
  
  .cart-empty-state p {
    margin-bottom: 1.5rem;
  }
  
  .cart-item-page {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card);
    transition: box-shadow var(--transition);
  }
  
  .cart-item-page:hover {
    box-shadow: var(--shadow);
  }
  
  @media (max-width: 768px) {
    .cart-item-page {
      grid-template-columns: 100px 1fr;
      gap: 1rem;
    }
  
    .cart-item-controls {
      grid-column: 1 / -1;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 1rem;
      padding-top: 1rem;
      border-top: 1px solid var(--border);
    }
  }
  
  .cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg);
  }
  
  .cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .cart-item-title {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text);
    font-weight: 600;
  }
  
  .cart-item-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--muted);
  }
  
  .cart-item-specs span {
    padding: 0.25rem 0.5rem;
    background: var(--bg);
    border-radius: 4px;
  }
  
  .cart-item-price-mobile {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.5rem;
  }
  
  @media (max-width: 768px) {
    .cart-item-price-mobile {
      display: flex;
    }
  
    .cart-item-controls .cart-item-price {
      display: none;
    }
  }
  
  .cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
  }
  
  .cart-item-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
  }
  
  .unit-price {
    font-size: 0.875rem;
    color: var(--muted);
  }
  
  .line-total {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand);
  }
  
  .quantity-controls-page {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.25rem;
  }
  
  .qty-btn-decrease,
  .qty-btn-increase {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--brand);
    cursor: pointer;
    border-radius: 4px;
    transition: background var(--transition);
  }
  
  .qty-btn-decrease:hover,
  .qty-btn-increase:hover {
    background: var(--bg);
  }
  
  .qty-btn-decrease .material-icons,
  .qty-btn-increase .material-icons {
    font-size: 1.2rem;
  }
  
  .qty-value-page {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
    color: var(--text);
  }
  
  .remove-item-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    border-radius: 4px;
    transition: background var(--transition);
  }
  
  .remove-item-btn:hover {
    background: rgba(239, 68, 68, 0.1);
  }
  
  .remove-item-btn .material-icons {
    font-size: 1.2rem;
  }
  
  .order-summary {
    margin-bottom: 1.5rem;
  }
  
  .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    color: var(--text);
  }
  
  .summary-row.total-row {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand);
    border-top: 2px solid var(--border);
    margin-top: 0.5rem;
    padding-top: 1rem;
  }
  
  .summary-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
  }
  
  .cart-page .btn-primary,
  .checkout-section .btn-primary,
  .order-review-section .btn-primary {
    width: 100%;
    padding: 1rem;
    background: var(--brand);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background var(--transition);
  }
  
  .cart-page .btn-primary:hover,
  .checkout-section .btn-primary:hover,
  .order-review-section .btn-primary:hover {
    background: var(--brand-2);
  }
  
  .cart-page .btn-primary:disabled,
  .checkout-section .btn-primary:disabled,
  .order-review-section .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
  
  .cart-page .btn-secondary,
  .checkout-section .btn-secondary {
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--brand);
    border: 2px solid var(--brand);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition);
  }
  
  .cart-page .btn-secondary:hover,
  .checkout-section .btn-secondary:hover {
    background: var(--brand);
    color: white;
  }
  
  .btn-large {
    padding: 1.25rem;
    font-size: 1.1rem;
  }
  
  .checkout-section {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
  }
  
  .checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
  }
  
  .checkout-header h2 {
    margin: 0;
    font-size: 1.75rem;
    color: var(--brand);
  }
  
  .checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  @media (max-width: 968px) {
    .checkout-layout {
      grid-template-columns: 1fr;
    }
  }
  
  .checkout-form-section {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
  }
  
  .checkout-form-section h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.5rem 0;
    font-size: 1.25rem;
    color: var(--brand);
  }
  
  .checkout-form-section h3 .material-icons {
    font-size: 1.5rem;
  }
  
  .checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .checkout-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .checkout-form .form-group label {
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
  }
  
  .checkout-form .form-group input,
  .checkout-form .form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition);
  }
  
  .checkout-form .form-group input:focus,
  .checkout-form .form-group textarea:focus {
    outline: none;
    border-color: var(--brand);
  }
  
  .checkout-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }
  
  .payment-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  
  .payment-method-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
  }
  
  .payment-method-option:hover {
    border-color: var(--brand);
    background: var(--bg);
  }
  
  .payment-method-option input[type="radio"] {
    margin: 0;
    cursor: pointer;
  }
  
  .payment-method-option input[type="radio"]:checked+.material-icons+span {
    font-weight: 600;
    color: var(--brand);
  }
  
  .payment-method-option:has(input[type="radio"]:checked) {
    border-color: var(--brand);
    background: rgba(59, 91, 156, 0.05);
  }
  
  .payment-method-option .material-icons {
    color: var(--brand);
  }
  
  .payment-details {
    margin-top: 1rem;
  }
  
  .info-box {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    border-left: 4px solid var(--brand);
  }
  
  .info-box p {
    margin: 0.5rem 0;
    color: var(--text);
  }
  
  .info-box strong {
    color: var(--brand);
  }
  
  .info-note {
    margin-top: 1rem !important;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--muted);
    font-style: italic;
  }
  
  .order-review-section {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 2rem;
    margin-top: 2rem;
  }
  
  .order-review-section h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    color: var(--brand);
  }
  
  .order-review-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  
  .review-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--card);
    border-radius: var(--radius-sm);
  }
  
  .review-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .review-item-name {
    font-weight: 600;
    color: var(--text);
  }
  
  .review-item-qty {
    font-size: 0.875rem;
    color: var(--muted);
  }
  
  .review-item-price {
    font-weight: 600;
    color: var(--brand);
  }
  
  .order-review-total {
    margin-bottom: 1.5rem;
  }
  
  .order-confirmation-section {
    background: var(--card);
    border-radius: var(--radius);
    padding: 4rem 2rem;
    box-shadow: var(--shadow);
    text-align: center;
  }
  
  .confirmation-content {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .confirmation-icon {
    margin-bottom: 1.5rem;
  }
  
  .confirmation-icon .material-icons {
    font-size: 5rem;
    color: #10b981;
  }
  
  .confirmation-content h2 {
    margin: 0 0 1rem 0;
    font-size: 2rem;
    color: var(--brand);
  }
  
  .confirmation-message {
    font-size: 1.25rem;
    color: var(--text);
    margin: 1rem 0;
  }
  
  .confirmation-message strong {
    color: var(--brand);
    font-size: 1.5rem;
  }
  
  .confirmation-details {
    color: var(--muted);
    margin: 1.5rem 0 2rem 0;
    line-height: 1.6;
  }
  
  .confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .confirmation-actions .btn-primary,
  .confirmation-actions .btn-secondary {
    min-width: 200px;
  }
  
  .cart-page .hidden,
  .checkout-section.hidden,
  .order-confirmation-section.hidden {
    display: none !important;
  }
  
  @media print {
    .cart-page-header,
    .checkout-header,
    .confirmation-actions,
    header,
    footer {
      display: none;
    }
  
    .order-confirmation-section {
      box-shadow: none;
      padding: 2rem 0;
    }
  }
  */

/* ===================== END CART PAGE STYLES ===================== */


body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

/* Header */
.plasiyer-header {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #fff;
  padding: 0.875rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.plasiyer-header:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.15);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  height: 3.5rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  max-width: 400px;
}

.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 500;
  z-index: 1;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.header-center:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

.header-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.logout-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
  font-size: 0.9rem;
}

.logout-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Main Container */
.plasiyer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.stat-title {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.stat-icon.blue {
  background: rgba(59, 91, 156, 0.1);
  color: var(--brand-2);
}

.stat-icon.green {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.stat-icon.orange {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
}

.stat-icon.purple {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
}

.stat-icon.red {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent);
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  border-color: var(--brand);
  color: white;
}

.filter-btn.active:hover {
  background: linear-gradient(135deg, var(--brand-2) 0%, var(--brand) 100%);
  border-color: var(--brand-2);
  color: white;
}

/* Tabs */
.tabs-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  overflow: hidden;
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: #fafbfc;
  flex-wrap: wrap;
}

.tab {
  flex: 1;
  min-width: 120px;
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}

.tab:hover {
  color: var(--brand-2);
  background: rgba(59, 91, 156, 0.05);
}

.tab.active {
  color: var(--brand-2);
  background: var(--card);
}

.tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
}

.tab-content {
  display: none;
  padding: 2rem;
}

.tab-content.active {
  display: block;
}

/* Search and Filter */
.search-filter-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: #fafbfc;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-box input:focus {
  outline: none;
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(59, 91, 156, 0.12);
  background: var(--card);
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.2rem;
}

/* Müşteri Arama Sonuçları */
#musteri-results {
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

#musteri-results::-webkit-scrollbar {
  width: 6px;
}

#musteri-results::-webkit-scrollbar-track {
  background: transparent;
}

#musteri-results::-webkit-scrollbar-thumb {
  background-color: var(--border);
  border-radius: 3px;
}

#musteri-results::-webkit-scrollbar-thumb:hover {
  background-color: var(--muted);
}


/* Collapse Card Styles */
.collapse-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.collapse-card:hover {
  box-shadow: var(--shadow);
}

.collapse-card-header {
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #fafbfc 0%, #f5f6f8 100%);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
  user-select: none;
}

.collapse-card-header:hover {
  background: linear-gradient(135deg, #f5f6f8 0%, #eef1f4 100%);
}

.collapse-card-header.active {
  background: linear-gradient(135deg, rgba(59, 91, 156, 0.08) 0%, rgba(59, 91, 156, 0.05) 100%);
  border-bottom-color: rgba(59, 91, 156, 0.2);
}

.collapse-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.collapse-card-title .material-icons {
  font-size: 1.1rem;
  color: var(--brand-2);
  transition: transform var(--transition);
}

.collapse-card-header.active .collapse-card-title .material-icons {
  transform: rotate(90deg);
}

.collapse-card-icon {
  transition: transform var(--transition);
  color: var(--muted);
}

.collapse-card-header.active .collapse-card-icon {
  transform: rotate(180deg);
  color: var(--brand-2);
}

.collapse-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 1.25rem;
}

.collapse-card-body.expanded {
  max-height: 5000px;
  padding: 1.25rem;
  transition: max-height 0.4s ease-in, padding 0.3s ease-in;
}

@media (max-width: 768px) {
  .collapse-card-header {
    padding: 0.875rem 1rem;
  }

  .collapse-card-title {
    font-size: 0.875rem;
  }

  .collapse-card-body.expanded {
    padding: 1rem;
  }
}

/* Modal Buton Hover Effects */
.modal-cancel-btn:hover {
  background: #f8f9fa !important;
  border-color: var(--brand-2) !important;
  color: var(--brand-2) !important;
  transform: translateY(-1px);
}

.modal-save-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 91, 156, 0.3) !important;
}

.modal-save-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(59, 91, 156, 0.2) !important;
}

/* Modal Close Button Hover */
#urun-duzenle-modal .modal-close:hover {
  background: rgba(0, 0, 0, 0.05) !important;
}

#urun-duzenle-modal .modal-close:hover .material-icons {
  color: var(--text) !important;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-btn:hover {
  border-color: var(--brand-2);
  color: var(--brand-2);
}

/* Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.data-table thead {
  background: #fafbfc;
}

.data-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
  border-bottom: 2px solid var(--border);
}

.data-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 0.95rem;
}

.data-table tbody tr {
  transition: background var(--transition);
}

.data-table tbody tr:hover {
  background: #fafbfc;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* Table Container - Mobil için yatay kaydırma */
.table-container {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  /* iOS için smooth scrolling */
}

/* Tabloları saran div'ler için de overflow-x ekle */
div[style*="overflow-y: auto"] {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

/* Action Buttons */
.action-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 0.5rem;
}

.action-btn.primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(59, 91, 156, 0.2);
}

.action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 91, 156, 0.3);
}

.action-btn.secondary {
  background: var(--card);
  color: var(--brand-2);
  border: 1.5px solid var(--border);
}

.action-btn.secondary:hover {
  border-color: var(--brand-2);
  background: rgba(59, 91, 156, 0.05);
}

.action-btn.success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1.5px solid rgba(34, 197, 94, 0.2);
}

.action-btn.success:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: #22c55e;
}

.action-btn.warning {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
  border: 1.5px solid rgba(249, 115, 22, 0.2);
}

.action-btn.warning:hover {
  background: rgba(249, 115, 22, 0.2);
  border-color: #f97316;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-y: auto;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  margin: auto;
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--card);
  z-index: 10;
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted);
  transition: color var(--transition);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.modal-close:hover {
  color: var(--text);
  background: #fafbfc;
}

.modal-body {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: #fafbfc;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-sizing: border-box;
  font-family: inherit;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(59, 91, 156, 0.12);
  background: var(--card);
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(59, 91, 156, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 91, 156, 0.3);
}

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--brand-2);
  color: var(--brand-2);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--muted);
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state-text {
  font-size: 1.1rem;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}

.badge.success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.badge.warning {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
}

.badge.info {
  background: rgba(59, 91, 156, 0.1);
  color: var(--brand-2);
}

.badge.danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent);
}

/* Detail View */
.detail-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #fafbfc;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.detail-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.detail-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.detail-label {
  font-weight: 500;
  color: var(--muted);
}

.detail-value {
  color: var(--text);
}

.detail-items {
  margin-top: 1rem;
}

.detail-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--card);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  border: 1px solid var(--border);
}

/* Management Cards */
.management-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.management-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.management-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.management-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.management-card-content {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Ürün Seçim Tablosu Stilleri */
#urun-tablo-container {
  margin-top: 0.75rem;
}

#urun-tablo-body tr {
  cursor: pointer;
  transition: all var(--transition);
}

#urun-tablo-body tr:hover {
  background: linear-gradient(135deg, rgba(59, 91, 156, 0.08) 0%, rgba(59, 91, 156, 0.05) 100%);
  transform: translateX(2px);
}

#urun-tablo-body tr.selected {
  background: linear-gradient(135deg, rgba(59, 91, 156, 0.15) 0%, rgba(59, 91, 156, 0.1) 100%);
  border-left: 3px solid var(--brand-2);
}

#urun-tablo-body tr.selected:hover {
  background: linear-gradient(135deg, rgba(59, 91, 156, 0.2) 0%, rgba(59, 91, 156, 0.15) 100%);
}

#urun-tablo-body td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.urun-select-btn {
  padding: 0.4rem 0.8rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 4px rgba(59, 91, 156, 0.2);
}

.urun-select-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 91, 156, 0.3);
}

.urun-select-btn:active {
  transform: translateY(0);
}

/* Fiyat Geçmişi Butonu */
.urun-fiyat-gecmis-btn {
  padding: 0.4rem 0.8rem;
  background: rgba(59, 91, 156, 0.1);
  color: var(--brand-2);
  border: 1.5px solid rgba(59, 91, 156, 0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.5rem;
}

.urun-fiyat-gecmis-btn:hover {
  background: rgba(59, 91, 156, 0.15);
  border-color: var(--brand-2);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(59, 91, 156, 0.2);
}

.urun-fiyat-gecmis-btn:active {
  transform: translateY(0);
}

/* Butonların yan yana durması için */
.urun-action-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Switch Toggle Button */
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 32px;
}

.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 34px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.switch-toggle input:checked+.switch-slider {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow: 0 0 0 4px rgba(59, 91, 156, 0.15);
}

.switch-toggle input:checked+.switch-slider:before {
  transform: translateX(28px);
  box-shadow: 0 2px 6px rgba(59, 91, 156, 0.4);
}

.switch-toggle:hover .switch-slider {
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

.switch-toggle input:checked:hover+.switch-slider {
  box-shadow: 0 0 0 4px rgba(59, 91, 156, 0.2);
}

.switch-toggle:active .switch-slider:before {
  transform: scale(0.9);
}

.switch-toggle input:checked:active+.switch-slider:before {
  transform: translateX(28px) scale(0.9);
}

/* Fiyat Geçmişi Modal Özel Stilleri */
#fiyat-gecmis-modal .modal-content {
  max-width: fit-content !important;
  padding: 1rem !important;
  box-shadow: var(--shadow-lg);
}

#fiyat-gecmis-modal .modal-content table {
  border-radius: var(--radius);
}

/* Responsive */
@media (max-width: 768px) {
  .plasiyer-container {
    padding: 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .header-content {
    flex-wrap: wrap;
    gap: 0.75rem;
    height: auto;
    padding: 0.5rem 0;
  }

  .tabs {
    flex-direction: column;
  }

  .tab {
    border-bottom: 1px solid var(--border);
  }

  .tab.active::after {
    display: none;
  }

  .data-table {
    font-size: 0.85rem;
  }

  .data-table th,
  .data-table td {
    padding: 0.75rem 0.5rem;
  }

  .search-filter-bar {
    flex-direction: column;
  }

  .search-box {
    min-width: 100%;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .detail-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .management-grid {
    grid-template-columns: 1fr;
  }

  /* Switch Button Responsive */
  .switch-toggle {
    width: 50px;
    height: 28px;
  }

  .switch-slider:before {
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
  }

  .switch-toggle input:checked+.switch-slider:before {
    transform: translateX(22px);
  }

  /* Ürün Tablosu Filtreleme Responsive */
  #urun-tablo-container>div>div[style*="flex-wrap"] {
    flex-direction: column !important;
  }

  #urun-tablo-container>div>div[style*="flex-wrap"]>div {
    min-width: 100% !important;
    flex: 1 1 100% !important;
  }

  /* Müşteri Adres ve Döviz Cinsi Responsive */
  .plasiyer-container>div>div[style*="grid-template-columns: 1fr 200px"] {
    grid-template-columns: 1fr !important;
  }

  /* İrsaliye Alanları Responsive */
  #irsaliye-alanlari>div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  #irsaliye-alanlari>div[style*="grid-template-columns: 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Gizli kolonlar için CSS - Sadece Sipariş Fişi tablosundaki RENKGUID, BİRİM, birim katsayı, DOVİZ BİRİMİ, TOPTAN VERGİ kolonları */
/* Eklenen Ürünler Container - Gizli kolonlar */
#eklenen-urunler-container .data-table thead th:nth-child(11),
#eklenen-urunler-container .data-table thead th:nth-child(12),
#eklenen-urunler-container .data-table thead th:nth-child(13),
#eklenen-urunler-container .data-table thead th:nth-child(14),
#eklenen-urunler-container .data-table thead th:nth-child(15),
#eklenen-urunler-container .data-table tbody td:nth-child(11),
#eklenen-urunler-container .data-table tbody td:nth-child(12),
#eklenen-urunler-container .data-table tbody td:nth-child(13),
#eklenen-urunler-container .data-table tbody td:nth-child(14),
#eklenen-urunler-container .data-table tbody td:nth-child(15),
/* Sipariş Mevcut İçerik Container - Gizli kolonlar */
#siparis-mevcut-icerik-container .data-table thead th:nth-child(11),
#siparis-mevcut-icerik-container .data-table thead th:nth-child(12),
#siparis-mevcut-icerik-container .data-table thead th:nth-child(13),
#siparis-mevcut-icerik-container .data-table thead th:nth-child(14),
#siparis-mevcut-icerik-container .data-table thead th:nth-child(15),
#siparis-mevcut-icerik-container .data-table tbody td:nth-child(11),
#siparis-mevcut-icerik-container .data-table tbody td:nth-child(12),
#siparis-mevcut-icerik-container .data-table tbody td:nth-child(13),
#siparis-mevcut-icerik-container .data-table tbody td:nth-child(14),
#siparis-mevcut-icerik-container .data-table tbody td:nth-child(15),
/* Ekstre table Container gizli kolonlar */
#ekstre-table-container .data-table thead th:nth-child(13),
#ekstre-table-container .data-table tbody td:nth-child(13) {
  width: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  visibility: hidden;
  border: none;
  font-size: 0;
  line-height: 0;
}



/* Mobile Drawer - CSS Only (Checkbox Hack) */
.mobile-drawer-toggle {
  display: none;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-toggle:checked~.mobile-drawer {
  pointer-events: all;
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  max-width: 85vw;
  background: var(--card);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer-toggle:checked~.mobile-drawer .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--card);
  position: sticky;
  top: 0;
  z-index: 1;
}

.mobile-drawer-close {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer-tabs {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
}

.mobile-drawer-tab {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  text-align: left;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-left: 3px solid transparent;
}

.mobile-drawer-tab:hover {
  background: rgba(59, 91, 156, 0.05);
}

.mobile-drawer-tab.active {
  background: rgba(59, 91, 156, 0.1);
  color: var(--brand-2);
  border-left-color: var(--brand-2);
  font-weight: 600;
}

.mobile-drawer-tab span:last-child {
  flex: 1;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
  margin-left: 0.5rem;
  align-items: center;
  justify-content: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .tabs {
    display: none !important;
  }

  .header-left {
    font-size: 0.8125rem;
    max-width: 45%;
    overflow: hidden;
    white-space: normal;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex-shrink: 1;
  }

  .header-center {
    position: static;
    transform: none;
    order: 3;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
    text-align: center;
    justify-content: center;
  }

  .header-right {
    margin-left: auto;
    flex-shrink: 0;
    gap: 0.75rem;
  }

  .user-info {
    font-size: 0.8rem;
  }

  .logout-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
  .header-left {
    max-width: 220px;
    font-size: 0.9rem;
    white-space: normal;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .header-center {
    font-size: 0.75rem;
    padding: 0.45rem 0.85rem;
  }

  .header-right {
    gap: 1rem;
  }
}