/* ============================================
   AKDAMAS B2B - Desktop Uyumlu Tema
   b2bekran.png referans alÄ±narak tasarlandÄ±
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-body: #f0f0f0;
    --bg-white: #ffffff;
    --bg-header: #f5f5f5;
    --bg-table-header: #3D414A;
    --text-table-header: #ffffff;
    --border: #d0d0d0;
    --border-light: #e8e8e8;
    --text-primary: #222222;
    --text-secondary: #555555;
    --text-muted: #999999;
    --accent: #1a73e8;
    --accent-hover: #1557b0;
    --success: #2e7d32;
    --danger: #c62828;
    --warning: #f9a825;
    --orange: #ef6c00;
    --info: #1565c0;
    --kampanya: #7b1fa2;
    --radius: 4px;
    --shadow: 0 1px 4px rgba(0,0,0,0.1);
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; }
body {
    font-family: var(--font-body);
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: 75px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* ============================================
   HEADER - Logo + Firma + Telefon
   ============================================ */
.main-header {
    background: var(--bg-white);
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 100px;
}
.header-inner {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.header-brand { display: flex; align-items: center; gap: 0.5rem; }
.logo-img { max-height: 80px; width: auto; object-fit: contain; }
.header-user-info {
    display: flex;
    flex-direction: column;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid var(--border-light);
    line-height: 1.5;
    gap: 0.15rem;
}
.user-row {
    font-size: 0.85rem;
    color: var(--text-primary);
}
.user-row .info-label {
    color: var(--text-secondary);
    display: inline-block;
    width: 60px;
}
.user-row strong {
    color: var(--danger);
}
.btn-change-cari {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #495057;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s;
    margin-left: 10px;
    vertical-align: middle;
}
.btn-change-cari:hover {
    background: #e9ecef;
    border-color: #ced4da;
    color: #212529;
}
.btn-change-cari i {
    font-size: 0.7rem;
    color: #1a73e8;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-akdamas {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--danger);
    letter-spacing: 2px;
}
.logo-sub {
    font-size: 0.55rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.header-nav {
    display: flex;
    gap: 0.15rem;
    flex: 1;
    flex-wrap: wrap;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.15rem;
    background: var(--bg-header);
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.65rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.nav-item:hover {
    background: #e3e3e3;
    color: var(--text-primary);
}
.nav-item.active {
    background: var(--bg-white);
    color: var(--danger);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-weight: 600;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: fit-content;
    margin-left: auto;
}
.header-promo-gif {
    height: 100px;
    width: auto;
    border-radius: var(--radius);
    object-fit: contain;
}
.user-info {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.2;
}
.user-firma {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
}
.user-name {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.logout-form { display: inline; }
.btn-logout {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.35rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    transition: all 0.15s ease;
}
.btn-logout:hover { border-color: var(--danger); color: var(--danger); background: #fff0f0; }

/* Sepet Badge */
.sepet-badge-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.15s ease;
    flex-shrink: 0;
}
.sepet-badge-btn:hover { border-color: #1a2540; color: #1a2540; background: #f0f4ff; }
.sepet-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    background: #e53e3e;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    animation: badgePop 0.3s ease;
}

/* Tab bar Sepet badge */
.tab-sepet-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e53e3e;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 9px;
    padding: 0 4px;
    margin-left: 5px;
    line-height: 1;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    animation: badgePop 0.3s ease;
}
@keyframes badgePop {
    0%   { transform: scale(0.5); opacity: 0; }
    70%  { transform: scale(1.2); }
    100% { transform: scale(1);   opacity: 1; }
}

/* ============================================
   LOGIN PAGE - Light Theme
   ============================================ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f7fa;
    padding: 1rem;
    font-family: 'Inter', sans-serif;
}
.login-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* Banner üst kısım - logo + markalar */
.login-banner {
    background: #ffffff;
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}
.login-logo {
    margin-bottom: 1rem;
}
.login-slogan {
    font-size: 0.75rem;
    color: #4a5568;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.login-brands {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}
.brand-text {
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.brand-sep { color: #cbd5e0; font-size: 0.8rem; }

/* Form alanı */
.login-form {
    padding: 2rem;
}
.login-form .form-row,
.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
    border: none;
    border-radius: 0;
    overflow: visible;
    gap: 8px;
}
.login-form .form-row label,
.form-row label {
    background: transparent;
    color: #4a5568;
    padding: 0;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: left;
    min-width: unset;
}
.login-form .form-row input,
.form-row input {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #1a202c;
    font-size: 0.95rem;
    text-align: left !important;
    outline: none;
    transition: all 0.2s;
}
.login-form .form-row input:focus,
.form-row input:focus {
    background: #ffffff;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}
.btn-giris {
    width: 100%;
    padding: 0.85rem;
    background: #1a73e8;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-giris:hover { background: #1557b0; }

/* Footer - adres bilgileri */
.login-footer {
    background: #f8fafc;
    border-top: 1px solid #f0f0f0;
    padding: 1.5rem 2rem;
    text-align: center;
}
.login-footer p {
    color: #718096;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 0.25rem;
}
.login-phone {
    color: #e63946 !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin-top: 0.5rem;
}

.form-extra {
    margin-top: 15px;
    text-align: center;
}

.link-kayit {
    color: #8888aa;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

.link-kayit:hover {
    color: #1a73e8;
    text-decoration: underline;
}

.alert-error {
    background: #fff0f0;
    border: 1px solid #ffcccc;
    color: var(--danger);
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius);
    margin: 0 2rem 0.75rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================
   PRODUCT PAGE
   ============================================ */
.page-product {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0.75rem 1rem 200px 1rem;
}

/* Firma + Temsilci bilgi Ã§ubuÄŸu */
.info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}
.info-left { display: flex; align-items: center; gap: 0.5rem; }
.info-firma { font-weight: 700; color: var(--text-primary); }
.info-temsilci { color: var(--text-muted); font-size: 0.8rem; margin-left: 0.75rem; }

/* Arama Ã§ubuÄŸu */
.search-bar { margin-bottom: 0.5rem; }
.search-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.15s ease;
}
.search-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
}
.search-icon {
    position: absolute;
    left: 0.75rem;
    color: var(--text-muted);
    pointer-events: none;
}
.search-input {
    flex: 1;
    padding: 0.6rem 0.75rem 0.6rem 2.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font);
    outline: none;
}
.search-input::placeholder { color: var(--text-muted); }
.btn-search {
    padding: 0.6rem 1.5rem;
    background: var(--danger);
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.85rem;
    transition: all 0.15s ease;
}
.btn-search:hover { background: #a00000; }

.search-info {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   TAB BAR - Yüzen Cam-Kart Tasarımı
   ============================================ */
.tab-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 6px 12px;
    margin-top: 10px;
    margin-bottom: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Sekme Giriş Animasyonu */
@keyframes tabEntrance {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 0.95rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #555c68;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    height: 40px;
    position: relative;
    /* Cascade giriş animasyonu */
    animation: tabEntrance 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Staggered Delay / Kademeli Gecikme */
.tab-item:nth-child(1)  { animation-delay: 0.03s; }
.tab-item:nth-child(2)  { animation-delay: 0.06s; }
.tab-item:nth-child(3)  { animation-delay: 0.09s; }
.tab-item:nth-child(4)  { animation-delay: 0.12s; }
.tab-item:nth-child(5)  { animation-delay: 0.15s; }
.tab-item:nth-child(6)  { animation-delay: 0.18s; }
.tab-item:nth-child(7)  { animation-delay: 0.21s; }
.tab-item:nth-child(8)  { animation-delay: 0.24s; }
.tab-item:nth-child(9)  { animation-delay: 0.27s; }
.tab-item:nth-child(10) { animation-delay: 0.30s; }
.tab-item:nth-child(11) { animation-delay: 0.33s; }

/* SVG Icon & Badge transitions */
.tab-item svg {
    flex-shrink: 0;
    stroke: var(--tab-color, #64748b) !important;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), stroke 0.25s ease;
}

/* Tab Renk Profilleri */
.tab-dashboard   { --tab-color: #1e40af; --tab-bg-hover: rgba(30, 64, 175, 0.08); --tab-color-alpha: rgba(30, 64, 175, 0.3); }
.tab-stokcam     { --tab-color: #0284c7; --tab-bg-hover: rgba(2, 132, 199, 0.08); --tab-color-alpha: rgba(2, 132, 199, 0.3); }
.tab-stok        { --tab-color: #dc2626; --tab-bg-hover: rgba(220, 38, 38, 0.08); --tab-color-alpha: rgba(220, 38, 38, 0.3); }
.tab-sepet       { --tab-color: #16a34a; --tab-bg-hover: rgba(22, 163, 74, 0.08); --tab-color-alpha: rgba(22, 163, 74, 0.3); }
.tab-eskisiparis { --tab-color: #ea580c; --tab-bg-hover: rgba(234, 88, 12, 0.08); --tab-color-alpha: rgba(234, 88, 12, 0.3); }
.tab-ekstre      { --tab-color: #7c3aed; --tab-bg-hover: rgba(124, 58, 237, 0.08); --tab-color-alpha: rgba(124, 58, 237, 0.3); }
.tab-yeni        { --tab-color: #ec4899; --tab-bg-hover: rgba(236, 72, 153, 0.08); --tab-color-alpha: rgba(236, 72, 153, 0.3); }
.tab-kampanyali  { --tab-color: #f97316; --tab-bg-hover: rgba(249, 115, 22, 0.08); --tab-color-alpha: rgba(249, 115, 22, 0.3); }
.tab-duyurular   { --tab-color: #06b6d4; --tab-bg-hover: rgba(6, 182, 212, 0.08); --tab-color-alpha: rgba(6, 182, 212, 0.3); }
.tab-bakiyeler   { --tab-color: #0d9488; --tab-bg-hover: rgba(13, 148, 136, 0.08); --tab-color-alpha: rgba(13, 148, 136, 0.3); }
.tab-sanalpos    { --tab-color: #4f46e5; --tab-bg-hover: rgba(79, 70, 229, 0.08); --tab-color-alpha: rgba(79, 70, 229, 0.3); }
.tab-iletisim    { --tab-color: #475569; --tab-bg-hover: rgba(71, 85, 105, 0.08); --tab-color-alpha: rgba(71, 85, 105, 0.3); }

/* Hover Etkileşimleri */
.tab-item:hover {
    background: var(--tab-bg-hover);
    color: var(--tab-color);
    transform: translateY(-2px);
}
.tab-item:hover svg {
    transform: scale(1.2) rotate(4deg);
}
/* Özel İkon Sallanma / Büyüme efektleri */
.tab-dashboard:hover svg { transform: translateY(-2px); }
.tab-stokcam:hover svg   { transform: scale(1.2) rotate(6deg); }
.tab-sepet:hover svg { transform: scale(1.2) rotate(-5deg); }
.tab-duyurular:hover svg { transform: rotate(15deg); }

/* Aktif Durum Tasarımı (Premium Parlama) */
.tab-item.active {
    background: var(--tab-color) !important;
    color: #ffffff !important;
    border-color: var(--tab-color) !important;
    box-shadow: 0 4px 14px var(--tab-color-alpha) !important;
    transform: translateY(-1px);
    font-weight: 600;
}
.tab-item.active svg {
    stroke: #ffffff !important;
    transform: scale(1.1) !important;
}

/* Sepet Sayı Badge Nabız Animasyonu */
@keyframes badgePulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.4); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 5px rgba(229, 62, 62, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(229, 62, 62, 0); }
}

.tab-sepet-badge {
    animation: badgePulse 2s infinite ease-in-out;
}

/* ============================================
   TABLE - Başlık #3D414A + beyaz yazı (Desktop uyumlu)
   ============================================ */
.table-container {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-white);
    margin-bottom: 50px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}
.stok-table {
    width: 100%;
    border-collapse: collapse;
    font-family: inherit;
}
.stok-table thead {
    background: var(--bg-table-header);
}
.stok-table th {
    padding: 0.55rem 0.6rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-table-header);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 2px solid #2d3038;
    white-space: nowrap;
    height: 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.stok-table th:last-child {
    border-right: none;
}
.stok-table td {
    padding: 0.5rem 0.6rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.82rem;
    vertical-align: middle;
    border-right: 1px solid var(--border-light);
}
.stok-table td:last-child {
    border-right: none;
}
.stok-row {
    cursor: pointer;
    transition: background 0.1s ease;
}
.stok-row:hover { background: #f8f4e0; }
.stok-row:nth-child(even) { background: #fafafa; }
.stok-row:nth-child(even):hover { background: #f8f4e0; }
.stok-row:last-child td { border-bottom: none; }

.barkod-text {
    font-weight: 600;
    color: var(--accent);
    font-size: 0.8rem;
}
.stok-adi { font-weight: 500; color: var(--text-primary); }
.stok-oem { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.1rem; }

.col-fiyat, .col-kampanya, .col-indirim, .col-net, .col-kdv {
    text-align: right;
    white-space: nowrap;
    font-size: 0.82rem;
}
.col-durum { width: 36px; text-align: center; }
.col-resim { width: 36px; text-align: center; }
.col-ozelkod { white-space: nowrap; }
.col-yeni, .col-kampanyali { text-align: center; width: 50px; }
.tablo-resim { 
    width: 24px; 
    height: 24px; 
    object-fit: contain; 
    cursor: zoom-in; 
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}
.tablo-resim:hover {
    transform: scale(8);
    z-index: 1000;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.badge-yeni {
    background: #4caf50;
    color: #fff;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 700;
}
.badge-kampanya {
    background: var(--kampanya);
    color: #fff;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 700;
}

.kampanya-fiyat { color: var(--kampanya); font-weight: 600; }
.indirim-badge {
    background: #e8f5e9;
    color: var(--success);
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
}
.text-muted { color: var(--text-muted); }

/* ============================================
   STATUS BADGES - Desktop ile aynÄ± renkler
   ============================================ */
.durum-badge {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

.durum-mevcut { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234caf50' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); background-color: transparent !important; }
.durum-telefon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f44336' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E"); background-color: transparent !important; }
.durum-yolda { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239e9e9e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='3' width='15' height='13'%3E%3C/rect%3E%3Cpolygon points='16 8 20 8 23 11 23 16 16 16 16 8'%3E%3C/polygon%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'%3E%3C/circle%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'%3E%3C/circle%3E%3C/svg%3E"); background-color: transparent !important; }
.durum-tedarik { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9800' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3C/svg%3E"); background-color: transparent !important; }
.durum-ozel { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232196f3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3C/svg%3E"); background-color: transparent !important; }
.durum-yok { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e91e63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E"); background-color: transparent !important; }
.durum-belirsiz { background: #bdbdbd; border-radius: 50%; width: 12px; height: 12px; }

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.2rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}
.page-btn {
    padding: 0.4rem 0.7rem;
    border-radius: var(--radius);
    background: var(--bg-white);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    transition: all 0.15s ease;
}
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.active {
    background: var(--danger);
    color: #fff;
    border-color: var(--danger);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
}
.empty-state svg { margin-bottom: 0.75rem; opacity: 0.3; }
.empty-state p { font-size: 0.95rem; }
.empty-state strong { color: var(--text-primary); }

/* ============================================
   LEGEND - Alt kÄ±sÄ±m durum aÃ§Ä±klamalarÄ±
   ============================================ */
.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.6rem 0.75rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
    position: fixed; inset: 0; z-index: 1200;
    background: rgba(0,0,0,0.5);
    display: flex; align-items: center; justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.15s ease;
}
.modal-content {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 100%; max-width: 1200px;
    max-height: 90vh; overflow-y: auto;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    position: relative;
    animation: slideUp 0.2s ease;
}
.modal-close {
    position: absolute; top: 0.5rem; right: 0.5rem;
    background: none; border: none; color: var(--text-muted);
    font-size: 1.4rem; cursor: pointer; z-index: 10;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius);
    transition: all 0.15s ease;
}
.modal-close:hover { background: #f5f5f5; color: var(--text-primary); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Detail panel */
.detay-panel { padding: 1.25rem; }
.detay-header { display: flex; gap: 1.25rem; margin-bottom: 1.25rem; }
.detay-resim {
    width: 180px; min-width: 180px; height: 180px;
    background: #f8f8f8; border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.detay-resim img { max-width: 100%; max-height: 100%; object-fit: contain; }
.detay-bilgi { flex: 1; }
.detay-bilgi h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text-primary); }

.detay-kodlar { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.75rem; }
.kod-item { display: flex; gap: 0.5rem; font-size: 0.85rem; }
.kod-label { color: var(--text-muted); min-width: 100px; font-weight: 500; }
.kod-value { font-weight: 600; color: var(--accent); }

.detay-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.85rem; color: var(--text-secondary); }
.meta-item { display: flex; align-items: center; gap: 0.3rem; }

.detay-fiyat-panel {
    background: #fafafa;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
}
.fiyat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
}
.fiyat-item { display: flex; flex-direction: column; gap: 0.2rem; }
.fiyat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
}
.fiyat-value { font-size: 1.05rem; font-weight: 700; }
.fiyat-value.net { color: var(--success); }
.fiyat-value.kdv { color: var(--danger); font-size: 1.2rem; }
.fiyat-value.indirim-text { color: var(--success); font-size: 0.9rem; }
.fiyat-item.kampanya .fiyat-value { color: var(--kampanya); }
.fiyat-item.highlight {
    background: #fff3f3;
    padding: 0.6rem;
    border-radius: var(--radius);
    border: 1px solid #ffdddd;
}

/* ============================================
   RESPONSIVE — TABLET (≤992px)
   ============================================ */
@media (max-width: 992px) {
    .header-promo-gif { height: 70px; }
    .tab-item { font-size: 0.74rem; padding: 0.4rem 0.6rem; height: 40px; }
}

/* Masaüstünde mobil alt çubuk gizlidir */
.mobile-bottom-bar { display: none; }

/* ============================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================ */
@media (max-width: 768px) {
    html { font-size: 13px; }
    body { padding-bottom: 50px; }

    /* ── iOS SAFARI INPUT ZOOM FIX ── */
    input[type="text"],
    input[type="number"],
    input[type="password"],
    input[type="date"],
    input[type="search"],
    input[type="tel"],
    input[type="email"],
    select,
    textarea {
        font-size: 16px !important;
    }

    /* ── HEADER ── */
    .main-header { height: auto; min-height: unset; }
    .header-inner {
        flex-wrap: wrap;
        padding: 0.5rem;
        gap: 0.4rem;
        position: relative;
    }
    .header-brand { width: 100%; display: flex; align-items: center; }
    .logo-img { max-height: 45px; }
    .header-user-info {
        flex: 1;
        font-size: 0.72rem;
        margin-left: 0.5rem;
        padding-left: 0.5rem;
        gap: 0;
        line-height: 1.35;
        min-width: 0;
    }
    .user-row {
        font-size: 0.72rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: calc(100vw - 100px);
    }
    .user-row .info-label { width: auto; min-width: unset; margin-right: 4px; }
    .btn-change-cari { font-size: 0.65rem; padding: 1px 5px; margin-left: 5px; }
    .header-user {
        position: absolute;
        right: 0.5rem;
        top: 0.5rem;
    }
    .header-promo-gif { display: none; }
    .header-nav { display: none; }
    .user-info { display: none; }

    /* ── TAB BAR ── */
    .tab-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }
    .tab-bar::-webkit-scrollbar { display: none; }
    .tab-item {
        font-size: 0.72rem;
        padding: 0.4rem 0.65rem;
        min-width: max-content;
        height: 38px;
        flex-shrink: 0;
    }

    /* ── PAGE PRODUCT ── */
    .page-product { padding: 0.5rem 0.5rem 100px 0.5rem; }
    .info-bar { flex-direction: column; gap: 0.2rem; align-items: flex-start; }
    .info-temsilci { margin-left: 0; }

    /* ── SEARCH BAR ── */
    .search-wrapper { border-width: 1px; }
    .search-input { font-size: 0.9rem; padding: 0.5rem 0.5rem 0.5rem 2.2rem; }
    .btn-search { padding: 0.5rem 1rem; font-size: 0.8rem; }

    /* ── TABLO → CARD (Genel) ── */
    .table-container { border: none; background: transparent; }
    .stok-table:not(.sepet-table):not(.ekstre-table):not(.detay-table) thead { display: none; }
    .stok-table:not(.sepet-table):not(.ekstre-table):not(.detay-table),
    .stok-table:not(.sepet-table):not(.ekstre-table):not(.detay-table) tbody,
    .stok-table:not(.sepet-table):not(.ekstre-table):not(.detay-table) tr,
    .stok-table:not(.sepet-table):not(.ekstre-table):not(.detay-table) td {
        display: block; width: 100%;
    }
    .stok-table:not(.sepet-table):not(.ekstre-table):not(.detay-table) .stok-row {
        background: var(--bg-white);
        border: 1px solid var(--border);
        border-radius: 6px;
        margin-bottom: 0.5rem;
        padding: 0.75rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }
    .stok-table:not(.sepet-table):not(.ekstre-table):not(.detay-table) .stok-row:nth-child(even) { background: var(--bg-white); }
    .stok-table:not(.sepet-table):not(.ekstre-table):not(.detay-table) td {
        border: none; border-right: none; padding: 0.2rem 0; text-align: left !important;
    }
    .stok-table:not(.sepet-table):not(.ekstre-table):not(.detay-table) td::before {
        content: attr(data-label);
        font-size: 0.6rem;
        color: var(--text-muted);
        text-transform: uppercase;
        display: block;
        font-weight: 600;
        letter-spacing: 0.3px;
    }
    .stok-table td[data-label=""]::before,
    .stok-table td:not([data-label])::before { display: none; }
    .col-durum { display: inline-block; width: auto; float: right; }

    /* ── SEPET TABLE → CARD ── */
    .sepet-table thead { display: none; }
    .sepet-table, .sepet-table tbody { display: block; width: 100%; }
    .sepet-table tr { display: block; width: 100%; }
    .sepet-table td { display: block; width: 100% !important; }
    .sepet-table .stok-row {
        background: var(--bg-white);
        border: 1px solid var(--border);
        border-radius: 6px;
        margin-bottom: 0.5rem;
        padding: 0.75rem;
        padding-top: 2.2rem;
        position: relative;
        box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }
    .sepet-table .stok-row:nth-child(even) { background: var(--bg-white); }
    .sepet-table td {
        border: none;
        padding: 0.2rem 0;
        text-align: left !important;
    }
    .sepet-table td::before {
        content: attr(data-label);
        font-size: 0.6rem;
        color: var(--text-muted);
        text-transform: uppercase;
        display: block;
        font-weight: 600;
        letter-spacing: 0.3px;
    }
    .sepet-table td[data-label=""]::before { display: none; }
    .sepet-table .col-sec {
        position: absolute;
        top: 0.6rem;
        left: 0.75rem;
        width: auto !important;
        padding: 0 !important;
    }
    .sepet-table .col-sec::before { display: none; }
    .sepet-table .col-sil {
        position: absolute;
        top: 0.6rem;
        right: 0.75rem;
        width: auto !important;
        padding: 0 !important;
    }
    .sepet-table .col-sil::before { display: none; }
    .sepet-miktar-input {
        width: 80px;
        height: 38px;
        font-size: 1rem;
    }
    .chk-sec { width: 20px; height: 20px; cursor: pointer; }
    .sepet-table tfoot { display: none; }

    /* ── SEPET FOOTER ── */
    .sepet-footer {
        flex-direction: column;
        gap: 1rem;
        padding: 0.75rem;
    }
    .sf-left { padding-right: 0; }
    .sf-right { width: 100%; }
    .sf-actions { flex-wrap: wrap; gap: 0.4rem; }
    .sf-actions .btn { flex: 1; min-width: 100px; font-size: 0.78rem; }

    /* ── EKSTRE / SİPARİŞ TABLE → CARD ── */
    .ekstre-table thead { display: none; }
    .ekstre-table, .ekstre-table tbody { display: block; width: 100%; }
    .ekstre-table tbody tr {
        display: block;
        background: var(--bg-white);
        border: 1px solid var(--border);
        border-radius: 6px;
        margin-bottom: 0.5rem;
        padding: 0.75rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }
    .ekstre-table td {
        display: block;
        width: 100% !important;
        border: none;
        padding: 0.2rem 0;
        text-align: left !important;
    }
    .ekstre-table td::before {
        content: attr(data-label);
        font-size: 0.6rem;
        color: var(--text-muted);
        text-transform: uppercase;
        display: block;
        font-weight: 600;
        letter-spacing: 0.3px;
    }
    .ekstre-table td[data-label=""]::before { display: none; }

    /* ── EKSTRE / SİPARİŞ FİLTRE ── */
    .ekstre-filter-wrapper {
        flex-direction: column !important;
        gap: 8px !important;
        padding: 10px !important;
    }
    .filter-group { width: 100%; }
    .filter-group input { flex: 1; }
    .ekstre-summary {
        flex-direction: column;
        gap: 8px;
        padding: 0.75rem;
    }

    /* ── LEGEND ── */
    .legend {
        position: static;
        bottom: unset;
        font-size: 0.65rem;
        gap: 0.5rem 0.75rem;
        padding: 0.5rem 0.6rem;
        box-shadow: none;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    /* ── MARQUEE (Mobilde Gizle) ── */
    .fixed-bottom-marquees { display: none !important; }

    /* ── MOBİL SABİT CARİ & KULLANICI ALT ÇUBUĞU (Tek Satır) ── */
    .mobile-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 42px;
        background: #1e293b;
        color: #ffffff;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 12px;
        z-index: 1050;
        gap: 8px;
    }
    .mob-bar-left {
        display: flex;
        align-items: center;
        gap: 6px;
        min-width: 0;
        flex: 1;
    }
    .mob-bar-icon {
        color: #38bdf8;
        font-size: 0.85rem;
        flex-shrink: 0;
    }
    .mob-bar-cari {
        font-weight: 600;
        color: #f8fafc;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.82rem;
    }
    .mob-btn-change-cari {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
        border-radius: 6px;
        background: rgba(56, 189, 248, 0.15);
        color: #38bdf8;
        border: 1px solid rgba(56, 189, 248, 0.35);
        font-size: 0.75rem;
        text-decoration: none;
        flex-shrink: 0;
        transition: all 0.2s ease;
        margin-left: 2px;
    }
    .mob-btn-change-cari:hover, .mob-btn-change-cari:active {
        background: #38bdf8;
        color: #0f172a;
    }
    .mob-bar-right {
        display: flex;
        align-items: center;
        gap: 5px;
        flex-shrink: 0;
        color: #94a3b8;
        font-size: 0.78rem;
    }
    .mob-bar-user-icon {
        font-size: 0.82rem;
        color: #cbd5e1;
    }
    .mob-bar-user {
        font-weight: 500;
        color: #e2e8f0;
        max-width: 110px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* ── MODAL ── */
    .modal-overlay { padding: 0.25rem; }
    .modal-content {
        max-height: 95vh;
        border-radius: 8px;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* ── DETAY PANEL ── */
    .detay-header { flex-direction: column; }
    .detay-resim { width: 100%; height: 160px; }
    .fiyat-grid { grid-template-columns: repeat(2, 1fr); }

    /* ── DETAY MODAL FOOTER (HareketDetay, SiparisDetay) ── */
    .detay-footer {
        flex-direction: column;
        gap: 1rem;
        padding: 15px;
    }
    .toplamlar-paneli { width: 100%; }

    /* ── PAGINATION ── */
    .pagination { gap: 0.15rem; }
    .page-btn { padding: 0.4rem 0.6rem; font-size: 0.8rem; min-width: 36px; text-align: center; }

    /* ── BAKİYELER ── */
    .btn-action { padding: 8px 10px; font-size: 0.75rem; }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================ */
@media (max-width: 480px) {
    html { font-size: 12px; }

    /* Header ultra compact — kullanıcı bilgilerini gizle */
    .header-user-info { display: none; }
    .header-brand { justify-content: center; }
    .logo-img { max-height: 40px; }

    /* Login */
    .login-card { margin: 0.5rem; }
    .login-banner { padding: 1.5rem 1rem 1rem; }
    .login-form { padding: 1.5rem; }
    .login-footer { padding: 1rem; }
    .brand-text { font-size: 0.9rem; }

    /* Fiyat grid */
    .fiyat-grid { grid-template-columns: 1fr; }

    /* Tab bar daha kompakt */
    .tab-item { font-size: 0.68rem; padding: 0.35rem 0.5rem; height: 34px; }

    /* Sepet footer butonları alt alta */
    .sf-buttons { flex-direction: column; }
    .sf-totals { font-size: 0.8rem; }

    /* Sepet shipping */
    .page-sepet .sf-shipping { flex-direction: column !important; gap: 8px !important; }
}

/* ============================================
   FIXED BOTTOM MARQUEES (KAYAN YAZI & RESİM ŞERİDİ)
   ============================================ */
.fixed-bottom-marquees {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
}

.marquee-container {
    position: relative;
    width: 100%;
    height: 36px;
    background: var(--danger);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    overflow: hidden;
}
.marquee-text {
    white-space: nowrap;
    font-size: 1.05rem;
    font-weight: 600;
    animation: marquee 80s linear infinite;
}
@keyframes marquee {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* ============================================
   MARQUEE IMAGE TAPE
   ============================================ */
.marquee-image-container {
    position: relative;
    width: 100%;
    height: 40px;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    overflow: hidden;
    border-top: 1px solid var(--border);
}
.marquee-image-track {
    display: flex;
    gap: 2rem;
    height: 100%;
    align-items: center;
    padding: 0 1rem;
    animation: marquee-images 26s linear infinite;
}
.marquee-image-track img {
    height: 30px;
    width: auto;
    object-fit: contain;
}
@keyframes marquee-images {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* ============================================
   SEPETE EKLE MODAL (sepetekle.png TasarÄ±mÄ±)
   ============================================ */
.sepet-modal-container {
    background: #ffffff;
    border-radius: 4px;
    width: 660px;
    max-width: 95vw;
    font-family: inherit;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    position: relative;
}

.btn-close-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    background: var(--bg-white);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: var(--radius);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.btn-close-modal:hover { background: #fff0f0; color: var(--danger); border-color: var(--danger); }

.sepet-info-section {
    padding: 15px 20px;
    background: #f0f0f0;
    font-size: 13px;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 4px 4px 0 0;
}

.sepet-info-row {
    display: flex;
    margin-bottom: 4px;
}

.sepet-info-row .info-label {
    width: 100px;
    color: #584c43;
    font-weight: 600;
}

.sepet-info-row .info-value {
    flex: 1;
    color: #000;
}

.sepet-image-section {
    padding: 15px;
    text-align: center;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.sepet-image-wrapper {
    height: 368px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.sepet-image-wrapper img {
    max-width: 100%;
    height: 368px;
    object-fit: contain;
}

.image-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-img-ctrl {
    display: inline-block;
    padding: 6px 20px;
    background: linear-gradient(to bottom, #f5f5f5 0%, #e0e0e0 100%);
    border: 1px solid #cccccc;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 2px;
    text-align: center;
}
.btn-img-ctrl:hover { background: linear-gradient(to bottom, #eaeaea 0%, #d4d4d4 100%); }

.sepet-action-section {
    background: #ffffff;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.action-row {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 15px;
}

.action-inputs {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sepet-action-section .form-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 10px;
}

.sepet-action-section .form-row label {
    text-align: right;
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

.sepet-action-section .form-row input {
    width: 100%;
    max-width: 180px;
    padding: 4px 6px;
    border: 1px solid #a0a0a0;
    font-size: 16px;
    font-weight: 400;
    text-align: right;
    background: #ffffff;
    height: 30px;
}

.sepet-action-section .form-row input[readonly] {
    background: #ffffff;
    color: #000;
}

.sepet-action-section .form-row #sepetAdet {
    background: #ffffff;
    color: #000;
}

.sepet-action-section .form-row #sepetAdet:focus {
    background: #3399ff;
    color: #fff;
}

.btn-siparis, .btn-vazgec {
    width: 150px;
    background: linear-gradient(to bottom, #f0f0f0 0%, #e0e0e0 100%);
    border: 1px solid #cccccc;
    color: #000;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    border-radius: 2px;
    text-align: center;
    padding: 0;
}
.btn-siparis:hover, .btn-vazgec:hover { background: linear-gradient(to bottom, #eaeaea 0%, #d4d4d4 100%); }

/* ============================================
   SEPET SAYFASI (CART)
   ============================================ */
.sepet-table th, .sepet-table td {
    padding: 0.5rem;
    vertical-align: middle;
}
.sepet-table .col-sec { width: 40px; text-align: center; }
.sepet-table .col-tarih { width: 80px; font-size: 0.75rem; color: #555; }
.sepet-table .col-barkod { width: 160px; font-weight: 500; }

.sepet-table .col-aciklama { min-width: 200px; font-weight: 500; }
.sepet-table .col-miktar { width: 70px; text-align: center; }
.sepet-table .col-bfiyat, .sepet-table .col-tutar, .sepet-table .col-netfiyat, .sepet-table .col-vergi, .sepet-table .col-nettutar { width: 90px; }
.sepet-table .col-indirim { width: 90px; font-size: 0.75rem; }
.sepet-table .col-kdv { width: 50px; font-size: 0.8rem; }
.sepet-table .col-veren { width: 60px; font-size: 0.75rem; }
.sepet-table .col-sil { width: 40px; text-align: center; }

.sepet-miktar-input {
    width: 60px;
    padding: 4px;
    text-align: right;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.85rem;
}
.btn-sil {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.btn-sil:hover {
    background: #fee2e2;
}

.sepet-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.sf-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-right: 2rem;
}
.sf-actions {
    display: flex;
    gap: 0.5rem;
}
.btn-outline {
    background: #fff;
    border: 1px solid #ccc;
    color: #333;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius);
    font-size: 0.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.btn-outline:hover { background: #f9fafb; }
.sf-message {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.sf-message label { font-size: 0.75rem; font-weight: 600; color: #555; }
.sf-message textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem;
    font-family: inherit;
    font-size: 0.85rem;
    resize: vertical;
}

.sf-right {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.sf-totals {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.sf-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #555;
}
.sf-genel-toplam {
    font-weight: 700;
    font-size: 1.1rem;
    color: #111;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}
.sf-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.btn-gonder {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 0.7rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
}
.btn-gonder:hover { background: #1d4ed8; }
.btn-excel {
    background: #10b981;
    color: #fff;
    border: none;
    padding: 0.7rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
}
.btn-excel:hover { background: #059669; }

.text-right { text-align: right; }
.text-center { text-align: center; }


/* ==========================================================================
   SHARED MODAL & EVRAK DETAY STYLES (_HareketDetay, _SiparisDetay, _TahsilatDetay)
   ========================================================================== */
.modal-header-custom {
    padding: 15px 20px;
    background: #3D414A;
    color: #fff;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-title { margin: 0; font-size: 1.1rem; }
.modal-title-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1rem;
}
.btn-close-custom {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.modal-body-custom { padding: 0; background: #fff; }

.detay-scroll-container {
    max-height: 400px;
    overflow: auto;
    border-bottom: 1px solid #ddd;
}
.detay-table { border: none; }
.detay-table th { position: sticky; top: 0; z-index: 10; }

.detay-footer {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: #fcfcfc;
}
.evrak-bilgileri h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}
.info-row { font-size: 0.85rem; margin-bottom: 5px; }
.info-row span { color: #666; width: 100px; display: inline-block; }

.toplamlar-paneli {
    width: 250px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.toplam-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}
.toplam-row span { color: #666; }
.genel-toplam {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #ddd;
    font-size: 1.1rem;
}
.genel-toplam strong { color: var(--danger); }

.modal-footer-custom {
    padding: 10px 20px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
}

/* Modal Content Variations */
.modal-content:has(.modal-title-custom) {
    border-radius: 8px !important;
    border: none !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25) !important;
    max-width: 1000px !important;
    width: 95% !important;
}
.modal-content:has(.modal-title-custom) .modal-header-custom {
    background: #1a2540;
    padding: 0.8rem 1.2rem;
}
.modal-content:has(.modal-title-custom) .modal-body-custom {
    padding: 1.2rem;
    max-height: 70vh;
    overflow-y: auto;
}

/* Stok Detay (_Detay.cshtml) Modal Overrides */
.modal-content:has(.sd-card) .modal-close { display: none !important; }
.modal-content:has(.sd-card) {
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 940px !important;
    padding: 0 !important;
}

@media (max-width: 920px) {
    .modal-content:has(.sd-card) { max-width: 100% !important; margin: 10px auto; }
}

@media (max-width: 768px) {
    .detay-scroll-container { max-height: 50vh; }
    .detay-table thead { display: none; }
    .detay-table tbody tr {
        display: block;
        border-bottom: 1px solid #eee;
        padding: 10px 0;
    }
    .detay-table td {
        display: block;
        text-align: left !important;
        padding: 2px 10px;
        font-size: 0.82rem;
    }
    .detay-table td::before {
        content: attr(data-label);
        font-size: 0.6rem;
        color: #999;
        text-transform: uppercase;
        display: block;
        font-weight: 600;
        letter-spacing: 0.3px;
    }
    .detay-footer {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    .toplamlar-paneli { width: 100%; }
    .modal-content:has(.modal-body-custom) { max-width: 100% !important; width: 100% !important; }
}


/* ==========================================================================
   COMPONENT: Stok Detay Modal (_Detay.cshtml)
   ========================================================================== */

/* ── Sepet Modal – Premium Split Layout ── */
    .sd-card {
        background: #ffffff;
        border-radius: 16px;
        overflow: hidden;
        width: 900px;
        max-width: 96vw;
        font-family: var(--font-body), system-ui, -apple-system, sans-serif;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0,0,0,0.05);
        display: flex;
        flex-direction: column;
        max-height: 90vh;
        box-sizing: border-box;
    }
    .sd-card *, .sd-card *::before, .sd-card *::after {
        box-sizing: border-box;
    }

    .sd-body {
        overflow-y: auto;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    /* Titlebar */
    .sd-titlebar {
        background: linear-gradient(135deg, #0f172a, #1e293b);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
    }
    .sd-titlebar-left { display: flex; align-items: center; gap: 10px; }
    .sd-titlebar span { color: #ffffff; font-size: 1rem; font-weight: 600; font-family: var(--font-heading); letter-spacing: 0.3px; }
    
    .sd-win-btns { display: flex; gap: 5px; }
    .sd-wb-close { 
        background: rgba(255,255,255,0.1); 
        border: none; 
        border-radius: 50%;
        color: #fff; 
        width: 28px;
        height: 28px;
        font-size: 0.9rem; 
        cursor: pointer; 
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .sd-wb-close:hover { background: #ef4444; color: #fff; transform: rotate(90deg); }

    /* Split Layout */
    .sd-layout-split {
        display: flex;
        flex-direction: row;
        flex: 1;
    }

    .sd-split-left {
        flex: 0 0 260px;
        border-right: 1px solid var(--border-light);
        display: flex;
        flex-direction: column;
        background: #f8fafc;
        position: relative;
    }

    .sd-split-right {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-width: 0;
        background: #ffffff;
    }

    /* Resim Alanı */
    .sd-img-area {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 30px 20px;
        flex: 1;
        min-height: 240px;
    }
    .sd-img-area img {
        max-width: 100%;
        max-height: 240px;
        object-fit: contain;
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        filter: drop-shadow(0 10px 15px rgba(0,0,0,0.08));
    }
    .sd-img-area img:hover {
        transform: scale(1.08);
    }

    /* Resim Navigasyon */
    .sd-img-nav {
        display: flex;
        gap: 12px;
        padding: 0 20px 24px;
        justify-content: center;
    }
    .sd-nav-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
        font-weight: 600;
        background: #ffffff;
        border: 1px solid var(--border-light);
        border-radius: 20px;
        cursor: pointer;
        color: var(--text-secondary);
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: all 0.2s ease;
        box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    }
    .sd-nav-btn:hover { 
        background: var(--text-primary); 
        color: #ffffff;
        border-color: var(--text-primary);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    /* Bilgi Bölümü */
    .sd-info { 
        padding: 24px; 
        border-bottom: 1px solid var(--border-light); 
    }
    .sd-info-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .sd-info-item {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .sd-info-item.full-width {
        grid-column: span 2;
        border-bottom: 1px solid var(--border-light);
        padding-bottom: 16px;
        margin-bottom: 4px;
    }
    .sd-info-label {
        font-size: 0.75rem;
        text-transform: uppercase;
        color: var(--text-muted);
        letter-spacing: 0.8px;
        font-weight: 700;
    }
    .sd-info-value {
        font-size: 0.9rem;
        color: var(--text-secondary);
        font-weight: 500;
    }
    .sd-info-item.full-width .sd-info-value {
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--text-primary);
        line-height: 1.4;
    }

    /* Alt Bölüm */
    .sd-bottom { 
        padding: 16px 20px; 
        background: #fafafa;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .sd-bottom-layout { 
        display: flex; 
        gap: 14px; 
        align-items: stretch; 
        flex: 1;
    }

    /* Sol: İskonto Sütunu */
    .sd-isk-col {
        display: flex;
        flex-direction: column;
        gap: 6px;
        width: 80px;
        flex-shrink: 0;
        background: #ffffff;
        padding: 8px 6px;
        border-radius: 10px;
        border: 1px solid var(--border-light);
        box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    }
    .sd-isk-col-title {
        font-size: 0.68rem;
        color: var(--text-muted);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-align: center;
        padding-bottom: 6px;
        border-bottom: 1px solid var(--border-light);
        margin-bottom: 2px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        white-space: nowrap;
    }
    .sd-isk-input {
        width: 100%;
        padding: 6px 4px;
        font-size: 0.85rem;
        border: 1px solid var(--border);
        border-radius: 6px;
        background: #f8fafc;
        color: var(--text-primary);
        text-align: center;
        transition: all 0.2s ease;
    }
    .sd-isk-input:focus { outline: none; background:#fff; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(26,115,232,0.15); }

    /* Orta: Alan Sütunu */
    .sd-fields-col { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
    .sd-field-row { display: flex; align-items: center; gap: 10px; }
    .sd-field-label { font-size: 0.82rem; color: var(--text-secondary); width: 70px; flex-shrink: 0; text-align: right; font-weight: 600; }
    .sd-field-input {
        flex: 1;
        min-width: 0;
        width: 100%;
        padding: 8px 12px;
        font-size: 0.95rem;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: #ffffff;
        color: var(--text-primary);
        text-align: right;
        transition: all 0.2s ease;
        box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
    }
    .sd-field-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(26,115,232,0.15); }
    .sd-readonly { background: #f8fafc !important; color: var(--text-secondary); border-color: var(--border-light); box-shadow: none; }
    .sd-total   { background: #f0fdf4 !important; border-color: #86efac !important; font-weight: 700; color: #166534 !important; font-size: 1.05rem; }

    /* Adet spinner */
    .sd-qty-wrap { 
        display: flex; 
        flex: 1; 
        border: 1px solid var(--border);
        border-radius: 8px;
        overflow: hidden;
        background: #ffffff;
        transition: all 0.2s ease;
        box-shadow: 0 1px 2px rgba(0,0,0,0.02);
        min-width: 0;
    }
    .sd-qty-wrap:focus-within {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(26,115,232,0.15);
    }
    .sd-qty-input {
        flex: 1;
        padding: 8px 6px;
        font-size: 1rem;
        border: none;
        background: transparent;
        color: var(--text-primary);
        text-align: center;
        min-width: 40px;
        font-weight: 700;
        -moz-appearance: textfield;
    }
    .sd-qty-input::-webkit-outer-spin-button,
    .sd-qty-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
    .sd-qty-input:focus { outline: none; }
    .sd-qty-btn {
        width: 34px;
        flex-shrink: 0;
        border: none;
        background: #f1f5f9;
        cursor: pointer;
        font-size: 0.85rem;
        color: var(--text-secondary);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.15s;
    }
    .sd-qty-btn:hover { background: #e2e8f0; color: var(--text-primary); }

    .sd-divider { border: none; border-top: 1px dashed var(--border-light); margin: 4px 0; }

    /* Sağ: Tuş Sütunu */
    .sd-btns-col {
        display: flex;
        flex-direction: column;
        gap: 8px;
        justify-content: flex-start;
        width: 135px;
        flex-shrink: 0;
    }
    .sd-btn-primary {
        width: 100%;
        padding: 14px 10px;
        font-size: 0.9rem;
        font-weight: 600;
        background: var(--accent, #2563eb);
        color: #fff;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        letter-spacing: 0.3px;
        transition: all 0.2s ease;
        box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2), 0 2px 4px -1px rgba(37, 99, 235, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    .sd-btn-primary:hover { 
        background: var(--accent-hover, #1d4ed8); 
        transform: translateY(-2px);
        box-shadow: 0 6px 8px -1px rgba(37, 99, 235, 0.3), 0 4px 6px -1px rgba(37, 99, 235, 0.2);
    }
    .sd-btn-primary:active { transform: translateY(0); }
    .sd-btn-primary:disabled {
        background: #94a3b8;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }
    .sd-btn-secondary {
        width: 100%;
        padding: 12px 10px;
        font-size: 0.85rem;
        font-weight: 600;
        background: #ffffff;
        color: var(--text-secondary);
        border: 1px solid var(--border);
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        box-shadow: 0 1px 2px rgba(0,0,0,0.02);
    }
    .sd-btn-secondary:hover { background: #f8fafc; color: var(--text-primary); border-color: var(--text-primary); }

    /* Toast */
    .sd-toast {
        display: none;
        align-items: center;
        gap: 12px;
        background: #ecfdf5;
        border: 1px solid #34d399;
        border-radius: 8px;
        padding: 12px 16px;
        font-size: 0.9rem;
        color: #065f46;
        margin-top: 16px;
        font-weight: 600;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        animation: slideUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    

    

    /* Kilitli alan stili */
    .sd-locked {
        background: #f1f5f9 !important;
        color: var(--text-muted) !important;
        cursor: not-allowed;
        border-color: var(--border-light) !important;
    }
    .sd-locked:focus { outline: none; box-shadow: none; border-color: var(--border-light) !important; }

    /* ── MOBILE RESPONSIVE ── */
    @media (max-width: 920px) {
        .sd-card { width: 100%; max-height: 95vh; border-radius: 12px; }
        .sd-layout-split { flex-direction: column; }
        .sd-split-left { flex: none; width: 100%; border-right: none; border-bottom: 1px solid var(--border-light); }
        .sd-img-area { min-height: 180px; padding: 20px; }
        .sd-img-area img { max-height: 180px; }
        .sd-bottom-layout { flex-direction: column; gap: 16px; }
        .sd-isk-col {
            width: 100%;
            flex-direction: row;
            flex-wrap: wrap;
            gap: 10px;
            padding: 12px;
        }
        .sd-isk-col-title {
            width: 100%;
            text-align: left;
            padding-bottom: 8px;
        }
        .sd-isk-input { flex: 1; min-width: 60px; }
        .sd-fields-col { width: 100%; }
        .sd-btns-col {
            width: 100%;
            flex-direction: row;
            gap: 10px;
        }
        .sd-btn-primary, .sd-btn-secondary { flex: 1; padding: 14px 0; }
        
        .sd-info-grid { grid-template-columns: 1fr; }
        .sd-info-item.full-width { grid-column: span 1; }
    }
    
    /* ── HEIGHT RESPONSIVE TWEAKS ── */
    @media (max-height: 700px) and (min-width: 861px) {
        /* If screen is short but wide, compress vertical padding */
        .sd-info { padding: 16px 24px; }
        .sd-bottom { padding: 16px 24px; }
        .sd-img-area { min-height: 180px; padding: 16px; }
        .sd-img-area img { max-height: 180px; }
    }


/* ==========================================================================
   PRODUCT STOK HAREKETLERI MODAL TABLE (_StokHareketleri.cshtml)
   ========================================================================== */
@media (max-width: 768px) {
    .modal-content:has(.modal-title-custom) .modal-body-custom { max-height: 60vh; }
    .modal-content:has(.modal-title-custom) .table thead { display: none; }
    .modal-content:has(.modal-title-custom) .table tbody tr {
        display: block;
        border-bottom: 2px solid #eee;
        padding: 8px 0;
    }
    .modal-content:has(.modal-title-custom) .table td {
        display: block;
        text-align: left !important;
        padding: 2px 10px;
    }
    .modal-content:has(.modal-title-custom) .table td::before {
        content: attr(data-label);
        font-size: 0.6rem;
        color: #999;
        text-transform: uppercase;
        display: block;
        font-weight: 600;
        letter-spacing: 0.3px;
    }
    .modal-content:has(.modal-title-custom) .table tfoot { display: none; }
}



/* ==========================================================================
   PAGE: Product / Index
   ========================================================================== */
.btn-hareket {
        background: none;
        border: none;
        color: #1a73e8;
        cursor: pointer;
        padding: 2px 6px;
        font-size: 0.9rem;
        border-radius: 4px;
        transition: all 0.2s;
        margin-left: 5px;
    }

    .btn-hareket:hover {
        background: rgba(26, 115, 232, 0.1);
        color: #1557b0;
        transform: scale(1.1);
    }

    .load-more-wrapper {
        text-align: center;
        margin: 24px 0 16px 0;
    }

    .btn-load-more {
        background: #ffffff;
        border: 2px solid #1a73e8;
        color: #1a73e8;
        padding: 10px 32px;
        font-size: 0.95rem;
        font-weight: 600;
        border-radius: 30px;
        cursor: pointer;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        display: inline-flex;
        align-items: center;
        gap: 8px;
        box-shadow: 0 2px 8px rgba(26, 115, 232, 0.12);
    }

    .btn-load-more:hover {
        background: #1a73e8;
        color: #ffffff;
        box-shadow: 0 4px 14px rgba(26, 115, 232, 0.3);
        transform: translateY(-2px);
    }

    .btn-load-more:disabled {
        opacity: 0.65;
        cursor: not-allowed;
        transform: none;
    }

    .daha-fazla-bilgi {
        font-size: 0.9rem;
        color: #5f6368;
        margin-left: 6px;
    }


/* ==========================================================================
   PAGE: Product / Dashboard
   ========================================================================== */
.dashboard-wrapper {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 24px;
        background: #ffffff;
        border: 1px solid var(--border-light);
        border-radius: 0 0 var(--radius) var(--radius);
    }

    /* Üst Satır Karşılama ve Bakiye */
    .db-header-row {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 20px;
    }

    .db-header-row.single-column {
        grid-template-columns: 1fr;
    }

    .db-welcome-card {
        background: #f8fafc;
        border: 1px solid var(--border-light);
        border-radius: 12px;
        padding: 24px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .db-welcome-header {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 20px;
    }

    .db-avatar {
        width: 52px;
        height: 52px;
        border-radius: 12px;
        background: rgba(26, 115, 232, 0.1);
        color: var(--accent);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
    }

    .db-welcome-title {
        font-size: 0.9rem;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin: 0;
        font-weight: 700;
    }

    .db-company-name {
        font-size: 1.25rem;
        color: var(--text-primary);
        margin: 2px 0 0;
        font-weight: 700;
    }

    .db-user-details {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 12px;
        padding-top: 16px;
        border-top: 1px dashed var(--border-light);
    }

    .db-detail-item {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .db-detail-label {
        font-size: 0.72rem;
        color: var(--text-muted);
        text-transform: uppercase;
        font-weight: 600;
    }

    .db-detail-value {
        font-size: 0.88rem;
        color: var(--text-secondary);
        font-weight: 600;
    }

    /* Bakiye Kartı */
    .db-balance-card {
        border-radius: 12px;
        padding: 24px;
        color: #ffffff;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }

    .balance-debit {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .balance-credit {
        background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .db-balance-glow {
        position: absolute;
        width: 150px;
        height: 150px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
        top: -50px;
        right: -50px;
        pointer-events: none;
    }

    .db-balance-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.88rem;
        opacity: 0.85;
        font-weight: 500;
        letter-spacing: 0.3px;
    }

    .db-balance-value {
        font-size: 1.8rem;
        font-weight: 800;
        margin: 16px 0;
        display: flex;
        align-items: baseline;
        gap: 8px;
    }

    .db-balance-status {
        font-size: 0.8rem;
        padding: 2px 8px;
        border-radius: 20px;
        font-weight: 700;
        background: rgba(255, 255, 255, 0.15);
    }

    .db-balance-actions {
        display: flex;
        gap: 12px;
    }

    .db-action-btn {
        flex: 1;
        padding: 8px 12px;
        border-radius: 6px;
        font-size: 0.85rem;
        font-weight: 600;
        text-decoration: none;
        text-align: center;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .db-btn-pay {
        background: var(--accent);
        color: #ffffff;
        box-shadow: 0 4px 10px rgba(26, 115, 232, 0.2);
    }

    .db-btn-pay:hover {
        background: var(--accent-hover);
        color: #ffffff;
    }

    .db-btn-statement {
        background: rgba(255, 255, 255, 0.12);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .db-btn-statement:hover {
        background: rgba(255, 255, 255, 0.2);
        color: #ffffff;
    }

    /* İstatistik Kartları Grid */
    .db-stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .db-stat-card {
        background: #ffffff;
        border: 1px solid var(--border-light);
        border-radius: 10px;
        padding: 16px 20px;
        display: flex;
        align-items: center;
        gap: 16px;
        text-decoration: none;
        transition: all 0.25s ease;
    }

    .db-stat-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.04);
        border-color: var(--accent);
    }

    .db-stat-icon {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.15rem;
    }

    .db-stat-value {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--text-primary);
    }

    .db-stat-label {
        font-size: 0.8rem;
        color: var(--text-muted);
        font-weight: 500;
    }

    /* Bölüm Başlıkları */
    .db-section {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .db-section-title {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--text-primary);
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    /* Duyuru Slider/Kutusu */
    .db-duyuru-slider {
        display: grid;
        /* auto-fill kullanarak az öğe olunca tam genişliğe yayılmasını (kocaman olmasını) engelliyoruz */
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }

    .db-duyuru-slide {
        background: #ffffff;
        border: 1px solid var(--border-light);
        border-radius: 12px;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
        box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    }

    .db-duyuru-slide:hover {
        transform: translateY(-5px);
        border-color: var(--accent);
        box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    }

    .db-slide-image {
        position: relative;
        width: 100%;
        padding-top: 50%;
        background: #f8fafc;
        overflow: hidden;
    }

    .db-slide-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.4s ease;
    }
    
    .db-duyuru-slide:hover .db-slide-image img {
        transform: scale(1.05);
    }

    .db-slide-content {
        padding: 16px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .db-slide-title {
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--text-primary);
        margin: 0;
        line-height: 1.4;
    }

    .db-slide-link {
        font-size: 0.8rem;
        color: var(--accent);
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 4px;
        margin-top: 4px;
    }

    /* Vitrinler (Kampanya & Yeni) */
    .db-showcase-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .db-showcase-row.single-column {
        grid-template-columns: 1fr;
    }

    .db-showcase-column {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .db-showcase-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .db-showcase-title {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--text-primary);
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .db-showcase-more {
        font-size: 0.82rem;
        color: var(--accent);
        font-weight: 600;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .db-showcase-more:hover {
        color: var(--accent-hover);
    }

    .db-showcase-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .db-product-card {
        background: #ffffff;
        border: 1px solid var(--border-light);
        border-radius: 12px;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
        box-shadow: 0 4px 10px rgba(0,0,0,0.02);
        position: relative;
    }

    .db-product-card:hover {
        border-color: rgba(26, 115, 232, 0.4);
        transform: translateY(-5px);
        box-shadow: 0 12px 24px rgba(26, 115, 232, 0.12);
    }

    .db-prod-img-wrap {
        position: relative;
        width: 100%;
        padding-top: 75%;
        background: radial-gradient(circle, #ffffff 0%, #f8fafc 100%);
        border-bottom: 1px solid rgba(0,0,0,0.04);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .db-prod-img-wrap img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 15px;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .db-product-card:hover .db-prod-img-wrap img {
        transform: scale(1.08);
    }

    .db-badge {
        position: absolute;
        top: 10px;
        left: 10px;
        font-size: 0.65rem;
        font-weight: 800;
        padding: 4px 10px;
        border-radius: 20px;
        color: #ffffff;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        z-index: 2;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .db-badge-camp { background: linear-gradient(135deg, #ff9800, #f57c00); }
    .db-badge-new { background: linear-gradient(135deg, #4caf50, #2e7d32); color: #ffffff; }

    .db-prod-details {
        padding: 16px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 8px;
    }

    .db-prod-code {
        font-size: 0.72rem;
        color: var(--text-muted);
        font-weight: 600;
        letter-spacing: 0.5px;
        background: #f1f5f9;
        padding: 3px 8px;
        border-radius: 4px;
        align-self: flex-start;
    }

    .db-prod-name {
        font-size: 0.9rem;
        color: var(--text-primary);
        font-weight: 700;
        margin: 0;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 38px;
        transition: color 0.2s ease;
    }

    .db-product-card:hover .db-prod-name {
        color: var(--accent);
    }

    .db-prod-prices {
        display: flex;
        flex-direction: column;
        margin-top: 8px;
        border-top: 1px dashed var(--border-light);
        padding-top: 12px;
    }

    .db-price-old {
        font-size: 0.8rem;
        text-decoration: line-through;
        color: #94a3b8;
        font-weight: 500;
    }

    .db-price-new {
        font-size: 1.1rem;
        font-weight: 800;
        color: #0f172a;
    }

    .db-empty-showcase {
        grid-column: span 2;
        padding: 30px;
        background: #f8fafc;
        border: 1px dashed var(--border);
        border-radius: 8px;
        text-align: center;
        color: var(--text-muted);
        font-size: 0.85rem;
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 992px) {
        .db-header-row {
            grid-template-columns: 1fr;
        }
        .db-showcase-row {
            grid-template-columns: 1fr;
            gap: 30px;
        }
    }

    /* Müşteri Özel Alanı Stilleri */
    .db-custom-box {
        display: flex;
        align-items: center;
        gap: 16px;
        background: #f0f7ff;
        border: 1px solid #cce3fd;
        border-radius: 12px;
        padding: 16px 20px;
    }
    .db-custom-box-icon {
        font-size: 1.5rem;
        color: var(--accent);
    }
    .db-custom-box-content h4 {
        margin: 0 0 4px;
        font-size: 1rem;
        font-weight: 700;
        color: var(--text-primary);
    }
    .db-custom-box-content p {
        margin: 0;
        font-size: 0.9rem;
        color: var(--text-muted);
    }
    .db-custom-banner img {
        width: 100%;
        max-height: 250px;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

    @media (max-width: 768px) {
        .dashboard-wrapper {
            padding: 12px;
            gap: 16px;
        }
        .db-welcome-card, .db-balance-card {
            padding: 16px;
        }
        .db-balance-value {
            font-size: 1.5rem;
        }
        .db-stats-grid {
            grid-template-columns: 1fr;
            gap: 12px;
        }
        .db-showcase-grid {
            grid-template-columns: 1fr;
        }
        .db-empty-showcase {
            grid-column: span 1;
        }
    }


/* ==========================================================================
   PAGE: Product / Duyurular
   ========================================================================== */
.duyuru-container {
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 0 0 var(--radius) var(--radius);
        padding: 2rem;
        min-height: 400px;
    }

    .duyuru-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
    }

    .duyuru-card {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.3s ease;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    }

    .duyuru-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 20px rgba(0,0,0,0.08);
        border-color: var(--accent);
    }

    .duyuru-image {
        position: relative;
        width: 100%;
        padding-top: 56.25%; /* 16:9 aspect ratio */
        background: #f7fafc;
        overflow: hidden;
    }

    .duyuru-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.5s ease;
    }

    .duyuru-card:hover .duyuru-image img {
        transform: scale(1.05);
    }

    .duyuru-overlay {
        position: absolute;
        inset: 0;
        background: rgba(26, 115, 232, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .duyuru-card:hover .duyuru-overlay {
        opacity: 1;
    }

    .btn-arama {
        background: #fff;
        color: var(--accent);
        padding: 0.6rem 1.2rem;
        border-radius: 30px;
        font-weight: 700;
        font-size: 0.85rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .duyuru-content {
        padding: 1.25rem;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .duyuru-title {
        font-size: 1.1rem;
        font-weight: 700;
        color: #2d3748;
        margin: 0;
        line-height: 1.4;
    }

    .duyuru-meta {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.85rem;
        color: #718096;
        font-weight: 500;
    }

    .duyuru-meta svg {
        color: var(--accent);
    }

    @media (max-width: 768px) {
        .duyuru-grid {
            grid-template-columns: 1fr;
        }
    }


/* ==========================================================================
   PAGE: Product / Iletisim
   ========================================================================== */
.iletisim-container {
        background: #ffffff;
        border: 1px solid var(--border);
        border-radius: 0 0 var(--radius) var(--radius);
        padding: 2.2rem;
        min-height: 520px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    }

    /* Hero Banner */
    .iletisim-hero {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        border-radius: 12px;
        padding: 2rem 2.4rem;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 1.5rem;
        margin-bottom: 2rem;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
        position: relative;
        overflow: hidden;
    }

    .iletisim-hero::after {
        content: '';
        position: absolute;
        right: -30px;
        bottom: -30px;
        width: 180px;
        height: 180px;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 50%;
        pointer-events: none;
    }

    .hero-content {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .hero-icon-box {
        width: 68px;
        height: 68px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(8px);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: #38bdf8;
        flex-shrink: 0;
    }

    .hero-badge {
        display: inline-block;
        background: rgba(56, 189, 248, 0.15);
        color: #38bdf8;
        border: 1px solid rgba(56, 189, 248, 0.3);
        font-size: 0.76rem;
        font-weight: 600;
        padding: 0.25rem 0.65rem;
        border-radius: 20px;
        margin-bottom: 0.5rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .hero-title {
        font-size: 1.55rem;
        font-weight: 700;
        margin: 0;
        line-height: 1.25;
        color: #f8fafc;
    }

    .hero-subtitle {
        color: #94a3b8;
        font-size: 0.92rem;
        margin: 0.5rem 0 0 0;
    }

    .hero-subtitle strong {
        color: #e2e8f0;
    }

    .hero-tax-badge {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 10px;
        padding: 0.8rem 1.4rem;
        text-align: right;
    }

    .tax-label {
        font-size: 0.75rem;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .tax-val {
        font-size: 1.25rem;
        font-weight: 700;
        color: #38bdf8;
        letter-spacing: 1px;
    }

    .tax-office {
        font-size: 0.82rem;
        color: #cbd5e1;
    }

    /* Grid Layout */
    .iletisim-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.6rem;
        margin-bottom: 2rem;
    }

    /* Kart Tasarımı */
    .iletisim-card {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 1.6rem;
        display: flex;
        flex-direction: column;
        transition: all 0.25s ease-in-out;
        position: relative;
    }

    .card-hover-effect:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
        border-color: #cbd5e1;
        background: #ffffff;
    }

    .card-header-icon {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .bg-primary-soft { background: #e0f2fe; }
    .bg-success-soft { background: #dcfce7; }
    .bg-info-soft { background: #ede9fe; }
    .bg-warning-soft { background: #fef3c7; }

    .card-title {
        font-size: 1.15rem;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 1rem;
    }

    .card-body-content {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .card-desc {
        flex: 1;
        font-size: 0.92rem;
        color: #475569;
        line-height: 1.55;
    }

    .address-box {
        background: #f1f5f9;
        padding: 0.9rem 1rem;
        border-radius: 8px;
        border: 1px dashed #cbd5e1;
        margin-bottom: 1.2rem;
    }

    .city-postal {
        margin-top: 0.4rem;
        color: #0f172a;
    }

    .country-text {
        font-size: 0.82rem;
        color: #64748b;
        margin-top: 0.2rem;
    }

    .contact-list {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
        margin-bottom: 1.2rem;
    }

    .contact-item {
        background: #f1f5f9;
        padding: 0.65rem 0.9rem;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }

    .contact-lbl {
        font-size: 0.78rem;
        font-weight: 600;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 0.4px;
    }

    .contact-val {
        font-size: 0.95rem;
        font-weight: 600;
    }

    .phone-link {
        color: #15803d;
        text-decoration: none;
        transition: color 0.2s;
    }
    .phone-link:hover {
        color: #166534;
        text-decoration: underline;
    }

    .email-link {
        color: #2563eb;
        text-decoration: none;
        word-break: break-all;
    }
    .email-link:hover {
        text-decoration: underline;
    }

    .web-link {
        color: #0d9488;
        text-decoration: none;
        word-break: break-all;
    }
    .web-link:hover {
        text-decoration: underline;
    }

    /* Kurumsal Tablo */
    .info-table-compact {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
    }

    .info-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0.75rem;
        background: #f1f5f9;
        border-radius: 6px;
        font-size: 0.88rem;
    }

    .info-key {
        color: #64748b;
        font-weight: 500;
    }

    .info-val {
        color: #1e293b;
        font-weight: 600;
    }

    .font-mono {
        font-family: monospace;
        letter-spacing: 0.5px;
    }

    /* Kart Aksiyon Butonları */
    .card-actions {
        display: flex;
        gap: 0.6rem;
        flex-wrap: wrap;
        margin-top: 0.8rem;
    }

    .btn-card-action {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        padding: 0.55rem 0.95rem;
        border-radius: 6px;
        font-size: 0.84rem;
        font-weight: 500;
        text-decoration: none;
        cursor: pointer;
        border: 1px solid transparent;
        transition: all 0.2s ease;
    }

    .btn-maps {
        background: #0284c7;
        color: #ffffff;
    }
    .btn-maps:hover {
        background: #0369a1;
        color: #ffffff;
    }

    .btn-copy {
        background: #f1f5f9;
        color: #334155;
        border: 1px solid #cbd5e1;
    }
    .btn-copy:hover {
        background: #e2e8f0;
        color: #0f172a;
    }

    .btn-call {
        background: #16a34a;
        color: #ffffff;
    }
    .btn-call:hover {
        background: #15803d;
        color: #ffffff;
    }

    .btn-email {
        background: #2563eb;
        color: #ffffff;
    }
    .btn-email:hover {
        background: #1d4ed8;
        color: #ffffff;
    }

    .btn-web {
        background: #f1f5f9;
        color: #0f766e;
        border: 1px solid #99f6e4;
    }
    .btn-web:hover {
        background: #ccfbf1;
        color: #115e59;
    }

    /* Müşteri Temsilcisi Kartı */
    .temsilci-card {
        background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
        border: 1px solid #bbf7d0;
        border-radius: 12px;
        padding: 1.4rem 1.8rem;
        display: flex;
        align-items: center;
        gap: 1.4rem;
        flex-wrap: wrap;
    }

    .temsilci-icon {
        width: 54px;
        height: 54px;
        background: #ffffff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        color: #16a34a;
        box-shadow: 0 4px 10px rgba(22, 163, 74, 0.15);
        flex-shrink: 0;
    }

    .temsilci-content {
        flex: 1;
        min-width: 200px;
    }

    .temsilci-tag {
        font-size: 0.78rem;
        font-weight: 600;
        color: #15803d;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .temsilci-name {
        font-size: 1.25rem;
        font-weight: 700;
        color: #1e293b;
        margin: 0.2rem 0 0.4rem 0;
    }

    .temsilci-links {
        display: flex;
        gap: 1.2rem;
        flex-wrap: wrap;
    }

    .temsilci-link-item {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.9rem;
        font-weight: 600;
        color: #0f766e;
        text-decoration: none;
    }
    .temsilci-link-item:hover {
        text-decoration: underline;
    }

    .temsilci-badge {
        background: #ffffff;
        color: #16a34a;
        font-size: 0.8rem;
        font-weight: 700;
        padding: 0.4rem 0.9rem;
        border-radius: 20px;
        border: 1px solid #86efac;
    }

    @media (max-width: 768px) {
        .iletisim-container {
            padding: 1.2rem;
        }
        .iletisim-hero {
            padding: 1.4rem;
        }
        .hero-title {
            font-size: 1.25rem;
        }
    }


/* ==========================================================================
   PAGE: Cari / Ekstre & Eski Siparisler
   ========================================================================== */
.ekstre-filter-wrapper {
    gap: 20px;
    padding: 5px 15px;
}
.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.filter-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}
.filter-input {
    padding: 0.4rem 0.5rem !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius);
    font-size: 0.85rem;
}
.ekstre-summary {
    display: flex;
    gap: 30px;
    background: #fff;
    padding: 1rem 1.5rem;
    border: 1px solid var(--border);
    border-top: none;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.summary-item .label {
    color: var(--text-muted);
    font-weight: 500;
    margin-right: 5px;
}
.summary-item .value {
    font-weight: 700;
    font-size: 1rem;
}
.text-borc { color: var(--danger) !important; }
.text-alacak { color: var(--success) !important; }

.tur-badge-ekstre {
    background: #f1f5f9;
    color: #475569;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}
.clickable-tur {
    cursor: pointer;
    transition: all 0.2s;
}
.clickable-tur:hover {
    background: var(--accent);
    color: #fff;
}
.devir-row {
    background-color: #f8fafc !important;
    font-style: italic;
}
.tur-devir {
    background: var(--accent);
    color: #fff;
}

/* Eski Siparisler Badge Stilleri */
.page-cari-eskisiparisler .stok-row { cursor: pointer; transition: background 0.15s; }
.page-cari-eskisiparisler .stok-row:hover { background-color: #f1f5f9; }
.badge { display: inline-block; padding: 4px 8px; font-size: 0.75rem; font-weight: 600; border-radius: 4px; text-align: center; }
.badge-secondary { background: #6c757d; color: #fff; }
.badge-success { background: #198754; color: #fff; }
.badge-info { background: #0dcaf0; color: #000; }
.badge-primary { background: #0d6efd; color: #fff; }
.badge-danger { background: #dc3545; color: #fff; }
.badge-light { background: #f8f9fa; color: #000; border: 1px solid #dee2e6; }

@media print {
    .page-cari-ekstre .search-bar, .page-cari-ekstre .tab-bar, .page-cari-ekstre .main-header,
    .page-cari-ekstre .marquee-container, .page-cari-ekstre .marquee-image-container, .page-cari-ekstre .legend,
    .page-cari-eskisiparisler .search-bar, .page-cari-eskisiparisler .tab-bar, .page-cari-eskisiparisler .main-header,
    .page-cari-eskisiparisler .marquee-container, .page-cari-eskisiparisler .marquee-image-container, .page-cari-eskisiparisler .legend {
        display: none !important;
    }
    .page-cari-ekstre .page-product, .page-cari-eskisiparisler .page-product { padding: 0; }
    .page-cari-ekstre .table-container, .page-cari-eskisiparisler .table-container { border: none; }
    .page-cari-ekstre .stok-table th, .page-cari-eskisiparisler .stok-table th { background: #333 !important; color: #fff !important; -webkit-print-color-adjust: exact; }
}



/* ==========================================================================
   PAGE: Cari / Bakiyeler (Scoped)
   ========================================================================== */
.page-cari-bakiyeler .qty-input:focus {
    border-color: var(--accent) !important;
    outline: none;
}
.page-cari-bakiyeler .btn-action {
    padding: 6px 12px;
    border-radius: 4px;
    border: none;
    font-size: 0.8rem;
    cursor: pointer;
    transition: opacity 0.2s;
}
.page-cari-bakiyeler .btn-update {
    background: var(--accent);
    color: white;
}
.page-cari-bakiyeler .btn-delete {
    background: var(--danger);
    color: white;
}
.page-cari-bakiyeler .btn-action:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .page-cari-bakiyeler .stok-table thead { display: none; }
    .page-cari-bakiyeler .stok-table, .page-cari-bakiyeler .stok-table tbody { display: block; width: 100%; }
    .page-cari-bakiyeler .stok-table tr { 
        display: block; 
        width: 100%; 
        background: #ffffff;
        border: 1px solid var(--border-light);
        border-radius: 8px;
        margin-bottom: 12px;
        padding: 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .page-cari-bakiyeler .stok-table td { 
        display: block; 
        width: 100% !important; 
        border: none;
        padding: 0;
        text-align: left !important;
        border-bottom: 1px dashed var(--border-light);
        padding-bottom: 6px;
    }
    .page-cari-bakiyeler .stok-table td:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .page-cari-bakiyeler .stok-table td::before {
        content: attr(data-label);
        font-size: 0.65rem;
        color: var(--text-muted);
        text-transform: uppercase;
        display: block;
        font-weight: 700;
        letter-spacing: 0.5px;
        margin-bottom: 2px;
    }
    .page-cari-bakiyeler .stok-table td[data-label=""]::before { display: none; }
    .page-cari-bakiyeler .qty-input {
        width: 100% !important;
        max-width: 100% !important;
        height: 38px;
        font-size: 1rem;
        margin-top: 4px;
    }
    .page-cari-bakiyeler .stok-table td[data-label="İşlem"] {
        border-bottom: none;
        padding-top: 6px;
    }
    .page-cari-bakiyeler .stok-table td[data-label="İşlem"] div {
        display: flex;
        gap: 10px;
        width: 100%;
    }
    .page-cari-bakiyeler .btn-action {
        flex: 1;
        padding: 10px 0;
        font-weight: 600;
        font-size: 0.9rem;
    }
}



/* ==========================================================================
   COMPONENT: Cari Listesi Modal/Tablo (_CariListesi.cshtml)
   ========================================================================== */
@media (max-width: 768px) {
        .cari-table thead { display: none; }
        .cari-table, .cari-table tbody { display: block; width: 100%; }
        .cari-table tr { display: block; width: 100%; }
        .cari-table td { display: block; width: 100% !important; }
        .cari-row {
            background: #ffffff;
            border: 1px solid var(--border-light);
            border-radius: 8px;
            margin-bottom: 12px;
            padding: 16px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .cari-row:nth-child(even) { background: #ffffff; }
        .cari-table td {
            border: none;
            padding: 0;
            text-align: left !important;
            border-bottom: 1px dashed var(--border-light);
            padding-bottom: 6px;
        }
        .cari-table td:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }
        .cari-table td::before {
            content: attr(data-label);
            font-size: 0.65rem;
            color: var(--text-muted);
            text-transform: uppercase;
            display: block;
            font-weight: 700;
            letter-spacing: 0.5px;
            margin-bottom: 2px;
        }
        .cari-table td[data-label=""]::before { display: none; }
        .col-cari-islem {
            margin-top: 6px;
            width: 100% !important;
            padding: 0 !important;
        }
        .col-cari-islem::before { display: none; }
        .btn-cari-sec {
            width: 100%;
            text-align: center;
            padding: 10px 0 !important;
            font-weight: 600;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }
        .col-fiyat { text-align: left !important; }
        .cari-table .d-flex.justify-content-center { justify-content: flex-start !important; }
    }


/* ==========================================================================
   PAGE: Sanal Pos / Index
   ========================================================================== */
.installment-card {
        border: 1.5px solid var(--border);
        border-radius: 8px;
        padding: 14px;
        text-align: center;
        cursor: pointer;
        background: #ffffff;
        transition: all 0.2s ease;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 85px;
    }
    .installment-card:hover {
        border-color: var(--accent);
        background: #f8fafc;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }
    .installment-card.active {
        border-color: var(--accent);
        background: var(--accent);
        color: #ffffff;
        box-shadow: 0 4px 12px rgba(26, 115, 232, 0.25);
    }
    .installment-card.active .count,
    .installment-card.active .amount,
    .installment-card.active .total {
        color: #ffffff;
    }
    .installment-card .count { font-weight: 700; font-size: 1.05rem; }
    .installment-card .amount { font-size: 1.15rem; font-weight: 700; margin: 4px 0; }
    .installment-card .total { font-size: 0.78rem; opacity: 0.8; }

    .installment-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
        margin-top: 10px;
    }

    .pos-header-card {
        margin-bottom: 25px;
        padding: 20px;
        background: #ffffff;
        border: 1px solid var(--border-light);
        border-radius: var(--radius);
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: var(--shadow);
    }
    .pos-header-title {
        margin: 0;
        font-size: 1.3rem;
        color: var(--text-primary);
    }
    .pos-header-subtitle {
        margin: 5px 0 0;
        color: var(--text-muted);
        font-size: 0.88rem;
    }
    .pos-header-balance-label {
        font-size: 0.85rem;
        color: var(--text-muted);
        margin-bottom: 4px;
    }
    .pos-header-balance-value {
        font-size: 1.6rem;
        font-weight: 700;
    }

    .payment-container {
        display: grid;
        grid-template-columns: 1.4fr 1fr;
        gap: 30px;
        margin-top: 25px;
        align-items: start;
    }

    .payment-card {
        background: #ffffff;
        border: 1px solid var(--border-light);
        border-radius: 8px;
        padding: 30px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    }

    .pos-form-title {
        margin-top: 0;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border-light);
        padding-bottom: 12px;
        margin-bottom: 24px;
        color: var(--text-primary);
        font-weight: 600;
    }

    .pos-input-group {
        margin-bottom: 20px;
    }
    .pos-input-group label {
        display: block;
        margin-bottom: 6px;
        font-weight: 600;
        font-size: 0.88rem;
        color: var(--text-secondary);
    }
    .pos-input-group input {
        width: 100%;
        padding: 12px 16px;
        border: 1px solid var(--border);
        border-radius: 6px;
        font-size: 1rem;
        color: var(--text-primary);
        background-color: #fcfcfc;
        transition: all 0.25s ease;
    }
    .pos-input-group input:focus {
        border-color: var(--accent);
        background-color: #ffffff;
        box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
        outline: none;
    }

    #bankInfo {
        display: inline-block;
        font-size: 0.78rem;
        margin-top: 6px;
        padding: 4px 8px;
        background-color: #e0f2fe;
        color: #0369a1;
        border-radius: 4px;
        font-weight: 600;
        border: 1px solid #bae6fd;
    }

    /* Kredi Kartı Önizleme */
    .credit-card-preview {
        background: linear-gradient(135deg, #1e1b4b 0%, #311042 50%, #090514 100%);
        border-radius: 16px;
        padding: 28px;
        color: #ffffff;
        min-height: 215px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
        position: relative;
        overflow: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    .credit-card-preview::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 280px;
        height: 280px;
        background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 70%);
        border-radius: 50%;
        pointer-events: none;
    }
    .credit-card-preview::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 220px;
        height: 220px;
        background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 70%);
        border-radius: 50%;
        pointer-events: none;
    }
    .credit-card-preview.brand-visa {
        background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1d4ed8 100%);
    }
    .credit-card-preview.brand-mastercard {
        background: linear-gradient(135deg, #180d05 0%, #431407 60%, #ea580c 100%);
    }
    .credit-card-preview.brand-troy {
        background: linear-gradient(135deg, #022c22 0%, #064e3b 60%, #059669 100%);
    }
    .credit-card-preview.brand-amex {
        background: linear-gradient(135deg, #062f4f 0%, #004b6e 60%, #007bb6 100%);
    }

    .card-header-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 2;
    }
    .card-brand-label {
        font-size: 1.4rem;
        font-style: italic;
        font-weight: 800;
        opacity: 0.9;
        letter-spacing: 1.5px;
        text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }
    .card-number-label {
        font-size: 1.5rem;
        letter-spacing: 3px;
        margin: 24px 0;
        font-family: 'Courier New', Courier, monospace;
        font-weight: 700;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
        position: relative;
        z-index: 2;
    }
    .card-footer-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        position: relative;
        z-index: 2;
    }
    .card-field-title {
        font-size: 0.65rem;
        text-transform: uppercase;
        opacity: 0.5;
        letter-spacing: 1px;
        margin-bottom: 4px;
    }
    .card-field-value {
        font-size: 0.95rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    }
    .card-chip {
        width: 45px;
        height: 32px;
        background: linear-gradient(135deg, #fef08a 0%, #eab308 50%, #ca8a04 100%);
        border-radius: 6px;
        position: relative;
        box-shadow: inset 0 1px 1px rgba(255,255,255,0.5), 0 2px 4px rgba(0,0,0,0.15);
        border: 1px solid rgba(0,0,0,0.1);
        overflow: hidden;
    }
    .card-chip::before {
        content: '';
        position: absolute;
        top: 50%; left: 0; right: 0;
        height: 1px;
        background: rgba(0,0,0,0.15);
    }
    .card-chip::after {
        content: '';
        position: absolute;
        left: 50%; top: 0; bottom: 0;
        width: 1px;
        background: rgba(0,0,0,0.15);
    }
    .card-hologram {
        position: absolute;
        width: 32px;
        height: 24px;
        background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.2) 100%);
        border-radius: 4px;
        top: 4px;
        right: 90px;
        border: 1px solid rgba(255,255,255,0.1);
        box-shadow: inset 0 1px 3px rgba(255,255,255,0.2);
    }

    .pos-security-card {
        margin-top: 25px;
        background: #f8fafc;
        border: 1px solid var(--border-light);
        border-radius: 8px;
        padding: 24px;
        box-shadow: inset 0 1px 3px rgba(0,0,0,0.01);
    }
    .pos-security-title {
        margin-top: 0;
        color: var(--text-primary);
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .pos-security-title i {
        color: var(--success);
    }
    .pos-security-list {
        padding-left: 20px;
        font-size: 0.85rem;
        color: var(--text-secondary);
        line-height: 1.7;
        margin-bottom: 20px;
    }
    .pos-security-logos {
        display: flex;
        gap: 20px;
        justify-content: center;
        align-items: center;
        opacity: 0.65;
        transition: opacity 0.2s;
    }
    .pos-security-logos:hover {
        opacity: 0.9;
    }

    .btn-pay {
        width: 100%;
        padding: 15px;
        background: var(--accent);
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 1.1rem;
        font-weight: 700;
        cursor: pointer;
        margin-top: 30px;
        transition: all 0.25s ease;
        box-shadow: 0 4px 6px rgba(26, 115, 232, 0.15);
    }
    .btn-pay:hover {
        background: var(--accent-hover);
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(26, 115, 232, 0.3);
    }
    .btn-pay:active { transform: translateY(0); }
    .btn-pay:disabled {
        background: #94a3b8;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

    @media (max-width: 992px) {
        .payment-container {
            grid-template-columns: 1fr;
            gap: 25px;
        }
        .info-side {
            order: -1;
        }
    }

    @media (max-width: 768px) {
        .payment-container {
            margin-top: 15px !important;
        }
        .payment-card {
            padding: 20px !important;
        }
        .credit-card-preview {
            min-height: 180px !important;
            padding: 20px !important;
        }
        .card-number-label {
            font-size: 1.25rem !important;
            letter-spacing: 2px !important;
            margin: 18px 0 !important;
        }
        .installment-grid {
            grid-template-columns: repeat(2, 1fr) !important;
        }
        .pos-header-card {
            flex-direction: column !important;
            gap: 15px !important;
            text-align: center !important;
        }
        .pos-header-card > div:last-child {
            text-align: center !important;
        }
    }

    @media (max-width: 480px) {
        .credit-card-preview {
            padding: 16px !important;
            min-height: 155px !important;
        }
        .card-chip {
            width: 38px !important;
            height: 27px !important;
        }
        .card-number-label {
            font-size: 1.15rem !important;
            letter-spacing: 1.5px !important;
            margin: 14px 0 !important;
        }
        .card-brand-label {
            font-size: 1.15rem !important;
        }
        .card-field-value {
            font-size: 0.85rem !important;
        }
        .installment-grid {
            grid-template-columns: 1fr !important;
        }
        .installment-card {
            min-height: 75px !important;
            padding: 10px !important;
        }
        .installment-card .amount {
            font-size: 1.05rem !important;
        }
    }


/* ==========================================================================
   PAGE: Sanal Pos / Callback3D (Scoped)
   ========================================================================== */
@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.page-sanalpos-callback3d .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}



/* ==========================================================================
   COMPONENT: Sepet Modal (Sepet/Index.cshtml)
   ========================================================================== */
.sepet-modal-overlay {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        z-index: 99999;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px;
    }
    .sepet-modal-content {
        background: #ffffff;
        border-radius: 12px;
        width: 100%;
        max-width: 520px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        animation: modalScaleIn 0.25s ease-out;
    }
    @keyframes modalScaleIn {
        from { transform: scale(0.95); opacity: 0; }
        to { transform: scale(1); opacity: 1; }
    }
    .sepet-modal-header {
        padding: 18px 24px;
        border-bottom: 1px solid var(--border-light);
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #fcfcfc;
    }
    .sepet-modal-close {
        background: none;
        border: none;
        font-size: 1.6rem;
        line-height: 1;
        color: #888;
        cursor: pointer;
        transition: color 0.2s;
    }
    .sepet-modal-close:hover { color: #222; }
    .sepet-modal-body {
        padding: 24px;
        max-height: 75vh;
        overflow-y: auto;
    }
    .sepet-modal-footer {
        padding: 16px 24px;
        border-top: 1px solid var(--border-light);
        display: flex;
        justify-content: flex-end;
        gap: 12px;
        background: #fcfcfc;
    }
    .modal-ins-card {
        border: 1px solid var(--border);
        border-radius: 6px;
        padding: 8px 10px;
        text-align: center;
        cursor: pointer;
        background: #fff;
        transition: all 0.2s;
        font-size: 0.8rem;
    }
    .modal-ins-card:hover { border-color: var(--accent); background: #f0f7ff; }
    .modal-ins-card.active { border-color: var(--accent); background: var(--accent); color: #fff; }
    .modal-ins-card.active .m-count, .modal-ins-card.active .m-amt { color: #fff; }
    .modal-ins-card .m-count { font-weight: 700; }
    .modal-ins-card .m-amt { font-size: 0.85rem; font-weight: 700; margin-top: 2px; }


/* ==========================================================================
   PAGE: UserRequest / Index
   ========================================================================== */
.request-page {
        min-height: 100vh;
        background: #f4f7fa;
        display: flex;
        justify-content: center;
        padding: 40px 20px;
        font-family: 'Inter', system-ui, -apple-system, sans-serif;
    }

    .request-card {
        background: #fff;
        width: 100%;
        max-width: 800px;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
        padding: 40px;
    }

    .request-header {
        text-align: center;
        margin-bottom: 40px;
        border-bottom: 1px solid #eee;
        padding-bottom: 30px;
    }

        .request-header h2 {
            color: #1a202c;
            margin: 20px 0 10px;
            font-size: 1.75rem;
        }

        .request-header p {
            color: #718096;
            font-size: 0.95rem;
        }

    .form-section {
        margin-bottom: 35px;
    }

        .form-section h3 {
            font-size: 1.1rem;
            color: #2d3748;
            border-bottom: 2px solid #edf2f7;
            padding-bottom: 10px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

    .form-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

        .form-group.full-width {
            grid-column: span 2;
            margin-bottom: 15px;
        }

        .form-group label {
            font-size: 0.85rem;
            font-weight: 600;
            color: #4a5568;
        }

        .form-group input, .form-group textarea {
            padding: 12px 16px;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 0.95rem;
            transition: all 0.2s;
            background: #f8fafc;
        }

            .form-group input:focus, .form-group textarea:focus {
                border-color: #1a73e8;
                outline: none;
                background: #fff;
                box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
            }

    .validation-text {
        color: #e53e3e;
        font-size: 0.75rem;
        margin-top: 2px;
    }

    .form-actions-request {
        margin-top: 40px;
        display: flex;
        justify-content: flex-end;
        gap: 15px;
        border-top: 1px solid #eee;
        padding-top: 30px;
    }

    .btn-submit {
        background: #1a73e8;
        color: white;
        border: none;
        padding: 12px 30px;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s;
    }

        .btn-submit:hover {
            background: #1557b0;
        }

    .btn-cancel {
        background: #edf2f7;
        color: #4a5568;
        text-decoration: none;
        padding: 12px 30px;
        border-radius: 8px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .btn-cancel:hover {
            background: #e2e8f0;
        }

    .alert {
        padding: 15px;
        border-radius: 8px;
        margin-bottom: 25px;
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 0.95rem;
    }

    .alert-success {
        background: #f0fff4;
        color: #2f855a;
        border: 1px solid #c6f6d5;
    }

    .alert-error {
        background: #fff5f5;
        color: #c53030;
        border: 1px solid #fed7d7;
    }

    @media (max-width: 600px) {
        .form-grid {
            grid-template-columns: 1fr;
        }

        .form-group.full-width {
            grid-column: span 1;
        }

        .request-card {
            padding: 25px;
        }
    }

    .request-company-info {
        margin-top: 15px;
    }

    .comp-name {
        font-weight: 700;
        color: #2d3748;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }

    .comp-phone {
        color: #e63946;
        font-weight: 600;
        font-size: 1rem;
        margin-top: 5px;
    }

    .spinner-icon {
        display: inline-block;
        width: 14px;
        height: 14px;
        border: 2px solid rgba(255,255,255,0.3);
        border-radius: 50%;
        border-top-color: #fff;
        animation: spin 0.8s linear infinite;
        margin-right: 8px;
    }

    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    .btn-submit:disabled {
        cursor: not-allowed;
        filter: grayscale(0.5);
    }
