/* Kurumsal Renk Paleti - Oto Servis (High-End Automotive SaaS) */
:root {
	/* Brand / Primary */
	--primary-color: #2563eb; /* Royal Blue */
	--primary-dark: #1d4ed8;
	--primary-light: #60a5fa;
	--primary-lighter: #93c5fd;

	/* Accent */
	--secondary-color: #f59e0b; /* Amber */
	--accent-color: #10b981; /* Emerald */
	--accent-dark: #059669;

	/* Surfaces */
	--dark-bg: #0f172a;
	--surface-bg: #f3f5f9; /* Global dashboard surface */
	--surface-soft: #f8fafc;
	--light-bg: #f3f5f9;

	/* Text */
	--text-primary: #111827;
	--text-secondary: #6b7280;

	/* Borders */
	--border-color: #e2e8f0;
	--white: #ffffff;

	/* Colored Shadows */
	--shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08);
	--shadow-md: 0 8px 20px rgba(37, 99, 235, 0.08);
	--shadow-lg: 0 12px 30px rgba(37, 99, 235, 0.12);
	--shadow-xl: 0 18px 40px rgba(15, 23, 42, 0.16);
	--shadow-2xl: 0 25px 60px rgba(15, 23, 42, 0.22);
}

/* Genel Stiller */
body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	background: var(--light-bg);
	color: var(--text-primary);
	line-height: 1.6;
	margin: 0;
	padding: 0;
}

/* Login sayfası için body (navbar yok) */
body:not(.dashboard-body) {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 0;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
	background-size: 400% 400%;
	background-attachment: fixed;
	animation: gradientShift 20s ease infinite;
	position: relative;
	overflow: hidden;
}

@keyframes gradientShift {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

body.dashboard-body {
	background-color: #F0F4F8;
	min-height: 100vh;
	position: relative;
	font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body.dashboard-body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(circle at 20% 50%, rgba(30, 58, 138, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
	pointer-events: none;
	z-index: 0;
}

/* Dashboard Container */
.dashboard-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 2rem;
	position: relative;
	z-index: 1;
}

/* Dashboard Header */
.dashboard-header {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
	backdrop-filter: blur(20px);
	border-radius: 20px;
	padding: 2rem;
	margin-bottom: 2rem;
	box-shadow: 
		0 10px 15px -3px rgba(0, 0, 0, 0.1),
		0 4px 6px -2px rgba(0, 0, 0, 0.05),
		inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.8);
}

.search-container {
	position: relative;
	margin-bottom: 1.5rem;
}

.search-container .form-control {
	border: 2px solid var(--border-color);
	border-radius: 12px;
	padding: 0.875rem 1rem 0.875rem 3rem;
	font-size: 1rem;
	transition: all 0.3s ease;
	background: rgba(255, 255, 255, 0.9);
}

.search-container .form-control:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
	outline: none;
	background: white;
}

.search-container .search-icon {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-secondary);
	font-size: 1.1rem;
	pointer-events: none;
}

/* Status Filters */
.status-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2rem;
}

.filter-buttons {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.filter-btn {
	padding: 0.625rem 1.25rem;
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.9rem;
	border: 2px solid var(--border-color);
	background: rgba(255, 255, 255, 0.9);
	color: var(--text-secondary);
	transition: all 0.3s ease;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.filter-btn:hover {
	border-color: var(--primary-color);
	color: var(--primary-color);
	background: rgba(30, 58, 138, 0.05);
	transform: translateY(-2px);
}

.filter-btn.active {
	background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
	border-color: var(--primary-color);
	color: white;
	box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Folder Cards & Dashboard Cards */
.folders-grid,
.folder-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 1.5rem;
}

.search-input-group {
	display: flex;
	gap: 0.75rem;
}

.search-input-group .form-control {
	flex: 1;
}

.search-btn {
	padding: 0.875rem 1.5rem;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
	border: none;
	color: white;
	font-weight: 600;
	transition: all 0.3s ease;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.search-btn:hover {
	background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.action-buttons {
	display: flex;
	gap: 1rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.action-btn {
	padding: 0.875rem 1.75rem;
	border-radius: 12px;
	font-weight: 600;
	font-size: 1rem;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
}

.action-btn-primary {
	background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
	color: white;
	box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.action-btn-primary:hover {
	background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(30, 58, 138, 0.4);
	color: white;
}

.action-btn-secondary {
	background: rgba(107, 114, 128, 0.1);
	color: var(--text-secondary);
	border: 2px solid rgba(107, 114, 128, 0.2);
}

.action-btn-secondary:hover {
	background: rgba(107, 114, 128, 0.2);
	color: var(--text-primary);
	border-color: rgba(107, 114, 128, 0.3);
	transform: translateY(-2px);
}

/* Ortak Dashboard Card Base (tüm dashboard kartları için) */
.dashboard-card,
.folder-card {
	background-color: #ffffff;
	border-radius: 18px;
	padding: 1.5rem 1.5rem 1.25rem;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
	border: 1px solid #e2e8f0;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	position: relative;
	overflow: hidden;
}

.dashboard-card::before,
.folder-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
	opacity: 1;
}

.dashboard-card:hover,
.folder-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}

/* Overdue card blinking animation */
@keyframes blinkRed {
	0%, 100% {
		background-color: #ffffff;
		border-color: #e2e8f0;
	}
	50% {
		background-color: #fee2e2;
		border-color: #ef4444;
	}
}

.folder-card.overdue-card {
	animation: blinkRed 2s ease-in-out infinite;
}

.folder-card {
	cursor: pointer;
}

.folder-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 1.25rem;
	gap: 1rem;
}

.folder-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text-primary);
	margin: 0;
	flex: 1;
	text-wrap: nowrap;
}

.folder-status {
	padding: 0.375rem 0.75rem;
	border-radius: 8px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	white-space: nowrap;
}

.folder-status.status-yeni {
	background: rgba(59, 130, 246, 0.1);
	color: #3b82f6;
}

.folder-status.status-devam_ediyor {
	background: rgba(245, 158, 11, 0.1);
	color: #f59e0b;
}

.folder-status.status-tamamlandi {
	background: rgba(16, 185, 129, 0.1);
	color: #10b981;
}

.folder-status.status-beklemede {
	background: rgba(107, 114, 128, 0.1);
	color: #6b7280;
}

.folder-info {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 0.50rem;
}

.folder-info-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.95rem;
	color: var(--text-secondary);
}

.folder-info-row i {
	color: var(--primary-color);
	font-size: 1rem;
	width: 20px;
}

.folder-info-row strong {
	color: var(--text-primary);
	font-weight: 600;
}

.folder-car,
.folder-customer,
.folder-delivery-date {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.95rem;
	color: var(--text-secondary);
}

.folder-car i,
.folder-customer i,
.folder-delivery-date i {
	color: var(--primary-color);
	font-size: 1rem;
	width: 20px;
}

.folder-delivery-date.overdue {
	color: #ef4444;
}

.folder-delivery-date strong {
	color: var(--text-primary);
	font-weight: 600;
}

.folder-meta-info {
	display: flex;
	gap: 1.5rem;
	padding: 1rem 0;
	border-top: 1px solid var(--border-color);
	border-bottom: 1px solid var(--border-color);
	margin-bottom: 1rem;
}

.meta-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: var(--text-secondary);
}

.meta-item i {
	color: var(--primary-color);
	font-size: 1rem;
}

.folder-status-badges {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
	justify-content: flex-end;
}

.status-badge {
	padding: 0.375rem 0.875rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	letter-spacing: 0.05em;
	line-height: 1;
	border: none;
	box-shadow: none;
	background-color: rgba(15, 23, 42, 0.04);
	color: var(--text-primary);
}

.status-badge.status-yeni {
	background: #2563eb;
	color: #ffffff;
}

.status-badge.bg-success,
.status-badge.bg-danger,
.status-badge.bg-warning,
.status-badge.bg-secondary {
	border: none;
}

.status-badge.bg-success {
	background: #16a34a;
	color: #ffffff;
}

.status-badge.bg-primary {
	background: #2563eb;
	color: #ffffff;
}

.status-badge.bg-danger {
	background: #dc2626;
	color: #ffffff;
}

.status-badge.bg-warning {
	background: #f59e0b;
	color: #1f2933;
}

.status-badge.bg-secondary {
	background: #6b7280;
	color: #ffffff;
}

/* Fotoğraf durum badge'leri - statü rozetleriyle hizalı */
.photo-status-badge {
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	box-shadow: 0 3px 8px rgba(15, 23, 42, 0.35);
}

/* ============================================
   SURVEY (ANKET) SAYFASI
   ============================================ */

body.survey-body {
	min-height: 100vh;
	background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #8b5cf6 100%);
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 2rem 1rem;
	overflow-y: auto;
}

.survey-container {
	width: 100%;
	max-width: 820px;
	margin: 0 auto 3rem auto;
}

.survey-card {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
	border-radius: 24px;
	padding: 2.5rem 2rem;
	box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.4);
	border: 1px solid rgba(226, 232, 240, 0.9);
}

.survey-title {
	font-size: 2rem;
	font-weight: 800;
	color: var(--text-primary);
	margin-bottom: 0.75rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.survey-title-icon {
	color: var(--secondary-color);
}

.survey-subtitle {
	color: var(--text-secondary);
	font-size: 1rem;
	margin: 0;
}

.survey-folder-summary {
	margin-top: 1.25rem;
	background: rgba(30, 58, 138, 0.06);
	padding: 1rem 1.25rem;
	border-radius: 14px;
	font-size: 0.95rem;
	color: var(--text-primary);
}

.survey-question-label {
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--text-primary);
}

.survey-question-description {
	color: var(--text-secondary);
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.rating-buttons {
	display: flex;
	gap: 0.5rem;
	justify-content: center;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}

.rating-buttons input[type="radio"] {
	display: none;
}

.rating-label {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	padding: 0.9rem 1.1rem;
	border: 2px solid var(--border-color);
	border-radius: 14px;
	cursor: pointer;
	transition: all 0.25s ease;
	background: white;
	min-width: 72px;
}

.rating-label:hover {
	border-color: var(--secondary-color);
	background: rgba(245, 158, 11, 0.05);
	transform: translateY(-1px);
}

.rating-buttons input[type="radio"]:checked + .rating-label {
	border-color: var(--secondary-color);
	background: rgba(245, 158, 11, 0.1);
}

.rating-label i {
	font-size: 2rem;
	color: #cbd5e1;
}

.rating-label span {
	font-weight: 700;
	color: var(--text-primary);
}

.survey-card .form-control {
	border: 2px solid var(--border-color);
	border-radius: 12px;
	padding: 0.875rem 1rem;
}

.survey-card .form-control:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
	outline: none;
}

.survey-submit-btn {
	padding: 1rem;
	font-size: 1.05rem;
	font-weight: 700;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
	border: none;
}

.survey-submit-btn:hover {
	background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

@media (max-width: 768px) {
	body.survey-body {
		padding: 1.5rem 1rem;
	}
	.survey-card {
		padding: 1.75rem 1.25rem;
		border-radius: 20px;
	}
	.survey-title {
		font-size: 1.6rem;
	}
}

/* Yedek parça isteği kartı resmi */
.folder-card .spare-part-image {
	width: 100%;
	border-radius: 12px;
	max-height: 300px;
	object-fit: cover;
	display: block;
}

/* Yedek parça isteği durum select'i - kartın meta alanında */
.folder-meta-info .status-select {
	width: 100%;
	padding: 0.5rem 0.75rem;
	border-radius: 10px;
	border: 2px solid var(--border-color);
	font-size: 0.9rem;
}

.folder-meta-info .status-select:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
	outline: none;
}

.status-badge.status-devam_ediyor,
.status-badge.status-devam {
	background: rgba(245, 158, 11, 0.1);
	color: #f59e0b;
}

.status-badge.status-tamamlandi {
	background: rgba(16, 185, 129, 0.1);
	color: #10b981;
}

.status-badge.status-beklemede {
	background: rgba(107, 114, 128, 0.1);
	color: #6b7280;
}

.status-badge.status-onay_bekliyor {
	background: rgba(254, 243, 199, 1); /* bg-orange-50 equivalent */
	color: #D97706; /* text-orange-600 */
	border: none;
}

.status-badge.status-parca_bekleniyor {
		background: rgba(37, 99, 235, 0.12);
		color: #1d4ed8;
}

.status-badge.status-teslim_edildi {
		background: rgba(16, 185, 129, 0.1);
		color: #047857;
}

.folder-action {
	padding: 0.75rem 1.5rem;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
	color: white;
	font-weight: 600;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	text-wrap-mode: nowrap;
}

.folder-action:hover {
	background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Success / Danger varyasyonları - aksiyon butonları */
.folder-action-success {
	background: linear-gradient(135deg, #16a34a, #22c55e);
}

.folder-action-success:hover {
	background: linear-gradient(135deg, #15803d, #16a34a);
	box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
}

.folder-action-danger {
	background: linear-gradient(135deg, #dc2626, #ef4444);
}

.folder-action-danger:hover {
	background: linear-gradient(135deg, #b91c1c, #dc2626);
	box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.folder-actions {
	display: flex;
	gap: 0.75rem;
	flex-direction: column;
}

.folder-action-edit {
	width: 100%;
	padding: 0.75rem 1.5rem;
	border-radius: 12px;
	border: 2px solid var(--secondary-color);
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(245, 158, 11, 0.02));
	color: var(--secondary-color);
	font-weight: 600;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.folder-action-edit::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--secondary-color) 0%, #d97706 100%);
	transition: left 0.4s ease;
	z-index: 0;
}

.folder-action-edit:hover::before {
	left: 0;
}

.folder-action-edit:hover {
	color: white;
	border-color: var(--secondary-color);
	transform: translateY(-2px);
	box-shadow:
		0 8px 12px -2px rgba(245, 158, 11, 0.3),
		0 4px 6px -1px rgba(245, 158, 11, 0.2);
}

.folder-action-edit i {
	position: relative;
	z-index: 1;
}

.folder-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 1rem;
	border-top: 1px solid var(--border-color);
}

.folder-date {
	font-size: 0.875rem;
	color: var(--text-secondary);
}

/* .folder-actions {
	display: flex;
	gap: 0.5rem;
} */

.folder-actions {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(auto-fit, minmax(10px, 1fr));
}

.folder-actions .btn {
	padding: 0.5rem 1rem;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 600;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.folder-actions .btn-primary {
	background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
	color: white;
}

.folder-actions .btn-primary:hover {
	background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.folder-actions .btn-secondary {
	background: rgba(107, 114, 128, 0.1);
	color: var(--text-secondary);
}

.folder-actions .btn-secondary:hover {
	background: rgba(107, 114, 128, 0.2);
	color: var(--text-primary);
}

.empty-state {
	text-align: center;
	padding: 4rem 2rem;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
	border-radius: 20px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.empty-state i {
	font-size: 4rem;
	color: var(--text-secondary);
	margin-bottom: 1rem;
	opacity: 0.5;
}

.empty-state h3 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 0.5rem;
}

.empty-state p {
	color: var(--text-secondary);
	font-size: 1rem;
}

/* Info Badges */
.info-badge {
	padding: 0.25rem 0.625rem;
	border-radius: 6px;
	font-size: 0.75rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.overdue-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.375rem 0.75rem;
	border-radius: 8px;
	background: rgba(239, 68, 68, 0.08);
	border: 1px solid rgba(239, 68, 68, 0.2);
	color: #ef4444;
	font-size: 0.8125rem;
	font-weight: 600;
	width: 100%;
}

.overdue-badge i {
	color: #ffffff;
	font-size: 0.875rem;
}

/* Overdue badge blinking animation */
@keyframes blinkBadge {
	0%, 100% {
		background-color: #ef4444;
		opacity: 1;
	}
	50% {
		background-color: #dc2626;
		opacity: 0.8;
	}
}

.overdue-badge.blinking {
	animation: blinkBadge 1.5s ease-in-out infinite;
	background: #ef4444;
	color: white;
	border-color: #dc2626;
}

.folder-overdue-alert {
	margin-top: 0.5rem;
	display: flex;
	justify-content: center;
}

/* Parts waiting badge */
.parts-waiting-badge {
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
	color: white;
	padding: 0.375rem 0.875rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

.parts-waiting-badge i {
	font-size: 0.875rem;
}

.cash-damage-badge {
	background: rgba(245, 158, 11, 0.1);
	color: #f59e0b;
}

/* Sidebar Styles */
.sidebar {
	position: fixed;
	top: 0;
	left: 0;
	width: 280px;
	height: 100vh;
	background: linear-gradient(135deg, rgba(30, 58, 138, 0.98) 0%, rgba(30, 58, 138, 0.95) 100%);
	backdrop-filter: blur(20px);
	box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	transition: all 0.3s ease;
	overflow-y: auto;
	overflow-x: visible;
}

.sidebar.collapsed {
	width: 80px;
	overflow: hidden;
}

.sidebar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	overflow: visible;
}

.sidebar-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: white;
	font-size: 1.25rem;
	font-weight: 700;
	transition: all 0.3s ease;
}

.sidebar-brand i {
	font-size: 1.75rem;
	color: var(--secondary-color);
}

.sidebar-brand .sidebar-logo {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.sidebar.collapsed .sidebar-brand .brand-text {
	display: none;
}

.sidebar-nav {
	padding: 1rem 0;
}

.nav-section {
	margin-bottom: 0;
}

.nav-section-title {
	padding: 0.5rem 1.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: rgba(255, 255, 255, 0.5);
}

.sidebar.collapsed .nav-section-title {
	display: none;
}

.nav-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.875rem 1.5rem;
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
	border-left: 3px solid transparent;
}

.nav-item:hover {
	background: rgba(255, 255, 255, 0.1);
	color: white;
	/* border-left-color: var(--secondary-color); */
}

.nav-item.active {
	background: rgba(255, 255, 255, 0.15);
	color: white;
	/* border-left-color: var(--secondary-color); */
}

.nav-item i {
	font-size: 1.25rem;
	width: 24px;
	text-align: center;
}

.sidebar.collapsed .nav-item span {
	display: none;
}

.sidebar.collapsed .nav-item {
	justify-content: center;
	padding: 0.875rem;
}

.sidebar.collapsed .nav-item::after {
	content: attr(data-tooltip);
	position: absolute;
	left: 100%;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.9);
	color: white;
	padding: 0.5rem 0.75rem;
	border-radius: 6px;
	font-size: 0.875rem;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	margin-left: 0.5rem;
	z-index: 1001;
}

.sidebar.collapsed .nav-item:hover::after {
	opacity: 1;
}

.sidebar-toggle-collapse {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	min-width: 36px;
	height: 36px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
	border: 1px solid rgba(255, 255, 255, 0.8);
	color: #ffffff;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
	transition: all 0.25s ease;
	padding: 0 0.75rem;
	font-size: 0.9rem;
}

.sidebar-toggle-collapse i {
	font-size: 1rem;
}

.sidebar-toggle-collapse:hover {
	background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
	transform: scale(1.05);
	box-shadow: 0 6px 14px rgba(15, 23, 42, 0.3);
}

.sidebar.collapsed .sidebar-toggle-collapse i {
	transform: rotate(180deg);
}

.sidebar-toggle-close,
.sidebar-toggle-mobile {
	display: none;
}

@media (max-width: 991px) {
	.sidebar {
		transform: translateX(-100%);
		width: 280px;
	}
	
	.sidebar.active {
		transform: translateX(0);
	}
	
	.sidebar-toggle-mobile {
		display: flex;
	}
	
	.sidebar-toggle-close {
		display: flex;
		background: transparent;
		border: none;
		color: white;
		font-size: 1.5rem;
		cursor: pointer;
		padding: 0.5rem;
	}
}

/* Topbar Styles */
.topbar {
	position: fixed;
	top: 0;
	left: 280px;
	right: 0;
	height: 70px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
	backdrop-filter: blur(20px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 2rem;
	transition: left 0.3s ease;
	border-bottom: 1px solid rgba(30, 58, 138, 0.1);
}

.sidebar.collapsed ~ .main-wrapper .topbar {
	left: 80px;
}

.topbar-left {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.topbar-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-primary);
	flex: 1;
	margin-left: 1rem;
}

.topbar-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.topbar-action-btn {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.625rem 1rem;
	border-radius: 10px;
	background: rgba(30, 58, 138, 0.05);
	border: none;
	color: var(--text-primary);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	cursor: pointer;
}

.topbar-action-btn:hover {
	background: rgba(30, 58, 138, 0.1);
	color: var(--primary-color);
}

.topbar-logout-btn {
	background: rgba(239, 68, 68, 0.1);
	color: #ef4444;
}

.topbar-logout-btn:hover {
	background: rgba(239, 68, 68, 0.2);
	color: #dc2626;
}

.topbar-user-info {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.2rem 1rem;
	border-radius: 10px;
	background: rgba(30, 58, 138, 0.05);
}

.topbar-user-avatar {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.1rem;
}

.topbar-user-name {
	font-weight: 600;
	color: var(--text-primary);
	font-size: 0.9rem;
}

.topbar-user-role {
	font-size: 0.75rem;
	color: var(--text-secondary);
}

/* Main Wrapper */
.main-wrapper {
	margin-left: 280px;
	transition: margin-left 0.3s ease;
	min-height: 100vh;
	padding-top: 70px;
}

.sidebar.collapsed ~ .main-wrapper {
	margin-left: 80px;
}

.main-content {
	padding: 2rem;
}

/* Sidebar Overlay */
.sidebar-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
	display: block;
	opacity: 1;
}

@media (max-width: 991px) {
	.topbar {
		left: 0;
	}
	
	.main-wrapper {
		margin-left: 0;
	}
	
	.sidebar.collapsed ~ .main-wrapper {
		margin-left: 0;
	}
}

/* Login Page Styles */
/* Login Wrapper */
.login-wrapper {
	width: 100%;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	position: relative;
	overflow: hidden;
}

/* Login Background - Kurumsal */
body:not(.dashboard-body) {
	background: #f8fafc;
	background-image: 
		radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.02) 0%, transparent 50%);
	background-attachment: fixed;
}

.login-background {
	display: none;
}

/* Login Container */
.login-container {
	width: 100%;
	max-width: 450px;
	position: relative;
	z-index: 1;
}

/* Login Card - Kurumsal */
.login-card {
	background: #ffffff;
	border-radius: 20px;
	padding: 3rem;
	box-shadow: 
		0 1px 3px rgba(0, 0, 0, 0.08),
		0 4px 12px rgba(0, 0, 0, 0.05);
	border: 1px solid #e2e8f0;
	position: relative;
	width: 100%;
	animation: slideUp 0.4s ease-out;
}

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


/* Login Header */
.login-header {
	text-align: center;
	margin-bottom: 2.5rem;
	position: relative;
	z-index: 1;
}

.logo-wrapper {
	width: 80px;
	height: 80px;
	margin: 0 auto 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.logo-glow {
	display: none;
}

.login-logo {
	height: 70px;
	object-fit: contain;
	position: relative;
	z-index: 1;
}

.login-title {
	font-size: 2rem;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 0.5rem 0;
	letter-spacing: -0.02em;
}

.login-subtitle {
	font-size: 0.95rem;
	color: #64748b;
	margin: 0;
	font-weight: 400;
}

/* Login Body */
.login-body {
	position: relative;
	z-index: 1;
}

/* Form Groups - Kurumsal */
.form-group-modern {
	margin-bottom: 1.5rem;
}

.form-label-modern {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	color: #374151;
	margin-bottom: 0.75rem;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.form-label-modern i {
	color: #64748b;
	font-size: 0.9rem;
}

/* Input Wrapper - Kurumsal */
.input-wrapper {
	position: relative;
}

.form-input-modern {
	width: 100%;
	padding: 0.875rem 1rem;
	font-size: 0.95rem;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	background: #ffffff;
	transition: all 0.2s ease;
	color: #1e293b;
	font-weight: 400;
}

.form-input-modern::placeholder {
	color: #94a3b8;
	font-weight: 400;
}

.form-input-modern:focus {
	outline: none;
	border-color: var(--primary-color);
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.input-wrapper.focused .form-input-modern {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.input-focus-line {
	display: none;
}

.password-wrapper {
	position: relative;
}

.password-toggle {
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #94a3b8;
	cursor: pointer;
	padding: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease;
	z-index: 1;
}

.password-toggle:hover {
	color: var(--primary-color);
}

.password-toggle i {
	font-size: 1rem;
}

/* Form Options - Kurumsal */
.form-options {
	margin-bottom: 1.75rem;
}

.checkbox-modern {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	cursor: pointer;
	user-select: none;
}

.checkbox-modern input[type="checkbox"] {
	display: none;
}

.checkbox-custom {
	width: 18px;
	height: 18px;
	border: 2px solid #cbd5e1;
	border-radius: 4px;
	position: relative;
	transition: all 0.2s ease;
	flex-shrink: 0;
	background: #ffffff;
}

.checkbox-modern input[type="checkbox"]:checked + .checkbox-custom {
	background: var(--primary-color);
	border-color: var(--primary-color);
}

.checkbox-modern input[type="checkbox"]:checked + .checkbox-custom::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 2px;
	width: 4px;
	height: 8px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.checkbox-label {
	font-weight: 500;
	color: #475569;
	font-size: 0.9rem;
}

/* Login Button - Kurumsal */
.btn-login {
	width: 100%;
	background: var(--primary-color);
	border: none;
	border-radius: 10px;
	padding: 0.875rem 1.5rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: white;
	box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
	transition: all 0.2s ease;
	margin-top: 0.5rem;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.btn-login:hover {
	background: var(--primary-dark);
	box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
	transform: translateY(-1px);
}

.btn-login:active {
	transform: translateY(0);
	box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
}

.btn-login:hover {
	background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(30, 58, 138, 0.4);
}

.btn-login:active {
	transform: translateY(0);
	box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.btn-login:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

.btn-login-text,
.btn-login-loader {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Login Footer */
.login-footer {
	margin-top: 2rem;
	text-align: center;
}

.security-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.25rem;
	background: rgba(30, 58, 138, 0.05);
	border-radius: 12px;
	color: var(--primary-color);
	font-size: 0.9rem;
	font-weight: 500;
}

.security-badge i {
	font-size: 1.1rem;
}

/* Alerts */
.alert {
	border-radius: 12px;
	border: none;
	padding: 1rem 1.25rem;
	animation: fadeIn 0.3s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
	.login-wrapper {
		padding: 1rem;
	}
	
	.login-card {
		padding: 2.5rem 2rem;
		border-radius: 24px;
	}
	
	.login-header h1 {
		font-size: 2rem;
	}
	
	.login-header .logo-icon {
		width: 70px;
		height: 70px;
	}
	
	.login-header .logo-icon .login-logo {
		width: 55px;
		height: 55px;
	}
	
	.shape-1,
	.shape-2,
	.shape-3 {
		display: none;
	}
}

@media (max-width: 480px) {
	.login-card {
		padding: 2rem 1.5rem;
	}
	
	.login-header h1 {
		font-size: 1.75rem;
	}
	
	.login-header p {
		font-size: 1rem;
	}
}

/* 1. HEADER - Araç Kimlik Kartı */
.page-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 2rem;
	flex-wrap: wrap;
	gap: 1.5rem;
	padding: 2.5rem 3rem;
	background: #ffffff;
	border: none;
	border-radius: 24px;
	box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
	position: relative;
}

.page-header-content {
	flex: 1;
	min-width: 0;
}

.page-header-main {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.page-header-icon {
	font-size: 2.5rem;
	color: var(--primary-color);
	flex-shrink: 0;
	line-height: 1;
}

.page-header-text {
	flex: 1;
	min-width: 0;
}

.page-header-content h1 {
	font-size: 3rem;
	font-weight: 800;
	color: #1E293B;
	margin: 0 0 0.75rem 0;
	display: flex;
	align-items: baseline;
	gap: 1.25rem;
	letter-spacing: -0.03em;
	flex-wrap: wrap;
	line-height: 1.2;
}

.page-header-subtitle {
	color: #64748B;
	margin: 0;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.6;
}

.page-header-actions {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.btn-back,
.btn-edit {
	padding: 0.625rem 1.25rem;
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: all 0.2s ease;
	border: none;
	cursor: pointer;
}

.btn-back {
	background: transparent;
	color: #64748B;
	border: 1.5px solid #E2E8F0;
	border-radius: 50px;
	padding: 0.625rem 1.5rem;
}

.btn-back:hover {
	background: #F1F5F9;
	color: #334155;
	border-color: #CBD5E1;
	transform: translateY(-1px);
}

.btn-edit {
	background: transparent;
	color: #64748B;
	border: 1.5px solid #E2E8F0;
	border-radius: 50px;
	padding: 0.625rem 1.5rem;
}

.btn-edit:hover {
	background: #F1F5F9;
	color: #334155;
	border-color: #CBD5E1;
	transform: translateY(-1px);
}

/* License Plate - Typographic Strong */
.license-plate-tag {
	display: inline-block;
	font-weight: 800;
	font-size: 3rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #1E293B;
	line-height: 1;
}

/* Folder Detail Layout */
.folder-detail-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.5rem 0 2.5rem;
}

/* Folder Detail Forms - Soft Inputs */
/* 5. FORM INPUTLARI - Borderless Soft */
.folder-detail-page .form-label,
.detail-tab-content .form-label {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #94A3B8;
	margin-bottom: 0.5rem;
}

.folder-detail-page .form-control,
.folder-detail-page .form-select,
.detail-tab-content .form-control,
.detail-tab-content .form-select {
	background-color: #F1F5F9;
	border-radius: 12px;
	border: none;
	padding: 0.875rem 1.125rem;
	font-size: 0.9375rem;
	color: #1E293B;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
	transition: all 0.2s ease;
}

.folder-detail-page .form-control::placeholder,
.detail-tab-content .form-control::placeholder {
	color: #94A3B8;
}

.folder-detail-page .form-control:focus,
.folder-detail-page .form-select:focus,
.detail-tab-content .form-control:focus,
.detail-tab-content .form-select:focus {
	background-color: #F1F5F9;
	border: none;
	box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.02);
	outline: none;
}

/* 2. NAVIGATION - Yüzen Tablar */
.detail-tabs {
	border-bottom: none;
	margin-bottom: 2rem;
	background: rgba(255, 255, 255, 0.4);
	backdrop-filter: blur(10px);
	border-radius: 50px;
	padding: 0.5rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	border: 1px solid rgba(226, 232, 240, 0.5);
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	scrollbar-width: none;
	justify-content: center;
}

.detail-tabs::-webkit-scrollbar {
	display: none;
}

.detail-tabs .nav-item {
	list-style: none;
	flex-shrink: 0;
}

.detail-tabs .nav-link {
	border: none;
	border-radius: 50px;
	padding: 0.75rem 1.5rem;
	color: #64748B;
	font-weight: 500;
	font-size: 0.875rem;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	align-items: center;
	gap: 0.625rem;
	position: relative;
	background: transparent;
	cursor: pointer;
	white-space: nowrap;
}

.detail-tabs .nav-link:hover {
	color: #1E293B;
	background: rgba(255, 255, 255, 0.6);
}

.detail-tabs .nav-link.active {
	color: #1E293B;
	background: #ffffff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	font-weight: 700;
}

.detail-tabs .nav-link i {
	font-size: 1.125rem;
	transition: transform 0.2s ease;
	line-height: 1;
}

.detail-tabs .nav-link:hover i,
.detail-tabs .nav-link.active i {
	transform: scale(1.1);
}

.detail-tabs .nav-link .badge {
	margin-left: 0.5rem;
	font-size: 0.75rem;
	padding: 0.25rem 0.5rem;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
	color: white;
	font-weight: 700;
	box-shadow: 0 2px 6px rgba(37, 84, 255, 0.3);
}

.detail-tab-content {
	background: #ffffff;
	border: none;
	border-radius: 24px;
	padding: 2.5rem;
	min-height: 420px;
	box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
}

/* Replacement Car Tab Specific Styles */
.replacement-actions {
	margin-bottom: 2rem;
}

.replacement-active-card {
	padding: 1.5rem 1.75rem;
	border-radius: 16px;
	background: #F8FAFC;
	border: 1px solid #E2E8F0;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.replacement-active-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 0.5rem;
}

.btn-assign {
	padding: 0.625rem 1.25rem;
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.9rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.replacement-history-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: #111827;
	margin-bottom: 1.25rem;
}

/* Table Styles - Clean Modern */
.detail-tab-content .table {
	margin-bottom: 0;
	border-collapse: separate;
	border-spacing: 0;
}

.detail-tab-content .table thead th {
	background: #f8fafc;
	border-bottom: 2px solid #e2e8f0;
	padding: 0.875rem 1rem;
	font-weight: 600;
	font-size: 0.875rem;
	color: #475569;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	white-space: nowrap;
}

.detail-tab-content .table tbody td {
	padding: 1rem;
	border-bottom: 1px solid #f1f5f9;
	font-size: 0.9rem;
	color: #111827;
	vertical-align: middle;
}

.detail-tab-content .table tbody tr:last-child td {
	border-bottom: none;
}

.detail-tab-content .table tbody tr:hover {
	background: #f8fafc;
}

.detail-tab-content .table tbody tr:hover td {
	background: #f8fafc;
}

.detail-tab-content .table-responsive {
	border-radius: 12px;
	overflow: hidden;
}

.detail-section {
	animation: fadeIn 0.3s ease;
}

.detail-section .row {
	margin-left: -0.75rem;
	margin-right: -0.75rem;
}

.detail-section .row > [class*="col-"] {
	padding-left: 0.75rem;
	padding-right: 0.75rem;
}

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

/* 4. BİLGİ KARTLARI - Soft UI */
.info-card {
	background: #ffffff;
	border: none;
	border-radius: 24px;
	padding: 2rem;
	box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
	height: 100%;
	transition: all 0.25s ease;
	position: relative;
	display: flex;
	flex-direction: column;
}

.info-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #2554ff 0%, #6b8cff 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.info-card:hover {
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
	transform: translateY(-1px);
}

.info-card:hover::before {
	opacity: 1;
}

.info-card-header {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	margin-bottom: 2rem;
	padding-bottom: 0;
	border-bottom: none;
}

.info-card-header i {
	font-size: 1.375rem;
	color: var(--primary-color);
}

.info-card-header h3 {
	font-size: 1.125rem;
	font-weight: 700;
	color: #1E293B;
	margin: 0;
	line-height: 1.3;
}

/* Detail Modals - Modern Glass */
.modal-content {
	border-radius: 24px;
	border: 1px solid rgba(148, 163, 184, 0.25);
	box-shadow: 
		0 25px 60px rgba(15, 23, 42, 0.3),
		0 0 0 1px rgba(255, 255, 255, 0.9) inset;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(20px) saturate(180%);
	overflow: hidden;
}

.modal-header {
	border-bottom: 1px solid rgba(148, 163, 184, 0.2);
	padding: 1.5rem 2rem;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
}

.modal-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	color: var(--text-primary);
}

.modal-title i {
	color: var(--primary-color);
}

.modal-footer {
	border-top: 1px solid rgba(226, 232, 240, 0.9);
	padding: 1rem 1.5rem;
}

.modal-backdrop.show {
	opacity: 0.4;
}

.info-card-body {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	flex: 1;
}

.info-row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
	padding: 0;
}

.info-label {
	font-weight: 600;
	color: #94A3B8;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	line-height: 1.4;
}

.info-value {
	color: #334155;
	font-weight: 500;
	text-align: left;
	font-size: 1.1rem;
	line-height: 1.6;
	word-break: break-word;
}

.info-value a {
	color: var(--primary-color);
	text-decoration: none;
	transition: color 0.2s ease;
	font-weight: 500;
}

.info-value a:hover {
	color: var(--primary-dark);
	text-decoration: underline;
}

/* ============================================
   MODERN INFO GRID - Klasör Bilgileri Tabı
   ============================================ */

.modern-info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2rem;
	margin-top: 1rem;
}

.info-section {
	background: #ffffff;
	border: none;
	border-radius: 20px;
	padding: 2rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.info-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #3B82F6 0%, #8B5CF6 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.info-section:hover {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.info-section:hover::before {
	opacity: 1;
}

.info-section-full {
	grid-column: 1 / -1;
}

.info-section-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.75rem;
	padding-bottom: 1.25rem;
	border-bottom: 2px solid #F1F5F9;
}

.info-section-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.info-section-icon i {
	font-size: 1.5rem;
	color: #3B82F6;
}

.info-section-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #1E293B;
	margin: 0;
	letter-spacing: -0.01em;
}

.info-items-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.25rem;
}

.info-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.25rem;
	background: #F8FAFC;
	border-radius: 14px;
	border: 1px solid #E2E8F0;
	transition: all 0.2s ease;
	position: relative;
}

.info-item:hover {
	background: #F1F5F9;
	border-color: #CBD5E1;
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.info-item-full {
	grid-column: 1 / -1;
}

.info-item-highlight {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
	border-color: rgba(59, 130, 246, 0.2);
}

.info-item-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.2s ease;
}

.info-item:hover .info-item-icon {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
	transform: scale(1.05);
}

.info-item-icon i {
	font-size: 1.125rem;
	color: #3B82F6;
}

.info-item-content {
	flex: 1;
	min-width: 0;
}

.info-item-label {
	font-size: 0.7rem;
	font-weight: 600;
	color: #94A3B8;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 0.5rem;
	line-height: 1.3;
}

.info-item-value {
	font-size: 1rem;
	font-weight: 600;
	color: #1E293B;
	line-height: 1.5;
	word-break: break-word;
}

.info-item-link {
	color: #3B82F6;
	text-decoration: none;
	transition: all 0.2s ease;
	font-weight: 600;
}

.info-item-link:hover {
	color: #2563EB;
	text-decoration: underline;
}

.info-description-content {
	padding: 1.5rem;
	background: #F8FAFC;
	border-radius: 14px;
	border: 1px solid #E2E8F0;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: #334155;
	white-space: pre-wrap;
}

/* Responsive */
@media (max-width: 768px) {
	.modern-info-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	
	.info-items-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	
	.info-item-full {
		grid-column: 1;
	}
	
	.info-section {
		padding: 1.5rem;
	}
}

/* ============================================
   COMPACT DETAIL CARD - Tek Parça Detay Kartı
   ============================================ */

.detail-card-compact {
	background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
	border-radius: 20px;
	padding: 2rem;
	box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
	color: #ffffff;
	position: relative;
	overflow: hidden;
}

.detail-card-compact::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
	pointer-events: none;
}

.detail-card-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 1.5rem;
	position: relative;
	z-index: 1;
}

.detail-card-plate {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.plate-number {
	font-size: 2rem;
	font-weight: 800;
	color: #ffffff;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.detail-card-badges {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	align-items: center;
}

.badge-cash {
	background: rgba(255, 255, 255, 0.2);
	color: #ffffff;
	padding: 0.375rem 0.875rem;
	border-radius: 50px;
	font-size: 0.75rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-delivered {
	background: rgba(139, 92, 246, 0.9);
	color: #ffffff;
	padding: 0.375rem 0.875rem;
	border-radius: 50px;
	font-size: 0.75rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

.detail-card-compact .status-badge {
	background: rgba(16, 185, 129, 0.9);
	color: #ffffff;
	padding: 0.375rem 0.875rem;
	border-radius: 50px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.detail-card-compact .status-badge.status-onay_bekliyor {
	background: rgba(245, 158, 11, 0.9);
	box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.detail-card-compact .status-badge.status-devam_ediyor {
	background: rgba(59, 130, 246, 0.9);
	box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.detail-card-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 0;
	color: #ffffff;
	position: relative;
	z-index: 1;
}

.detail-card-row i {
	font-size: 1.125rem;
	width: 24px;
	flex-shrink: 0;
	opacity: 0.9;
}

.detail-card-text {
	font-size: 0.9375rem;
	font-weight: 500;
	color: #ffffff;
	flex: 1;
}

.detail-card-link {
	font-size: 0.9375rem;
	font-weight: 500;
	color: #ffffff;
	text-decoration: none;
	opacity: 0.95;
	transition: opacity 0.2s ease;
}

.detail-card-link:hover {
	opacity: 1;
	text-decoration: underline;
}

.detail-card-row-split {
	justify-content: space-between;
}

.detail-card-label {
	font-size: 0.875rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.9);
}

.detail-card-value {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #ffffff;
}

.detail-card-divider {
	height: 1px;
	background: rgba(255, 255, 255, 0.2);
	margin: 1rem 0;
	position: relative;
	z-index: 1;
}

/* 3. TIMER - Glassmorphism Zamanlayıcı */
.timer-controls {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(230, 240, 255, 0.4));
	backdrop-filter: blur(20px);
	border: none;
	border-radius: 24px;
	padding: 3rem 2.5rem;
	box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
	position: relative;
	overflow: hidden;
}

.timer-card {
	text-align: center;
	position: relative;
	z-index: 1;
}

.timer-card h4 {
	font-size: 1rem;
	font-weight: 600;
	color: #64748B;
	margin-bottom: 1.5rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.timer-display {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
	position: relative;
	overflow: visible;
}

.timer-value {
	font-size: 4rem;
	font-weight: 700;
	color: #3B82F6;
	font-family: 'JetBrains Mono', 'Courier New', 'SF Mono', 'Monaco', monospace;
	letter-spacing: 0.1em;
	text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
	position: relative;
	z-index: 1;
	display: inline-block;
	line-height: 1.2;
}

.timer-controls .btn {
	border-radius: 12px;
	border: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 1.75rem;
	font-weight: 600;
	font-size: 0.9rem;
	background: #ffffff;
	color: #1E293B;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	transition: all 0.2s ease;
}

.timer-controls .btn i {
	font-size: 1.125rem;
}

.timer-controls .btn-primary {
	background: #ffffff;
	color: #3B82F6;
}

.timer-controls .btn-warning {
	background: #ffffff;
	color: #F59E0B;
}

.timer-controls .btn-danger {
	background: #ffffff;
	color: #EF4444;
}

.timer-controls .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.stage-times {
	background: #f9fafb;
	border-radius: 20px;
	padding: 1.75rem;
	box-shadow: 0 10px 25px -8px rgba(15, 23, 42, 0.12);
	border: none;
}

.stage-time-card {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(12px) saturate(180%);
	border-radius: 16px;
	padding: 1.5rem;
	text-align: center;
	border: 1px solid rgba(148, 163, 184, 0.2);
	box-shadow: 
		0 4px 16px rgba(15, 23, 42, 0.06),
		0 0 0 1px rgba(255, 255, 255, 0.8) inset;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.stage-time-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, #2554ff 0%, #6b8cff 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.stage-time-card:hover {
	transform: translateY(-6px) scale(1.02);
	box-shadow: 
		0 12px 32px rgba(37, 84, 255, 0.2),
		0 0 0 1px rgba(255, 255, 255, 0.9) inset;
	background: rgba(255, 255, 255, 0.85);
}

.stage-time-card:hover::before {
	opacity: 1;
}

.stage-time-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text-secondary);
	margin-bottom: 0.5rem;
}

.stage-time-value {
	font-size: 1.75rem;
	font-weight: 800;
	color: var(--primary-color);
	font-family: 'Courier New', monospace;
}

/* Photo Grid */
.photo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1.5rem;
	margin-top: 1rem;
}

.photo-item {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 1;
	box-shadow: 
		0 4px 16px rgba(15, 23, 42, 0.12),
		0 0 0 1px rgba(255, 255, 255, 0.1) inset;
	border: 1px solid rgba(148, 163, 184, 0.2);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	background: rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(8px);
}

.photo-item:hover {
	transform: scale(1.08) translateY(-4px);
	box-shadow: 
		0 12px 32px rgba(15, 23, 42, 0.25),
		0 0 0 1px rgba(255, 255, 255, 0.2) inset;
	z-index: 10;
}

.photo-thumbnail {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.photo-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 1rem;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.photo-item:hover .photo-overlay {
	opacity: 1;
}

.photo-overlay-top {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
}

.photo-overlay-bottom {
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
}

.photo-status-badge {
	padding: 0.375rem 0.75rem;
	border-radius: 8px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	align-self: flex-start;
}

.photo-status-badge.status-beklemede {
	background: rgba(107, 114, 128, 0.9);
	color: white;
}

.photo-status-badge.status-incelendi {
	background: rgba(59, 130, 246, 0.9);
	color: white;
}

.photo-status-badge.status-onayli {
	background: rgba(16, 185, 129, 0.9);
	color: white;
}

.photo-status-badge.status-dikkat_gerekiyor {
	background: rgba(245, 158, 11, 0.9);
	color: white;
}

.photo-actions {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.btn-photo-action {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	border: none;
	background: rgba(255, 255, 255, 0.9);
	color: var(--text-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 0.875rem;
}

.btn-photo-action:hover {
	background: white;
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-photo-action.btn-photo-delete {
	background: rgba(239, 68, 68, 0.9);
	color: white;
}

.btn-photo-action.btn-photo-delete:hover {
	background: #dc2626;
}

.photo-stage-section {
	margin-bottom: 2rem;
}

.photo-stage-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--text-primary);
	display: flex;
	align-items: center;
}

.photos-content {
	padding: 0;
}

/* Photo Preview */
.photo-preview-container {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000;
	min-height: 70vh;
}

.photo-preview-img {
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
}

/* Invoice Type Cards */
.invoice-types {
	margin-bottom: 2rem;
}

.invoice-type-card {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(12px) saturate(180%);
	border-radius: 16px;
	padding: 1.75rem;
	text-align: center;
	border: 1px solid rgba(148, 163, 184, 0.2);
	box-shadow: 
		0 4px 16px rgba(15, 23, 42, 0.06),
		0 0 0 1px rgba(255, 255, 255, 0.8) inset;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.invoice-type-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, #2554ff 0%, #6b8cff 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.invoice-type-card:hover {
	transform: translateY(-6px) scale(1.02);
	box-shadow: 
		0 12px 32px rgba(37, 84, 255, 0.2),
		0 0 0 1px rgba(255, 255, 255, 0.9) inset;
	background: rgba(255, 255, 255, 0.85);
}

.invoice-type-card:hover::before {
	opacity: 1;
}

.invoice-type-card h5 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-secondary);
	margin-bottom: 0.75rem;
}

.invoice-count {
	font-size: 2rem;
	font-weight: 800;
	color: var(--primary-color);
}

/* Status Count Cards */
.photo-status-distribution {
	background: rgba(255, 255, 255, 0.75);
	backdrop-filter: blur(16px) saturate(180%);
	border-radius: 20px;
	padding: 2rem;
	box-shadow: 
		0 8px 32px rgba(15, 23, 42, 0.08),
		0 0 0 1px rgba(255, 255, 255, 0.8) inset;
	border: 1px solid rgba(148, 163, 184, 0.18);
	margin-bottom: 2rem;
}

.status-count-card {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(12px) saturate(180%);
	border-radius: 16px;
	padding: 1.5rem;
	text-align: center;
	border: 1px solid rgba(148, 163, 184, 0.2);
	box-shadow: 
		0 4px 16px rgba(15, 23, 42, 0.06),
		0 0 0 1px rgba(255, 255, 255, 0.8) inset;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.status-count-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, #2554ff 0%, #6b8cff 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.status-count-card:hover {
	transform: translateY(-6px) scale(1.02);
	box-shadow: 
		0 12px 32px rgba(37, 84, 255, 0.2),
		0 0 0 1px rgba(255, 255, 255, 0.9) inset;
	background: rgba(255, 255, 255, 0.85);
}

.status-count-card:hover::before {
	opacity: 1;
}

.status-count-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text-secondary);
	margin-bottom: 0.5rem;
}

.status-count-value {
	font-size: 2rem;
	font-weight: 800;
	color: var(--primary-color);
}

/* Work History Table */
.work-history {
	background: #f9fafb;
	border-radius: 20px;
	padding: 1.75rem;
	box-shadow: 0 10px 25px -8px rgba(15, 23, 42, 0.12);
	border: none;
}

.work-history table {
	margin: 0;
}

.work-history table thead {
	background: rgba(37, 84, 255, 0.08);
	backdrop-filter: blur(8px);
}

.work-history table thead th {
	border: none;
	padding: 1rem;
	font-weight: 700;
	color: var(--text-primary);
	font-size: 0.95rem;
}

.work-history table tbody td {
	padding: 1rem;
	border-bottom: 1px solid rgba(30, 58, 138, 0.1);
	vertical-align: middle;
}

.work-history table tbody tr:hover {
	background: rgba(30, 58, 138, 0.03);
}

/* Offcanvas Styles - Flat White Background */
.offcanvas {
	background-color: #ffffff;
	border: 1px solid rgba(148, 163, 184, 0.35);
	box-shadow:
		-18px 0 40px rgba(15, 23, 42, 0.35),
		0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.offcanvas.offcanvas-end {
	border-radius: 24px 0 0 24px;
}

.offcanvas.offcanvas-start {
	border-radius: 0 24px 24px 0;
}

.offcanvas-header {
	border-bottom: 1px solid rgba(226, 232, 240, 0.9);
	padding: 1.75rem 2rem;
	background: rgba(255, 255, 255, 0.98);

}

.offcanvas-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-primary);
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.offcanvas-title i {
	color: var(--primary-color);
	font-size: 1.8rem;
}

.btn-close {
	background-color: transparent;
	border-radius: 999px;
	border: none;
	width: 32px;
	height: 32px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--text-secondary);
	opacity: 0.8;
	box-shadow: none;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.btn-close:hover {
	opacity: 1;
	background-color: rgba(148, 163, 184, 0.15);
	color: var(--text-primary);
}

.offcanvas-body {
	padding: 2rem;
	overflow-y: auto;
}

/* Offcanvas form card */
.offcanvas-body {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	background-color: #ffffff;
}

.offcanvas-form-card {
	width: 100%;
	padding: 1.75rem;
}

.offcanvas .form-section {
	margin-bottom: 1.5rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.offcanvas .form-section:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.offcanvas .form-section-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.offcanvas .form-section-header i {
	font-size: 1.5rem;
	color: var(--primary-color);
}

.offcanvas .form-section-header h3 {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--text-primary);
	margin: 0;
}

.offcanvas .form-label {
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 0.35rem;
	font-size: 0.95rem;
}

.offcanvas .form-control,
.offcanvas .form-select {
	border: 2px solid var(--border-color);
	border-radius: 12px;
	padding: 0.75rem 1rem;
	font-size: 0.95rem;
	transition: all 0.2s ease;
}

.offcanvas .form-control:focus,
.offcanvas .form-select:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
	outline: none;
}

.offcanvas .form-control.is-invalid,
.offcanvas .form-select.is-invalid {
	border-color: #dc2626;
}

.offcanvas .invalid-feedback {
	display: block;
	color: #dc2626;
	font-size: 0.85rem;
	margin-top: 0.25rem;
}

.offcanvas .form-check-input {
	width: 3rem;
	height: 1.5rem;
	cursor: pointer;
}

.offcanvas .form-check-input:checked {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.form-switch{
	margin-top: 2.5rem !important;
}

.form-switch label{
	margin-left: 5px;
}

.offcanvas .form-actions {
	display: flex;
	justify-content: flex-end;
	gap: 0.75rem;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.offcanvas .form-actions .btn {
	padding: 0.75rem 1.75rem;
	border-radius: 12px;
	font-weight: 600;
	font-size: 0.95rem;
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.offcanvas .form-actions .btn-primary {
	background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
	color: white;
}

.offcanvas .form-actions .btn-primary:hover {
	background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.offcanvas .form-actions .btn-secondary {
	background: rgba(107, 114, 128, 0.08);
	color: var(--text-secondary);
	border: 1px solid rgba(148, 163, 184, 0.6);
}

.offcanvas .form-actions .btn-secondary:hover {
	background: rgba(107, 114, 128, 0.16);
	color: var(--text-primary);
}

@media (max-width: 768px) {
	.offcanvas {
		width: 100% !important;
		border-radius: 24px 24px 0 0;
		box-shadow:
			0 -18px 40px rgba(15, 23, 42, 0.35),
			0 0 0 1px rgba(255, 255, 255, 0.7) inset;
	}
	
	.offcanvas-body {
		padding: 1.5rem;
	}
}

/* Responsive */
@media (max-width: 768px) {
	.page-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.page-header-actions {
		width: 100%;
		flex-direction: column;
	}

	.btn-back,
	.btn-edit {
		width: 100%;
		justify-content: center;
	}

	.detail-tabs .nav-link {
		padding: 0.75rem 1rem;
		font-size: 0.875rem;
	}

	.detail-tab-content {
		padding: 1rem;
	}

	.photo-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 1rem;
	}

	.timer-value {
		font-size: 2rem;
	}

	.info-row {
		flex-direction: column;
		gap: 0.25rem;
	}

	.info-label {
		min-width: auto;
	}

	.info-value {
		text-align: left;
	}
	
	.dashboard-container {
		padding: 1rem;
	}
	
	.folder-cards {
		grid-template-columns: 1fr;
	}
}

/* ============================================
   ANALYTICS DASHBOARD CARDS
   ============================================ */

.stats-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(250px, 1fr));
	gap: 1.5rem;
}

.stat-card {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 1.5rem 1.75rem;
}

.stat-icon {
	width: 64px;
	height: 64px;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 2.25rem;
	box-shadow: 0 10px 20px rgba(15, 23, 42, 0.22);
	background: linear-gradient(135deg, #1f2937, #111827);
}

.stat-content {
	flex: 1;
}

.stat-value {
	font-size: 2.5rem;
	font-weight: 900;
	color: var(--text-primary);
	line-height: 1;
	margin-bottom: 0.5rem;
}

.stat-label {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-secondary);
}

/* Kurumsal renk varyasyonları - stat kartları */
.stat-card-folders .stat-icon {
	background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.stat-card-reservations .stat-icon {
	background: linear-gradient(135deg, #059669, var(--accent-color));
}

.stat-card-spare-parts .stat-icon {
	background: linear-gradient(135deg, #b45309, var(--secondary-color));
}

.stat-card-surveys .stat-icon {
	background: linear-gradient(135deg, #4c1d95, #7c3aed);
}

.chart-card {
	margin-bottom: 0;
}

.chart-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
}

.chart-title i {
	color: var(--primary-color);
}

.status-distribution {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.status-item {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.status-name {
	font-weight: 600;
	color: var(--text-primary);
	min-width: 150px;
	font-size: 0.95rem;
}

.status-bar {
	flex: 1;
	height: 24px;
	background: rgba(30, 58, 138, 0.08);
	border-radius: 12px;
	overflow: hidden;
	position: relative;
}

.status-bar-fill {
	height: 100%;
	background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
	border-radius: 12px;
	transition: width 0.3s ease;
}

.status-count {
	font-weight: 700;
	color: var(--text-primary);
	min-width: 50px;
	text-align: right;
}

.satisfaction-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
}

.satisfaction-item {
	text-align: center;
}

.satisfaction-label {
	font-weight: 600;
	color: var(--text-secondary);
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
}

.satisfaction-value {
	font-size: 2rem;
	font-weight: 900;
	color: var(--primary-color);
	margin-bottom: 0.75rem;
}

.satisfaction-bar {
	height: 12px;
	background: rgba(30, 58, 138, 0.08);
	border-radius: 6px;
	overflow: hidden;
}

.satisfaction-bar-fill {
	height: 100%;
	background: linear-gradient(135deg, var(--secondary-color), #d97706);
	border-radius: 6px;
	transition: width 0.3s ease;
}

/* ============================================
   MODERN CAR FOLDER DETAIL PAGE
   ============================================ */

.car-folder-detail-page {
	padding: 0;
	max-width: 100%;
}

/* Modern Blue Header */
.detail-header-modern {
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
	border-radius: 24px;
	padding: 2.5rem 2rem;
	color: white;
	box-shadow: 0 10px 40px rgba(37, 99, 235, 0.3);
	position: relative;
	overflow: hidden;
}

.detail-header-modern::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
	pointer-events: none;
}

.detail-header-content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 2rem;
	position: relative;
	z-index: 1;
}

.detail-header-main {
	flex: 1;
}

.detail-header-plate-section {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 0.75rem;
	flex-wrap: wrap;
}

.detail-header-plate {
	font-size: 2.5rem;
	font-weight: 800;
	color: white;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 0;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.detail-header-status {
	padding: 0.5rem 1rem;
	border-radius: 50px;
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	background: rgba(16, 185, 129, 0.9);
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.detail-header-status.status-tamamlandi {
	background: rgba(139, 92, 246, 0.9);
	box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

.detail-header-status.status-devam_ediyor {
	background: rgba(59, 130, 246, 0.9);
	box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.detail-header-model {
	font-size: 1.5rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.95);
	margin-bottom: 1.5rem;
}

.detail-header-info-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.detail-header-info-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.9);
}

.detail-header-info-item i {
	font-size: 1.125rem;
	opacity: 0.9;
}

.detail-header-actions {
	display: flex;
	gap: 1rem;
	flex-shrink: 0;
}

.btn-header-action {
	padding: 0.75rem 1.5rem;
	border-radius: 12px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	color: white;
	font-weight: 600;
	font-size: 0.9375rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transition: all 0.3s ease;
	cursor: pointer;
}

.btn-header-action:hover {
	background: rgba(255, 255, 255, 0.25);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-header-action i {
	font-size: 1.125rem;
}

/* Main Content Grid */
.detail-content-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	padding: 2rem 0;
	/* max-width: 1400px;
	margin: 0 auto; */
}

.detail-content-left,
.detail-content-right {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

/* Modern Detail Card (dashboard-card tabanını kullanır) */
.detail-card-modern {
	padding: 1.5rem;
}

.detail-card-header-modern {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid #f1f5f9;
}

.detail-card-title-section {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.detail-card-icon {
	font-size: 1.5rem;
	color: var(--primary-color);
}

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

.btn-icon-action {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	border: none;
	background: var(--primary-color);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-icon-action:hover {
	background: var(--primary-dark);
	transform: scale(1.1);
}

.btn-icon-action i {
	font-size: 1.125rem;
}

/* Working Time Display */
.working-time-display {
	text-align: center;
}

.working-time-main {
	margin-bottom: 1.5rem;
}

.working-time-value {
	font-size: 4rem;
	font-weight: 800;
	color: var(--primary-color);
	font-family: 'JetBrains Mono', 'Courier New', monospace;
	letter-spacing: 0.1em;
	line-height: 1.2;
}

.working-time-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-bottom: 1rem;
}

.working-time-stat-item {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1rem;
	background: #f8fafc;
	border-radius: 12px;
}

.stat-label {
	font-size: 0.875rem;
	color: var(--text-secondary);
	font-weight: 500;
}

.stat-value {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-primary);
	font-family: 'JetBrains Mono', monospace;
}

.working-time-review {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem;
	background: #f1f5f9;
	border-radius: 10px;
	font-size: 0.875rem;
	color: var(--text-secondary);
}

.working-time-review i {
	font-size: 1rem;
}

/* Photo Status Grid */
.photo-status-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

.photo-status-card {
	padding: 1.25rem;
	border-radius: 16px;
	text-align: center;
	transition: all 0.3s ease;
	cursor: pointer;
}

.photo-status-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.photo-status-card.status-boyamada {
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
	color: white;
}

.photo-status-card.status-onaylandi {
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	color: white;
}

.photo-status-card.status-beklemede {
	background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
	color: white;
}

.photo-status-card.status-dikkat {
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
	color: white;
}

.photo-status-label {
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	opacity: 0.9;
}

.photo-status-count {
	font-size: 2rem;
	font-weight: 800;
}

/* Replacement Cars List */
.replacement-cars-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.replacement-car-card {
	padding: 1.25rem;
	border-radius: 16px;
	border: 2px solid #e2e8f0;
	background: #f8fafc;
	transition: all 0.3s ease;
}

.replacement-car-card:hover {
	border-color: var(--primary-color);
	box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
	transform: translateY(-2px);
}

.replacement-car-card.status-active {
	border-color: var(--accent-color);
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
}

.replacement-car-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.75rem;
}

.replacement-car-plate {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--text-primary);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.replacement-car-status {
	padding: 0.375rem 0.875rem;
	border-radius: 50px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
}

.replacement-car-card.status-active .replacement-car-status {
	background: var(--accent-color);
	color: white;
}

.replacement-car-card.status-returned .replacement-car-status {
	background: #6b7280;
	color: white;
}

.replacement-car-model {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-secondary);
	margin-bottom: 1rem;
}

.replacement-car-dates {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.replacement-car-date-item {
	display: flex;
	justify-content: space-between;
	font-size: 0.875rem;
}

.date-label {
	color: var(--text-secondary);
	font-weight: 500;
}

.date-value {
	color: var(--text-primary);
	font-weight: 600;
}

.replacement-car-mileage {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.mileage-item {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	flex: 1;
}

.mileage-label {
	font-size: 0.75rem;
	color: var(--text-secondary);
	font-weight: 500;
}

.mileage-value {
	font-size: 0.9375rem;
	color: var(--text-primary);
	font-weight: 700;
}

.mileage-diff {
	font-size: 0.75rem;
	color: var(--text-secondary);
	font-weight: 500;
}

/* Replacement Car Notes Section */
.replacement-notes-section {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 1rem;
}

.replacement-notes-card {
	padding: 1.25rem;
	background: #ffffff;
	border-radius: 14px;
	border: 1.5px solid #E2E8F0;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.replacement-notes-card:hover {
	border-color: #CBD5E1;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.replacement-notes-given {
	border-left: 4px solid #3B82F6;
}

.replacement-notes-return {
	border-left: 4px solid #F59E0B;
}

.replacement-notes-photos {
	border-left: 4px solid #10B981;
}

.replacement-notes-header {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	margin-bottom: 1rem;
	padding-bottom: 0.875rem;
	border-bottom: 1px solid #F1F5F9;
}

.replacement-notes-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.replacement-notes-icon i {
	font-size: 1.25rem;
	color: #3B82F6;
}

.replacement-notes-icon.return-icon {
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
}

.replacement-notes-icon.return-icon i {
	color: #F59E0B;
}

.replacement-notes-icon.photos-icon {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
}

.replacement-notes-icon.photos-icon i {
	color: #10B981;
}

.replacement-notes-title {
	flex: 1;
}

.replacement-notes-title h5 {
	font-size: 0.9375rem;
	font-weight: 700;
	color: #1E293B;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.photo-count-badge {
	padding: 0.25rem 0.625rem;
	border-radius: 12px;
	background: #E0F2FE;
	color: #0369A1;
	font-size: 0.75rem;
	font-weight: 600;
}

.replacement-notes-content {
	font-size: 0.9375rem; 
	color: #334155; 
}

.replacement-photos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	gap: 0.75rem;
}

.replacement-return-photo-item {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 1;
	background: #F8FAFC;
	border: 2px solid #E2E8F0;
	transition: all 0.3s ease;
	cursor: pointer;
	display: block;
}

.replacement-return-photo-item:hover {
	border-color: #3B82F6;
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.replacement-photo-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.replacement-photo-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.replacement-return-photo-item:hover .replacement-photo-overlay {
	opacity: 1;
}

.replacement-photo-overlay i {
	font-size: 1.5rem;
	color: #ffffff;
}

/* Invoices List */
.invoices-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.invoice-item {
	padding: 1.25rem;
	border-radius: 16px;
	border: 2px solid #e2e8f0;
	background: #f8fafc;
	transition: all 0.3s ease;
}

.invoice-item:hover {
	border-color: var(--primary-color);
	box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
}

.invoice-item-main {
	margin-bottom: 1rem;
}

.invoice-item-type {
	margin-bottom: 0.5rem;
}

.invoice-type-badge {
	padding: 0.375rem 0.875rem;
	border-radius: 50px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
}

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

.invoice-type-badge.type-ars_faturasi {
	background: var(--accent-color);
	color: white;
}

.invoice-type-badge.type-hesaplama {
	background: #6b7280;
	color: white;
}

.invoice-item-date {
	font-size: 0.875rem;
	color: var(--text-secondary);
	margin-bottom: 0.5rem;
}

.invoice-item-filename {
	font-size: 0.9375rem;
	color: var(--text-primary);
	font-weight: 600;
	margin-bottom: 0.5rem;
	word-break: break-all;
}

.invoice-item-amount {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--text-primary);
}

.invoice-item-actions {
	display: flex;
	gap: 0.75rem;
}

.btn-icon-small {
	padding: 0.5rem 1rem;
	border-radius: 10px;
	border: none;
	background: var(--primary-color);
	color: white;
	font-size: 0.875rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-icon-small:hover {
	background: var(--primary-dark);
	transform: translateY(-2px);
}

.btn-icon-small.btn-danger {
	background: #ef4444;
}

.btn-icon-small.btn-danger:hover {
	background: #dc2626;
}

/* Files List */
.files-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.file-category-item {
	padding: 1rem;
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}

.file-category-name {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--text-primary);
}

/* Empty State */
.empty-state {
	text-align: center;
	padding: 3rem 1rem;
	color: var(--text-secondary);
}

.empty-state i {
	font-size: 3rem;
	margin-bottom: 1rem;
	opacity: 0.5;
}

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

/* Damage Documentation Section */
.damage-documentation-section {
	margin-top: 2rem;
	padding: 2rem;
	background: white;
	border-radius: 20px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.damage-doc-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
	gap: 1rem;
}

.damage-doc-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-primary);
	margin: 0;
}

.damage-doc-search {
	position: relative;
	flex: 1;
	min-width: 250px;
	max-width: 400px;
}

.damage-doc-search .search-input {
	padding-right: 3rem;
	border-radius: 12px;
	border: 2px solid #e2e8f0;
}

.damage-doc-search .search-input:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.search-dropdown-icon {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-secondary);
	pointer-events: none;
}

.damage-doc-vehicle-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.damage-doc-vehicle-item {
	padding: 1.25rem;
	border-radius: 16px;
	border: 2px solid #e2e8f0;
	background: #f8fafc;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	transition: all 0.3s ease;
}

.damage-doc-vehicle-item:hover {
	border-color: var(--primary-color);
	box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
}

.vehicle-item-plate {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--text-primary);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.vehicle-item-model {
	font-size: 1rem;
	color: var(--text-secondary);
	font-weight: 500;
}

.vehicle-item-status {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.status-badge-modern {
	padding: 0.375rem 0.875rem;
	border-radius: 50px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
}

.photo-count {
	font-size: 0.875rem;
	color: var(--text-secondary);
}

.damage-doc-summary {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.summary-item {
	padding: 0.75rem 1.25rem;
	border-radius: 12px;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
}

.summary-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text-primary);
}

/* Floating Camera Button */
.btn-floating-camera {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
	color: white;
	border: none;
	box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 1000;
}

.btn-floating-camera:hover {
	transform: scale(1.1);
	box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5);
}

.btn-floating-camera i {
	font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
	.detail-content-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.detail-header-modern {
		padding: 1.5rem 1rem;
		border-radius: 0 0 16px 16px;
	}

	.detail-header-content {
		flex-direction: column;
		gap: 1.5rem;
	}

	.detail-header-plate {
		font-size: 2rem;
	}

	.detail-header-actions {
		width: 100%;
		flex-direction: column;
	}

	.btn-header-action {
		width: 100%;
		justify-content: center;
	}

	.detail-content-grid {
		padding: 1rem;
		gap: 1rem;
	}

	.detail-card-modern {
		padding: 1.25rem;
	}

	.working-time-value {
		font-size: 3rem;
	}

	.working-time-stats {
		grid-template-columns: 1fr;
	}

	.photo-status-grid {
		grid-template-columns: 1fr;
	}

	.damage-doc-header {
		flex-direction: column;
		align-items: stretch;
	}

	.damage-doc-search {
		max-width: 100%;
	}

	.btn-floating-camera {
		bottom: 1rem;
		right: 1rem;
		width: 56px;
		height: 56px;
	}

	.btn-floating-camera i {
		font-size: 1.25rem;
	}
}

/* ============================================
   DAMAGE MAP - Hasarlı Alan İşaretleme
   ============================================ */

.damage-map-container {
	margin-top: 1.5rem;
}

.damage-map-instruction {
	font-size: 0.9375rem;
	color: var(--text-secondary);
	margin-bottom: 1rem;
	text-align: center;
}

.damage-map-wrapper {
	background: #f8fafc;
	border-radius: 16px;
	padding: 1.5rem;
	border: 2px solid #e2e8f0;
}

.damage-map-view {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	background: white;
	border-radius: 12px;
	overflow: hidden;
	cursor: crosshair;
}

.damage-map-image {
	width: 100%;
	height: auto;
	display: block;
	user-select: none;
	pointer-events: auto;
	cursor: crosshair;
}

.damage-markers-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 10;
	overflow: visible;
}

.damage-marker {
	position: absolute;
	width: 32px;
	height: 32px;
	background: #ef4444;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.875rem;
	border: 2px solid white;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	transform: translate(-50%, -50%);
	pointer-events: auto;
	user-select: none;
	cursor: pointer;
	transition: all 0.2s ease;
}

.damage-marker:hover {
	background: #dc2626;
	transform: translate(-50%, -50%) scale(1.15);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.damage-map-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #e2e8f0;
}

.damage-marker-count {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text-primary);
}

.damage-marker-count span {
	color: var(--primary-color);
	font-weight: 700;
}

@media (max-width: 768px) {
	.damage-map-wrapper {
		padding: 1rem;
	}
	
	.damage-map-actions {
		flex-direction: column;
		gap: 0.75rem;
		align-items: stretch;
	}
	
	.damage-map-actions .btn {
		width: 100%;
	}
}

/* Timer Offcanvas Styles */
.timer-display-section {
	padding: 1.5rem;
	background: #f8fafc;
	border-radius: 16px;
	margin-bottom: 1.5rem;
}

.timer-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.timer-display .timer-value {
	font-size: 3rem;
	font-weight: 800;
	color: var(--primary-color);
	font-family: 'JetBrains Mono', 'Courier New', monospace;
	letter-spacing: 0.1em;
	line-height: 1.2;
}

.timer-controls-buttons {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
}

.timer-controls-buttons .btn {
	padding: 0.75rem 1.5rem;
	border-radius: 12px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.divider {
	height: 1px;
	background: #e2e8f0;
	margin: 1.5rem 0;
}

.stage-times-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

.stage-time-item {
	padding: 1rem;
	background: #f8fafc;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	text-align: center;
}

.stage-time-label-compact {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text-secondary);
	margin-bottom: 0.5rem;
}

.stage-time-value-compact {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary-color);
	font-family: 'JetBrains Mono', monospace;
}

.work-history-item {
	background: white;
	border: 1px solid #e2e8f0 !important;
	transition: all 0.3s ease;
}

.work-history-item:hover {
	border-color: var(--primary-color) !important;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

/* ============================================
   MOBİL RESPONSIVE DÜZENLEMELERİ
   ============================================ */
   @media (max-width: 932px) {
	/* ÖZEL RESPONSIVE DÜZENLEMELERİ */

	#mainWrapper{
		margin-left: 0 !important;
	}
	.main-content {
		padding: 1rem;
	}

	#sidebarCollapse{
		display: none !important;
	}
	#sidebarToggleMobile {
		background: #2E6BED;
		border-radius: 10px;
		border: none;
		padding: 0.30rem 0.60rem;
		color: white;
	}

	.topbar-user-avatar {
		width: 30px;
		height: 30px;
	} 

	.sidebar-header { 
		padding: 1.5rem 1rem; 
	}

	#sidebarToggle {
		border-radius: 50%;
		background: #6a8bd7a1;
		padding: 0.4rem 0.7rem;
		font-size: 15px;
	}

	/* ÖZEL RESPONSIVE DÜZENLEMELERİ */
}

@media (max-width: 768px) {

	/* ÖZEL RESPONSIVE DÜZENLEMELERİ */

	#mainWrapper{
		margin-left: 0 !important;
	}
	.main-content {
		padding: 1rem;
	}

	#sidebarCollapse{
		display: none !important;
	}
	#sidebarToggleMobile {
		background: #2E6BED;
		border-radius: 10px;
		border: none;
		padding: 0.30rem 0.60rem;
		color: white;
	}

	.topbar-user-avatar {
		width: 30px;
		height: 30px;
	} 

	.sidebar-header { 
		padding: 1.5rem 1rem; 
	}

	#sidebarToggle {
		border-radius: 50%;
		background: #6a8bd7a1;
		padding: 0.4rem 0.7rem;
		font-size: 15px;
	}

	/* ÖZEL RESPONSIVE DÜZENLEMELERİ */



	/* Dashboard Container */
	.dashboard-container {
		padding: 1rem;
	}

	/* Topbar */
	.topbar {
		left: 0;
		padding: 0 1rem;
		height: 60px;
	}

	.topbar-title {
		font-size: 1.125rem;
		margin-left: 0.5rem;
	}

	.topbar-actions {
		gap: 0.5rem;
	}

	/* Search Container */
	.search-container {
		margin-bottom: 1rem;
	}

	.search-input-group {
		flex-direction: column;
		gap: 0.5rem;
	}

	.search-input-group .form-control {
		width: 100%;
		padding: 0.75rem 1rem 0.75rem 2.75rem;
		font-size: 0.9375rem;
	}

	.search-btn {
		width: 100%;
		justify-content: center;
		padding: 0.75rem 1.25rem;
	}

	/* Status Filters */
	.status-filters {
		margin-bottom: 1.5rem;
	}

	.filter-buttons {
		gap: 0.5rem;
		width: 100%;
		overflow-x: auto;
		padding-bottom: 0.5rem;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.filter-buttons::-webkit-scrollbar {
		display: none;
	}

	.filter-btn {
		padding: 0.5rem 1rem;
		font-size: 0.8125rem;
		white-space: nowrap;
		flex-shrink: 0;
	}

	.filter-btn .badge {
		font-size: 0.75rem;
		padding: 0.125rem 0.375rem;
	}

	/* Action Buttons */
	.action-buttons {
		flex-direction: column;
		gap: 0.75rem;
		margin-bottom: 1.5rem;
	}

	.action-btn {
		width: 100%;
		justify-content: center;
		padding: 0.75rem 1.5rem;
		font-size: 0.9375rem;
	}

	/* Folders Grid */
	.folders-grid,
	.folder-cards {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	/* Folder Card */
	.folder-card {
		padding: 1.25rem 1rem;
		border-radius: 16px;
	}

	.folder-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
		margin-bottom: 1rem;
	}

	.folder-title {
		font-size: 1.125rem;
		width: 100%;
	}

	.folder-status-badges {
		width: 100%;
		justify-content: flex-start;
		gap: 0.5rem;
	}

	.status-badge {
		padding: 0.3125rem 0.75rem;
		font-size: 0.6875rem;
		gap: 0.25rem;
	}

	.status-badge i {
		font-size: 0.75rem;
	}

	/* Folder Info */
	.folder-info {
		gap: 0.625rem;
		margin-bottom: 0.75rem;
	}

	.folder-car,
	.folder-customer,
	.folder-delivery-date {
		font-size: 0.875rem;
		gap: 0.625rem;
	}

	.folder-car i,
	.folder-customer i,
	.folder-delivery-date i {
		font-size: 0.9375rem;
		width: 18px;
	}

	/* Overdue Badge - Mobil */
	.overdue-badge {
		padding: 0.25rem 0.625rem;
		font-size: 0.75rem;
		gap: 0.25rem;
		margin-left: 0.375rem;
		border-radius: 6px;
	}

	.overdue-badge i {
		font-size: 0.8125rem;
	}

	.folder-delivery-date {
		flex-wrap: wrap;
		align-items: center;
	}

	.folder-delivery-date strong {
		margin-right: 0.5rem;
	}

	/* Folder Meta Info */
	.folder-meta-info {
		flex-direction: column;
		gap: 0.75rem;
		padding: 0.75rem 0;
		border-top: 1px solid var(--border-color);
		border-bottom: 1px solid var(--border-color);
		margin-bottom: 0.75rem;
	}

	.meta-item {
		font-size: 0.8125rem;
		gap: 0.5rem;
	}

	.meta-item i {
		font-size: 0.9375rem;
	}

	/* Folder Actions */
	.folder-actions {
		gap: 0.625rem;
	}

	.folder-action,
	.folder-action-edit {
		padding: 0.625rem 1.25rem;
		font-size: 0.875rem;
		border-radius: 10px;
		gap: 0.5rem;
	}

	.folder-action i,
	.folder-action-edit i {
		font-size: 1rem;
	}

	/* Info Badge */
	.info-badge {
		padding: 0.25rem 0.5rem;
		font-size: 0.6875rem;
		gap: 0.25rem;
	}

	.info-badge i {
		font-size: 0.75rem;
	}

	/* Stats Grid */
	.stats-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.stat-card {
		padding: 1.25rem 1rem;
		gap: 1rem;
	}

	.stat-icon {
		width: 56px;
		height: 56px;
		font-size: 1.875rem;
	}

	.stat-value {
		font-size: 2rem;
	}

	.stat-label {
		font-size: 0.9375rem;
	}

	/* Page Header */
	.page-header {
		padding: 1.5rem 1rem;
		margin-bottom: 1.5rem;
		border-radius: 16px;
	}

	.page-header-content h1 {
		font-size: 1.75rem;
		gap: 0.75rem;
	}

	.page-header-icon {
		font-size: 2rem;
	}

	.page-header-subtitle {
		font-size: 0.9375rem;
	}

	.page-header-actions {
		width: 100%;
		flex-direction: column;
		gap: 0.75rem;
	}

	.btn-back,
	.btn-edit {
		width: 100%;
		justify-content: center;
		padding: 0.625rem 1rem;
		font-size: 0.875rem;
	}
}

@media (max-width: 480px) {
 

	/* Daha küçük ekranlar için ek düzenlemeler */
	.dashboard-container {
		padding: 0.75rem;
	}

	.folder-card {
		padding: 1rem 0.875rem;
	}

	.folder-title {
		font-size: 1rem;
	}

	.status-badge {
		padding: 0.25rem 0.625rem;
		font-size: 0.625rem;
	}

	.filter-btn {
		padding: 0.4375rem 0.875rem;
		font-size: 0.75rem;
	}

	.action-btn {
		padding: 0.625rem 1.25rem;
		font-size: 0.875rem;
	}

	.overdue-badge {
		padding: 0.1875rem 0.5rem;
		font-size: 0.6875rem;
	}

	.page-header-content h1 {
		font-size: 1.5rem;
	}

	.stat-value {
		font-size: 1.75rem;
	}
}

