/* WMS Depo Otomasyonu - Modern & Canlı Tasarım */
/* El terminali için optimize edilmiş */

:root {
    /* Ana Renkler - Canlı ve Modern */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-bg: #eef2ff;
    
    --success: #10b981;
    --success-dark: #059669;
    --success-light: #34d399;
    --success-bg: #ecfdf5;
    
    --warning: #f59e0b;
    --warning-dark: #d97706;
    --warning-light: #fbbf24;
    --warning-bg: #fffbeb;
    
    --danger: #ef4444;
    --danger-dark: #dc2626;
    --danger-light: #f87171;
    --danger-bg: #fef2f2;
    
    --info: #0ea5e9;
    --info-dark: #0284c7;
    --info-light: #38bdf8;
    --info-bg: #f0f9ff;
    
    /* Nötr Renkler */
    --dark: #1e293b;
    --gray-900: #0f172a;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --white: #ffffff;
    
    /* Efektler */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --gradient-header: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #6366f1 100%);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark);
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--gray-50) 100%);
    min-height: 100vh;
}

/* =============================================
   HEADER / NAVİGASYON
   ============================================= */
.header {
    background: var(--gradient-header);
    color: var(--white);
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--success) 0%, var(--warning) 50%, var(--danger) 100%);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.header-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-user {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-btn {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 10px 18px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.nav-btn:hover, .nav-btn:active {
    background: rgba(255,255,255,0.35);
    transform: translateY(-1px);
}

.nav-btn.danger {
    background: linear-gradient(135deg, var(--danger) 0%, var(--danger-dark) 100%);
    border-color: var(--danger);
}

.nav-btn.danger:hover {
    background: linear-gradient(135deg, var(--danger-light) 0%, var(--danger) 100%);
}

/* =============================================
   CONTAINER / LAYOUT
   ============================================= */
.container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-title::before {
    content: '';
    width: 5px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

/* =============================================
   KARTLAR
   ============================================= */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-200);
    font-weight: 600;
    color: var(--gray-700);
}

.card-body {
    padding: 20px;
}

/* =============================================
   FİLTRE FORMU
   ============================================= */
.filter-form {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.filter-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid var(--gray-200);
    margin-top: 8px;
}

/* =============================================
   FORM ELEMANLARI
   ============================================= */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--dark);
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-bg);
}

.form-control:hover:not(:focus) {
    border-color: var(--gray-400);
}

.form-control::placeholder {
    color: var(--gray-400);
}

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236366f1' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

/* =============================================
   BUTONLAR
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 50px;
    min-width: 50px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.4);
}

.btn-primary:hover, .btn-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(99, 102, 241, 0.5);
}

.btn-success {
    background: var(--gradient-success);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.4);
}

.btn-success:hover, .btn-success:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.5);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, var(--danger-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(239, 68, 68, 0.4);
}

.btn-danger:hover, .btn-danger:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(239, 68, 68, 0.5);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning) 0%, var(--warning-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--gray-500) 0%, var(--gray-600) 100%);
    color: var(--white);
}

.btn-outline {
    background: var(--white);
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-outline:hover {
    background: var(--gray-50);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.125rem;
    min-height: 58px;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.875rem;
    min-height: 42px;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* =============================================
   SİPARİŞ LİSTESİ
   ============================================= */
.order-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

.order-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 50%, rgba(99, 102, 241, 0.05) 50%);
    border-radius: 0 var(--radius-lg) 0 0;
}

.order-card:hover, .order-card:active {
    transform: translateY(-4px) translateX(4px);
    box-shadow: var(--shadow-xl);
    border-left-width: 6px;
}

.order-card.status-done {
    border-left-color: var(--success);
}

.order-card.status-done::before {
    background: linear-gradient(135deg, transparent 50%, rgba(16, 185, 129, 0.05) 50%);
}

.order-card.status-progress {
    border-left-color: var(--warning);
}

.order-card.status-progress::before {
    background: linear-gradient(135deg, transparent 50%, rgba(245, 158, 11, 0.05) 50%);
}

.order-card.status-waiting {
    border-left-color: var(--gray-400);
}

.order-card.status-cancelled {
    border-left-color: var(--danger);
    opacity: 0.7;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.order-ref {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary);
    font-family: 'Consolas', 'Monaco', monospace;
}

.order-date {
    font-size: 0.85rem;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.order-company {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.order-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.order-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--gray-50);
    padding: 6px 12px;
    border-radius: var(--radius);
}

.order-meta-item svg {
    color: var(--primary);
}

/* =============================================
   DURUM BADGE
   ============================================= */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-waiting {
    background: var(--gray-100);
    color: var(--gray-600);
    border: 1px solid var(--gray-300);
}

.status-progress {
    background: var(--warning-bg);
    color: var(--warning-dark);
    border: 1px solid var(--warning);
    animation: pulse-warning 2s infinite;
}

@keyframes pulse-warning {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}

.status-done {
    background: var(--success-bg);
    color: var(--success-dark);
    border: 1px solid var(--success);
}

.status-cancelled {
    background: var(--danger-bg);
    color: var(--danger-dark);
    border: 1px solid var(--danger);
}

/* =============================================
   DETAY SAYFASI
   ============================================= */
.detail-header {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.detail-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
    font-family: 'Consolas', 'Monaco', monospace;
}

.detail-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.detail-info-item {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

.detail-info-label {
    color: var(--gray-500);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.detail-info-value {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 1rem;
}

/* Barkod Arama */
.barcode-search {
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--white) 100%);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-light);
}

.barcode-input-wrapper {
    display: flex;
    gap: 12px;
}

.barcode-input {
    flex: 1;
    padding: 18px;
    font-size: 1.3rem;
    font-weight: 600;
    border: 3px solid var(--primary);
    border-radius: var(--radius);
    text-align: center;
    letter-spacing: 2px;
    background: var(--white);
    color: var(--dark);
    font-family: 'Consolas', 'Monaco', monospace;
}

.barcode-input:focus {
    outline: none;
    box-shadow: 0 0 0 5px var(--primary-bg), 0 0 20px rgba(99, 102, 241, 0.3);
    border-color: var(--primary-dark);
}

.barcode-input::placeholder {
    font-family: 'Segoe UI', sans-serif;
    letter-spacing: normal;
    color: var(--gray-400);
}

/* Satır Kartları */
.line-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.line-card.highlight {
    border: 3px solid var(--success);
    box-shadow: 0 0 0 4px var(--success-bg), var(--shadow-lg);
    animation: highlight-pulse 0.6s ease-in-out;
}

@keyframes highlight-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.01); }
}

.line-card-header {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-200);
}

.line-product-code {
    font-weight: 700;
    color: var(--primary);
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 1.05rem;
}

.line-barcode {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    color: var(--gray-600);
    background: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-300);
}

.line-card-body {
    padding: 20px;
}

.line-product-name {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--gray-700);
    font-weight: 500;
}

.line-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.line-info-box {
    text-align: center;
    padding: 14px 10px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

.line-info-box-label {
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.line-info-box-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
}

.line-location {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: var(--info-bg);
    border-radius: var(--radius);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.line-location-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.line-location-label {
    color: var(--gray-600);
}

.line-location-value {
    font-weight: 700;
    color: var(--info-dark);
    background: var(--white);
    padding: 4px 10px;
    border-radius: var(--radius);
}

/* Satır Düzenleme */
.line-edit-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 16px;
    border-top: 2px dashed var(--gray-200);
}

.line-edit-input {
    padding: 14px;
    font-size: 1.2rem;
    font-weight: 600;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s ease;
}

.line-edit-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px var(--primary-bg);
}

.line-edit-btn {
    grid-column: span 2;
}

/* =============================================
   BAŞLIK GÜNCELLEME
   ============================================= */
.header-update-form {
    background: linear-gradient(135deg, var(--white) 0%, var(--success-bg) 100%);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-top: 24px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--success-light);
}

.header-update-form h3 {
    color: var(--success-dark);
    margin: 0 0 20px 0;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-update-form h3::before {
    content: '✓';
    width: 28px;
    height: 28px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

/* =============================================
   LOGIN SAYFASI
   ============================================= */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--gradient-header);
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: rotate 30s linear infinite;
}

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

.login-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

.login-logo {
    text-align: center;
    margin-bottom: 32px;
}

.login-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.login-icon svg {
    width: 50px;
    height: 50px;
    fill: white;
}

.login-logo h1 {
    font-size: 1.6rem;
    color: var(--gray-900);
    margin: 0 0 8px 0;
}

.login-logo p {
    color: var(--gray-500);
    margin: 0;
    font-size: 0.95rem;
}

/* =============================================
   ALERT / MESAJLAR
   ============================================= */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert::before {
    font-size: 1.2rem;
}

.alert-success {
    background: var(--success-bg);
    color: var(--success-dark);
    border: 1px solid var(--success);
}

.alert-success::before {
    content: '✓';
}

.alert-error {
    background: var(--danger-bg);
    color: var(--danger-dark);
    border: 1px solid var(--danger);
}

.alert-error::before {
    content: '✕';
}

.alert-warning {
    background: var(--warning-bg);
    color: var(--warning-dark);
    border: 1px solid var(--warning);
}

.alert-warning::before {
    content: '⚠';
}

.alert-info {
    background: var(--info-bg);
    color: var(--info-dark);
    border: 1px solid var(--info);
}

.alert-info::before {
    content: 'ℹ';
}

/* =============================================
   LOADING / SPINNER
   ============================================= */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* =============================================
   EMPTY STATE
   ============================================= */
.empty-state {
    text-align: center;
    padding: 60px 30px;
    color: var(--gray-500);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 1.1rem;
    margin: 0;
}

/* =============================================
   YARDIMCI SINIFLAR
   ============================================= */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--gray-500); }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-primary { color: var(--primary) !important; }
.text-warning { color: var(--warning) !important; }
.font-bold { font-weight: 700; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.d-flex { display: flex; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.flex-wrap { flex-wrap: wrap; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

/* =============================================
   MOBİL UYUMLULUK
   ============================================= */
@media (max-width: 480px) {
    .header {
        padding: 14px 16px;
    }
    
    .header-title {
        font-size: 1.15rem;
    }
    
    .nav-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .container {
        padding: 16px;
    }
    
    .page-title {
        font-size: 1.3rem;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 12px 22px;
    }
    
    .line-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .detail-info {
        grid-template-columns: 1fr 1fr;
    }
    
    .order-card {
        padding: 16px;
    }
    
    .barcode-input {
        font-size: 1.1rem;
        padding: 14px;
    }
    
    .login-box {
        padding: 30px 24px;
    }
}

/* =============================================
   TOAST BİLDİRİMLERİ
   ============================================= */
.toast-notification {
    font-weight: 500;
    border-radius: var(--radius) !important;
}

.toast-success {
    background: var(--gradient-success) !important;
}

.toast-error {
    background: linear-gradient(135deg, var(--danger) 0%, var(--danger-dark) 100%) !important;
}

/* =============================================
   PRINT
   ============================================= */
@media print {
    .header, .filter-form, .btn, .nav-menu, .barcode-search, .header-update-form {
        display: none !important;
    }
    
    .container {
        padding: 0;
    }
    
    .card, .order-card, .line-card {
        box-shadow: none;
        border: 1px solid #000;
        break-inside: avoid;
    }
}