/* === DESIGN SYSTEM === */
:root {
	--primary: #2563eb;
	--primary-dark: #1d4ed8;
	--primary-light: #dbeafe;
	--secondary: #10b981;
	--secondary-dark: #059669;
	--accent: #f59e0b;
	--danger: #ef4444;
	--warning: #f59e0b;
	--success: #10b981;
	--info: #06b6d4;
	
	--bg-primary: #ffffff;
	--bg-secondary: #f8fafc;
	--bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	--bg-glass: rgba(255, 255, 255, 0.95);
	
	--text-primary: #1e293b;
	--text-secondary: #64748b;
	--text-muted: #94a3b8;
	
	--border: #e2e8f0;
	--shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	
	--radius: 12px;
	--radius-sm: 8px;
	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === DARK MODE === */
@media (prefers-color-scheme: dark) {
	:root {
		--bg-primary: #1e293b;
		--bg-secondary: #0f172a;
		--bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
		--bg-glass: rgba(30, 41, 59, 0.95);
		
		--text-primary: #f1f5f9;
		--text-secondary: #cbd5e1;
		--text-muted: #64748b;
		
		--border: #334155;
	}
}

/* === BASE STYLES === */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
	background: var(--bg-gradient);
	color: var(--text-primary);
	line-height: 1.6;
	min-height: 100vh;
}

.app-container {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* === HEADER === */
.main-header {
	background: var(--bg-glass);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
	padding: 1rem 0;
	position: sticky;
	top: 0;
	z-index: 1000;
}

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

.logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--primary);
	text-decoration: none;
}

.logo-icon {
	width: 40px;
	height: 40px;
	background: var(--primary);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.25rem;
}

.user-menu {
	display: flex;
	align-items: center;
	gap: 1rem;
}

/* === NAVIGATION === */
.main-nav {
	background: var(--bg-glass);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
}

.nav-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

.nav-tabs {
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	padding: 0.5rem 0;
}

.nav-tab {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.25rem;
	background: none;
	border: none;
	border-radius: var(--radius-sm);
	color: var(--text-secondary);
	text-decoration: none;
	font-weight: 500;
	transition: var(--transition);
	white-space: nowrap;
}

.nav-tab:hover {
	background: var(--primary-light);
	color: var(--primary);
}

.nav-tab.active {
	background: var(--primary);
	color: white;
}

/* === MAIN CONTENT === */
.main-content {
	flex: 1;
	padding: 2rem 1rem;
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}

/* === CARDS === */
.card {
	background: var(--bg-primary);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	border: 1px solid var(--border);
	overflow: hidden;
	transition: var(--transition);
}

.card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-2px);
}

.card-header {
	padding: 1.5rem;
	border-bottom: 1px solid var(--border);
	background: var(--bg-secondary);
}

.card-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--text-primary);
	margin: 0;
}

.card-body {
	padding: 1.5rem;
}

.card-footer {
	padding: 1rem 1.5rem;
	border-top: 1px solid var(--border);
	background: var(--bg-secondary);
}

/* === BUTTONS === */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border: none;
	border-radius: var(--radius-sm);
	font-weight: 500;
	font-size: 0.875rem;
	text-decoration: none;
	cursor: pointer;
	transition: var(--transition);
	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(--primary);
	color: white;
}

.btn-primary:hover {
	background: var(--primary-dark);
	transform: translateY(-1px);
	box-shadow: var(--shadow-lg);
}

.btn-success {
	background: var(--success);
	color: white;
}

.btn-success:hover {
	background: var(--secondary-dark);
}

.btn-warning {
	background: var(--warning);
	color: white;
}

.btn-danger {
	background: var(--danger);
	color: white;
}

.btn-outline {
	background: transparent;
	border: 2px solid var(--primary);
	color: var(--primary);
}

.btn-sm {
	padding: 0.5rem 1rem;
	font-size: 0.75rem;
}

.btn-lg {
	padding: 1rem 2rem;
	font-size: 1rem;
}

.btn-icon {
	padding: 0.5rem;
	width: 2.5rem;
	height: 2.5rem;
	justify-content: center;
}

/* === FORMS === */
.form-group {
	margin-bottom: 1.5rem;
}

.form-label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: var(--text-primary);
}

.form-control {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 2px solid var(--border);
	border-radius: var(--radius-sm);
	font-size: 1rem;
	transition: var(--transition);
	background: var(--bg-primary);
	color: var(--text-primary);
}

.form-control:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
	background-position: right 0.5rem center;
	background-repeat: no-repeat;
	background-size: 1.5em 1.5em;
	padding-right: 2.5rem;
}

.form-text {
	color: var(--text-muted);
	font-size: 0.875rem;
	margin-top: 0.25rem;
}

/* === GRID SYSTEM === */
.grid {
	display: grid;
	gap: 1.5rem;
}

.grid-2 {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* === STATS CARDS === */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin-bottom: 2rem;
}

.stat-card {
	background: var(--bg-primary);
	padding: 1.5rem;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	border-left: 4px solid var(--primary);
	transition: var(--transition);
	position: relative;
	overflow: hidden;
}

.stat-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.stat-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.stat-value {
	font-size: 2rem;
	font-weight: 700;
	color: var(--primary);
	line-height: 1;
}

.stat-label {
	color: var(--text-secondary);
	font-size: 0.875rem;
	margin-top: 0.5rem;
}

.stat-change {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.75rem;
	margin-top: 0.5rem;
}

.change-positive {
	color: var(--success);
}

.change-negative {
	color: var(--danger);
}

/* === TABLES === */
.table-responsive {
	overflow-x: auto;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	background: var(--bg-primary);
}

.table {
	width: 100%;
	border-collapse: collapse;
	background: var(--bg-primary);
	min-width: 800px;
}

.table th {
	background: var(--bg-secondary);
	padding: 1rem;
	text-align: left;
	font-weight: 600;
	color: var(--text-primary);
	border-bottom: 1px solid var(--border);
	position: sticky;
	left: 0;
}

.table td {
	padding: 1rem;
	border-bottom: 1px solid var(--border);
	color: var(--text-primary);
}

.table tbody tr {
	transition: var(--transition);
}

.table tbody tr:hover {
	background: var(--primary-light);
}

/* === BADGES === */
.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	font-size: 0.75rem;
	font-weight: 500;
	white-space: nowrap;
}

.badge-success {
	background: var(--success);
	color: white;
}

.badge-warning {
	background: var(--warning);
	color: white;
}

.badge-danger {
	background: var(--danger);
	color: white;
}

.badge-info {
	background: var(--info);
	color: white;
}

.badge-primary {
	background: var(--primary);
	color: white;
}

/* === STATUS INDICATORS === */
.status-indicator {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	border-radius: var(--radius-sm);
	font-size: 0.875rem;
	font-weight: 500;
}

.status-active {
	background: #f0fdf4;
	color: #166534;
	border: 1px solid #bbf7d0;
}

.status-busy {
	background: #fffbeb;
	color: #92400e;
	border: 1px solid #fed7aa;
}

.status-offline {
	background: #f1f5f9;
	color: #475569;
	border: 1px solid #e2e8f0;
}

.status-pending {
	background: #f0f9ff;
	color: #0369a1;
	border: 1px solid #bae6fd;
}

/* === ALERTS === */
.alert {
	padding: 1rem;
	border-radius: var(--radius-sm);
	margin-bottom: 1rem;
	border-left: 4px solid;
	background: var(--bg-primary);
}

.alert-success {
	background: #f0fdf4;
	border-color: var(--success);
	color: #166534;
}

.alert-error {
	background: #fef2f2;
	border-color: var(--danger);
	color: #991b1b;
}

.alert-warning {
	background: #fffbeb;
	border-color: var(--warning);
	color: #92400e;
}

.alert-info {
	background: #f0f9ff;
	border-color: var(--info);
	color: #0369a1;
}

/* === LOADING === */
.loading {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 2px solid #f3f3f3;
	border-top: 2px solid var(--primary);
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

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

/* === SUGGESTIONS === */
.suggestions-container {
	position: absolute;
	background: var(--bg-primary);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lg);
	max-height: 200px;
	overflow-y: auto;
	z-index: 1000;
	width: 100%;
	margin-top: 0.25rem;
}

.suggestion-item {
	padding: 0.75rem 1rem;
	cursor: pointer;
	transition: var(--transition);
	border-bottom: 1px solid var(--border);
}

.suggestion-item:hover {
	background: var(--primary-light);
}

.suggestion-item:last-child {
	border-bottom: none;
}

/* === MODALS === */
.modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	padding: 1rem;
}

.modal-content {
	background: var(--bg-primary);
	border-radius: var(--radius);
	box-shadow: var(--shadow-xl);
	max-width: 500px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
}

.modal-header {
	padding: 1.5rem;
	border-bottom: 1px solid var(--border);
	display: flex;
	justify-content: between;
	align-items: center;
}

.modal-title {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0;
}

.modal-close {
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--text-muted);
}

.modal-body {
	padding: 1.5rem;
}

.modal-footer {
	padding: 1rem 1.5rem;
	border-top: 1px solid var(--border);
	display: flex;
	gap: 0.5rem;
	justify-content: flex-end;
}

/* === CHARTS === */
.chart-container {
	background: var(--bg-primary);
	border-radius: var(--radius);
	padding: 1.5rem;
	box-shadow: var(--shadow);
}

.chart-placeholder {
	height: 300px;
	background: var(--bg-secondary);
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
	.main-content {
		padding: 1rem;
	}
	
	.header-content {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}
	
	.user-menu {
		flex-direction: column;
		gap: 0.5rem;
	}
	
	.stats-grid {
		grid-template-columns: 1fr;
	}
	
	.grid-2, .grid-3, .grid-4 {
		grid-template-columns: 1fr;
	}
	
	.card-body {
		padding: 1rem;
	}
	
	.btn {
		width: 100%;
		justify-content: center;
	}
	
	/* TABLO DÜZELTMELERİ */
	.table-responsive {
		-webkit-overflow-scrolling: touch;
		border: 1px solid var(--border);
		background: var(--bg-primary);
	}
	
	.table {
		font-size: 0.875rem;
		min-width: 600px;
	}
	
	.table th,
	.table td {
		padding: 0.75rem 0.5rem;
		white-space: nowrap;
	}
	
	/* Mobil için daha iyi dokunma deneyimi */
	.btn {
		min-height: 44px;
		min-width: 44px;
	}
	
	input, select, textarea {
		font-size: 16px;
	}
	
	.nav-tabs {
		flex-wrap: wrap;
	}
	
	.modal-content {
		margin: 1rem;
	}
}

@media (max-width: 480px) {
	.main-content {
		padding: 0.5rem;
	}
	
	.card {
		border-radius: var(--radius-sm);
	}
	
	.stat-value {
		font-size: 1.5rem;
	}
	
	.card-header,
	.card-body,
	.card-footer {
		padding: 1rem;
	}
	
	/* Ekstra küçük ekranlar için tablo ayarları */
	.table {
		min-width: 500px;
		font-size: 0.8rem;
	}
	
	.table th,
	.table td {
		padding: 0.5rem 0.25rem;
	}
}

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.flex-wrap { flex-wrap: wrap; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.position-relative { position: relative; }
.position-absolute { position: absolute; }

/* === ANIMATIONS === */
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.fade-in {
	animation: fadeIn 0.3s ease-out;
}

@keyframes slideIn {
	from { transform: translateX(-100%); }
	to { transform: translateX(0); }
}

.slide-in {
	animation: slideIn 0.3s ease-out;
}

/* === PRINT STYLES === */
@media print {
	.main-header,
	.main-nav,
	.btn,
	.alert {
		display: none !important;
	}
	
	.card {
		box-shadow: none !important;
		border: 1px solid #000 !important;
		break-inside: avoid;
	}
	
	.main-content {
		padding: 0 !important;
	}
	
	/* Yazdırma için metin renkleri */
	body {
		color: #000 !important;
		background: #fff !important;
	}
	
	.table {
		border: 1px solid #000 !important;
	}
	
	.table th,
	.table td {
		border-bottom: 1px solid #000 !important;
		color: #000 !important;
	}
}

/* style.css'e en sona ekleyin */

/* Geliştirilmiş Autocomplete Stilleri */
.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.suggestion-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.suggestion-type {
    background: var(--primary);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
}

.suggestion-detail {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.suggestion-distance {
    font-size: 0.8rem;
    color: var(--success);
    font-weight: bold;
}

.suggestion-item:hover {
    background: var(--primary-light);
    transform: translateX(5px);
}

.suggestion-item:last-child {
    border-bottom: none;
}

/* Geliştirilmiş Autocomplete Stilleri */
.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.suggestion-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.suggestion-type {
    background: var(--primary);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
}

.suggestion-detail {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.suggestion-distance {
    font-size: 0.8rem;
    color: var(--success);
    font-weight: bold;
}

.suggestion-item:hover {
    background: var(--primary-light);
    transform: translateX(5px);
}

.suggestion-item:last-child {
    border-bottom: none;
}

/* Loading animasyonu */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* style.css - Dosyanın en sonuna bu stilleri ekleyin */

/* Akıllı buton grupları için responsive tasarım */
.smart-action-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.smart-action-group .btn {
    flex: 1;
    min-width: 60px;
    font-size: 0.7rem;
    padding: 0.4rem 0.5rem;
}

/* Mobil uyumluluk için ek stiller */
@media (max-width: 768px) {
    .table td, .table th {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
    }
    
    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
        min-width: auto;
    }
    
    .smart-action-group {
        flex-direction: column;
    }
    
    .smart-action-group .btn {
        min-width: 100%;
        margin-bottom: 0.25rem;
    }
    
    /* Tablo scroll için */
    .table-responsive {
        -webkit-overflow-scrolling: touch;
        border: 1px solid var(--border);
    }
}

/* Küçük ekranlar için ek ayarlar */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
}
/* style.css dosyasının en sonuna bu stilleri ekleyin */

/* Geliştirilmiş Autocomplete Stilleri */
.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.suggestion-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.suggestion-type {
    background: var(--primary);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
}

.suggestion-detail {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.suggestion-distance {
    font-size: 0.8rem;
    color: var(--success);
    font-weight: bold;
}

.suggestion-item:hover {
    background: var(--primary-light);
    transform: translateX(5px);
}

.suggestion-item:last-child {
    border-bottom: none;
}

/* Loading animasyonu */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Akıllı buton grupları için responsive tasarım */
.smart-action-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.smart-action-group .btn {
    flex: 1;
    min-width: 60px;
    font-size: 0.7rem;
    padding: 0.4rem 0.5rem;
}

/* Maliyet analizi için özel stiller */
.cost-breakdown {
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-top: 1rem;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.cost-item:last-child {
    border-bottom: none;
}

.profit-indicator {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
}

.profit-positive {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.profit-warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fed7aa;
}

.profit-negative {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Mobil uyumluluk için ek stiller */
@media (max-width: 768px) {
    .table td, .table th {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
    }
    
    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
        min-width: auto;
    }
    
    .smart-action-group {
        flex-direction: column;
    }
    
    .smart-action-group .btn {
        min-width: 100%;
        margin-bottom: 0.25rem;
    }
    
    /* Tablo scroll için */
    .table-responsive {
        -webkit-overflow-scrolling: touch;
        border: 1px solid var(--border);
    }
    
    /* Maliyet analizi mobil */
    .cost-analysis-grid {
        grid-template-columns: 1fr;
    }
}

/* Küçük ekranlar için ek ayarlar */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
    
    .cost-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}