.stok-teslimatlar-page {
    padding: 20px;
    min-height: 100vh;
    background: var(--bg-secondary, #f5f7fa);
}

.page-header-section {
    background: var(--primary-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    color: white;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-info h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-info p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.header-stats {
    display: flex;
    gap: 16px;
}

.header-stat {
    text-align: center;
    padding: 12px 24px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
}

.header-stat.warning { background: rgba(245, 158, 11, 0.3); }
.header-stat.success { background: rgba(255,255,255,0.2); }

.header-stat .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    display: block;
}

.header-stat .stat-label {
    font-size: 0.75rem;
    opacity: 0.9;
}

.section-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    overflow: hidden;
}

.section-card.urgent {
    border: 2px solid #f59e0b;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--primary-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.section-header h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-body {
    padding: 20px;
}

.teslimat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.teslimat-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.2s;
}

.teslimat-card.pending {
    border-left: 4px solid #f59e0b;
}

.teslimat-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.teslimat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.teslimat-urun strong {
    font-size: 1rem;
    color: #1f2937;
}

.teslimat-miktar {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.miktar-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
}

.miktar-birim {
    font-size: 0.875rem;
    color: #6b7280;
}

.teslimat-meta {
    font-size: 0.8rem;
    color: #6b7280;
}

.teslimat-not {
    font-size: 0.85rem;
    color: #4b5563;
    font-style: italic;
    padding: 8px 12px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 6px;
}

.teslimat-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.teslimat-actions .btn {
    flex: 1;
}

.bulk-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.bulk-info {
    font-size: 0.9rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
}

.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.9rem;
}

.data-table tr:hover td {
    background: #f9fafb;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state.small {
    padding: 40px 20px;
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #9ca3af;
}

.empty-state h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.empty-state p {
    color: #6b7280;
    margin-bottom: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary { background: var(--primary-color); color: white; }
.btn-success { background: var(--primary-color); color: white; }
.btn-warning { background: var(--primary-color); color: white; }
.btn-secondary { background: #f3f4f6; color: #4b5563; border: 1px solid #e5e7eb; }

.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

.btn-sm { padding: 6px 12px; font-size: 0.8rem; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-warning { background: rgba(245, 158, 11, 0.2); color: #d97706; }
.badge-success { background: rgba(16, 185, 129, 0.2); color: #059669; }
.badge-secondary { background: #f3f4f6; color: #6b7280; }

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.show {
    display: flex;
}

.modal-dialog {
    /*background: white;*/
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    /*box-shadow: 0 20px 40px rgba(0,0,0,0.2);*/
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--primary-color);
    color: white;
}

.modal-header.warning {
    background: var(--primary-color);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid #e5e7eb;
}

.kabul-info {
    text-align: center;
    padding: 20px;
    background: #f9fafb;
    border-radius: 10px;
    margin-bottom: 20px;
}

.kabul-urun {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.kabul-miktar {
    color: #6b7280;
}

.kabul-miktar strong {
    font-size: 1.25rem;
    color: #3b82f6;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .teslimat-grid {
        grid-template-columns: 1fr;
    }
    
    .bulk-action-bar {
        flex-direction: column;
        gap: 12px;
    }
}
