/**********************************************************************
 * styles.css
 *
 * Copyright Uli Grossek 2026
 * http://www.ul90.com
 *
 * Implemented by Anthropic Claude
 * ----------------------------------------------------------------------
 * @author ul90
 **********************************************************************/

/** @file styles.css  Futuristic cyberpunk theme for customer app prototype */

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

:root {
	--primary: #00f0ff;
	--primary-dark: #00c4cc;
	--primary-light: rgba(0, 240, 255, 0.15);
	--primary-glow: rgba(0, 240, 255, 0.4);
	--secondary: #ff00aa;
	--secondary-light: rgba(255, 0, 170, 0.15);
	--secondary-glow: rgba(255, 0, 170, 0.4);
	--accent: #a855f7;
	--accent-light: rgba(168, 85, 247, 0.15);
	--success: #00ff88;
	--success-light: rgba(0, 255, 136, 0.15);
	--success-glow: rgba(0, 255, 136, 0.4);
	--warning: #ffaa00;
	--warning-light: rgba(255, 170, 0, 0.15);
	--danger: #ff3366;
	--danger-light: rgba(255, 51, 102, 0.15);
	--bg-dark: #0a0a0f;
	--bg-card: rgba(20, 20, 35, 0.8);
	--bg-elevated: rgba(30, 30, 50, 0.9);
	--bg-glass: rgba(255, 255, 255, 0.03);
	--border-color: rgba(0, 240, 255, 0.2);
	--border-subtle: rgba(255, 255, 255, 0.08);
	--text-primary: #ffffff;
	--text-secondary: rgba(255, 255, 255, 0.7);
	--text-muted: rgba(255, 255, 255, 0.4);
	--radius: 4px;
	--radius-lg: 8px;
	--glass-blur: blur(20px);
	--glow-sm: 0 0 10px;
	--glow-md: 0 0 20px;
	--glow-lg: 0 0 40px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Rajdhani', sans-serif;
	background: var(--bg-dark);
	color: var(--text-primary);
	line-height: 1.5;
	min-height: 100vh;
	background-image:
		linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
	background-size: 50px 50px;
}

/* Mobile container */
.app-container {
	max-width: 430px;
	margin: 0 auto;
	background: linear-gradient(180deg, rgba(10, 10, 20, 0.95) 0%, rgba(5, 5, 15, 0.98) 100%);
	min-height: 100vh;
	position: relative;
	border-left: 1px solid var(--border-color);
	border-right: 1px solid var(--border-color);
	box-shadow:
		-20px 0 60px rgba(0, 240, 255, 0.1),
		20px 0 60px rgba(255, 0, 170, 0.1);
}

/* Header */
.header {
	background: var(--bg-elevated);
	backdrop-filter: var(--glass-blur);
	-webkit-backdrop-filter: var(--glass-blur);
	color: var(--text-primary);
	padding: 16px 20px;
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid var(--border-color);
	box-shadow: 0 4px 30px rgba(0, 240, 255, 0.1);
}

.header-title {
	font-family: 'Orbitron', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: var(--primary);
	text-shadow: var(--glow-sm) var(--primary-glow);
}

.header-back {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: 1px solid var(--border-color);
	color: var(--primary);
	font-size: 1.25rem;
	cursor: pointer;
	padding: 8px 12px;
	border-radius: var(--radius);
	transition: all 0.3s ease;
}

.header-back:hover {
	background: var(--primary-light);
	box-shadow: var(--glow-sm) var(--primary-glow);
}

.header-action {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
}

/* Views */
.view {
	display: none;
	padding-bottom: 100px;
}

.view.active {
	display: block;
}

/* Content padding */
.content {
	padding: 20px;
}

/* Cards - Glassmorphism */
.card {
	background: var(--bg-card);
	backdrop-filter: var(--glass-blur);
	-webkit-backdrop-filter: var(--glass-blur);
	border-radius: var(--radius-lg);
	padding: 20px;
	margin-bottom: 16px;
	border: 1px solid var(--border-color);
	position: relative;
	overflow: hidden;
}

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

.card-title {
	font-family: 'Orbitron', sans-serif;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--primary);
	margin-bottom: 16px;
	text-transform: uppercase;
	letter-spacing: 2px;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 24px;
	border-radius: var(--radius);
	font-family: 'Rajdhani', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	border: none;
	transition: all 0.3s ease;
	width: 100%;
	text-transform: uppercase;
	letter-spacing: 1px;
	position: relative;
	overflow: hidden;
}

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

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

.btn-primary {
	background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
	color: var(--bg-dark);
	box-shadow: var(--glow-sm) var(--primary-glow);
}

.btn-primary:hover {
	box-shadow: var(--glow-md) var(--primary-glow);
	transform: translateY(-2px);
}

.btn-secondary {
	background: var(--bg-glass);
	color: var(--text-secondary);
	border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
	background: var(--bg-elevated);
	border-color: var(--border-color);
	color: var(--text-primary);
}

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

.btn-outline:hover {
	background: var(--primary-light);
	box-shadow: var(--glow-sm) var(--primary-glow);
}

.btn-sm {
	padding: 10px 16px;
	font-size: 0.8125rem;
}

.btn-icon {
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: var(--radius);
}

/* Form elements */
.form-group {
	margin-bottom: 24px;
}

.form-label {
	display: block;
	font-family: 'Orbitron', sans-serif;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--text-secondary);
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.form-input {
	width: 100%;
	padding: 14px 16px;
	background: var(--bg-glass);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius);
	font-family: 'Rajdhani', sans-serif;
	font-size: 1rem;
	color: var(--text-primary);
	transition: all 0.3s ease;
}

.form-input:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: var(--glow-sm) var(--primary-glow), inset 0 0 20px var(--primary-light);
	background: rgba(0, 240, 255, 0.05);
}

.form-input::placeholder {
	color: var(--text-muted);
}

textarea.form-input {
	min-height: 120px;
	resize: vertical;
}

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

.form-hint {
	font-size: 0.75rem;
	color: var(--text-muted);
	margin-top: 6px;
}

.form-required {
	color: var(--secondary);
	text-shadow: var(--glow-sm) var(--secondary-glow);
}

/* File upload */
.file-upload {
	border: 1px dashed var(--border-color);
	border-radius: var(--radius-lg);
	padding: 32px 20px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	background: var(--bg-glass);
	position: relative;
}

.file-upload::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: var(--radius-lg);
	padding: 1px;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: xor;
	-webkit-mask-composite: xor;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.file-upload:hover::before {
	opacity: 1;
}

.file-upload:hover {
	background: var(--primary-light);
	box-shadow: var(--glow-sm) var(--primary-glow);
}

.file-upload-icon {
	font-size: 2.5rem;
	margin-bottom: 8px;
	filter: drop-shadow(var(--glow-sm) var(--primary-glow));
}

.file-upload-text {
	color: var(--text-secondary);
	font-size: 0.9375rem;
	font-weight: 500;
}

.file-upload-hint {
	color: var(--text-muted);
	font-size: 0.75rem;
	margin-top: 4px;
}

/* Progress steps */
.progress-steps {
	padding: 20px 0;
	position: relative;
}

.progress-step {
	display: flex;
	align-items: flex-start;
	position: relative;
	padding-left: 56px;
	padding-bottom: 32px;
}

.progress-step:last-child {
	padding-bottom: 0;
}

.progress-step::before {
	content: '';
	position: absolute;
	left: 19px;
	top: 40px;
	bottom: 0;
	width: 2px;
	background: var(--border-subtle);
}

.progress-step:last-child::before {
	display: none;
}

.progress-step.completed::before {
	background: linear-gradient(180deg, var(--success), var(--success));
	box-shadow: var(--glow-sm) var(--success-glow);
}

.progress-step.current::before {
	background: linear-gradient(180deg, var(--primary) 0%, var(--border-subtle) 100%);
}

.step-indicator {
	position: absolute;
	left: 0;
	top: 0;
	width: 40px;
	height: 40px;
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Orbitron', sans-serif;
	font-size: 0.875rem;
	font-weight: 600;
	border: 1px solid var(--border-subtle);
	background: var(--bg-card);
}

.progress-step.completed .step-indicator {
	background: var(--success-light);
	border-color: var(--success);
	color: var(--success);
	box-shadow: var(--glow-sm) var(--success-glow);
}

.progress-step.current .step-indicator {
	background: var(--primary-light);
	border-color: var(--primary);
	color: var(--primary);
	box-shadow: var(--glow-sm) var(--primary-glow);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%, 100% {
		box-shadow: var(--glow-sm) var(--primary-glow);
	}
	50% {
		box-shadow: var(--glow-md) var(--primary-glow);
	}
}

.progress-step.pending .step-indicator {
	color: var(--text-muted);
}

.step-content {
	flex: 1;
	padding-top: 4px;
}

.step-title {
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 4px;
	font-size: 1rem;
}

.progress-step.completed .step-title {
	color: var(--success);
}

.progress-step.current .step-title {
	color: var(--primary);
}

.progress-step.pending .step-title {
	color: var(--text-muted);
}

.step-description {
	font-size: 0.875rem;
	color: var(--text-muted);
}

.step-date {
	font-family: 'Orbitron', sans-serif;
	font-size: 0.6875rem;
	color: var(--text-muted);
	margin-top: 4px;
	letter-spacing: 1px;
}

/* Badge */
.badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: var(--radius);
	font-family: 'Orbitron', sans-serif;
	font-size: 0.6875rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.badge-primary {
	background: var(--primary-light);
	color: var(--primary);
	border: 1px solid var(--primary);
}

.badge-success {
	background: var(--success-light);
	color: var(--success);
	border: 1px solid var(--success);
}

.badge-warning {
	background: var(--warning-light);
	color: var(--warning);
	border: 1px solid var(--warning);
}

.badge-danger {
	background: var(--danger-light);
	color: var(--danger);
	border: 1px solid var(--danger);
}

/* Message notification badge */
.notification-badge {
	position: absolute;
	top: -4px;
	right: -4px;
	background: var(--secondary);
	color: var(--text-primary);
	font-family: 'Orbitron', sans-serif;
	font-size: 0.625rem;
	font-weight: 600;
	min-width: 18px;
	height: 18px;
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 5px;
	box-shadow: var(--glow-sm) var(--secondary-glow);
	animation: glow-pulse 1.5s infinite;
}

@keyframes glow-pulse {
	0%, 100% {
		box-shadow: var(--glow-sm) var(--secondary-glow);
	}
	50% {
		box-shadow: var(--glow-md) var(--secondary-glow);
	}
}

/* Message banner */
.message-banner {
	background: var(--secondary-light);
	border-left: 3px solid var(--secondary);
	padding: 14px 16px;
	margin: 0 20px 16px;
	border-radius: 0 var(--radius) var(--radius) 0;
	cursor: pointer;
	transition: all 0.3s ease;
	backdrop-filter: var(--glass-blur);
}

.message-banner:hover {
	background: rgba(255, 0, 170, 0.2);
	box-shadow: var(--glow-sm) var(--secondary-glow);
}

.message-banner-title {
	font-family: 'Orbitron', sans-serif;
	font-size: 0.6875rem;
	color: var(--secondary);
	font-weight: 600;
	margin-bottom: 4px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.message-banner-text {
	font-size: 0.9375rem;
	color: var(--text-secondary);
}

/* Message list */
.message-list {
	list-style: none;
}

.message-item {
	padding: 16px 20px;
	border-bottom: 1px solid var(--border-subtle);
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
}

.message-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: transparent;
	transition: background 0.3s ease;
}

.message-item:hover {
	background: var(--bg-glass);
}

.message-item:hover::before {
	background: var(--primary);
}

.message-item.unread {
	background: var(--primary-light);
}

.message-item.unread::before {
	background: var(--primary);
	box-shadow: var(--glow-sm) var(--primary-glow);
}

.message-item.unread:hover {
	background: rgba(0, 240, 255, 0.2);
}

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

.message-sender {
	font-weight: 600;
	color: var(--text-primary);
	font-size: 0.9375rem;
}

.message-date {
	font-family: 'Orbitron', sans-serif;
	font-size: 0.6875rem;
	color: var(--text-muted);
	letter-spacing: 1px;
}

.message-subject {
	font-size: 0.9375rem;
	color: var(--text-secondary);
	margin-bottom: 4px;
}

.message-preview {
	font-size: 0.8125rem;
	color: var(--text-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.message-unread-dot {
	width: 8px;
	height: 8px;
	background: var(--primary);
	border-radius: 50%;
	display: inline-block;
	margin-right: 8px;
	box-shadow: var(--glow-sm) var(--primary-glow);
	animation: pulse 2s infinite;
}

/* Bottom navigation */
.bottom-nav {
	position: fixed;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 430px;
	background: var(--bg-elevated);
	backdrop-filter: var(--glass-blur);
	-webkit-backdrop-filter: var(--glass-blur);
	border-top: 1px solid var(--border-color);
	display: flex;
	padding: 8px 0;
	padding-bottom: calc(8px + env(safe-area-inset-bottom));
	z-index: 100;
}

.nav-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 10px 8px;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--text-muted);
	font-family: 'Orbitron', sans-serif;
	font-size: 0.625rem;
	position: relative;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s ease;
}

.nav-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	background: var(--primary);
	transition: width 0.3s ease;
	box-shadow: var(--glow-sm) var(--primary-glow);
}

.nav-item.active {
	color: var(--primary);
}

.nav-item.active::before {
	width: 40px;
}

.nav-item:hover {
	color: var(--text-secondary);
}

.nav-item-icon {
	font-size: 1.375rem;
	filter: drop-shadow(0 0 0 transparent);
	transition: filter 0.3s ease;
}

.nav-item.active .nav-item-icon {
	filter: drop-shadow(var(--glow-sm) var(--primary-glow));
}

/* Landing page */
.landing-hero {
	text-align: center;
	padding: 60px 24px;
	background:
		radial-gradient(ellipse at top, rgba(0, 240, 255, 0.15) 0%, transparent 50%),
		radial-gradient(ellipse at bottom, rgba(255, 0, 170, 0.1) 0%, transparent 50%);
	position: relative;
	overflow: hidden;
}

.landing-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image:
		linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
	background-size: 30px 30px;
	animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
	0% {
		transform: perspective(500px) rotateX(60deg) translateY(0);
	}
	100% {
		transform: perspective(500px) rotateX(60deg) translateY(30px);
	}
}

.landing-logo {
	font-size: 4rem;
	margin-bottom: 16px;
	position: relative;
	z-index: 1;
	filter: drop-shadow(var(--glow-md) var(--primary-glow));
	animation: float 3s ease-in-out infinite;
}

@keyframes float {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

.landing-title {
	font-family: 'Orbitron', sans-serif;
	font-size: 1.75rem;
	font-weight: 700;
	margin-bottom: 8px;
	position: relative;
	z-index: 1;
	background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: none;
}

.landing-subtitle {
	font-size: 1rem;
	color: var(--text-secondary);
	position: relative;
	z-index: 1;
}

.landing-actions {
	padding: 32px 24px;
}

.landing-divider {
	display: flex;
	align-items: center;
	margin: 28px 0;
	color: var(--text-muted);
	font-family: 'Orbitron', sans-serif;
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.landing-divider::before,
.landing-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.landing-divider::before {
	margin-right: 16px;
}

.landing-divider::after {
	margin-left: 16px;
}

/* Step wizard */
.wizard-progress {
	display: flex;
	justify-content: center;
	gap: 12px;
	padding: 20px;
	background: var(--bg-glass);
	border-bottom: 1px solid var(--border-subtle);
}

.wizard-dot {
	width: 32px;
	height: 4px;
	border-radius: 2px;
	background: var(--border-subtle);
	transition: all 0.3s ease;
}

.wizard-dot.active {
	background: var(--primary);
	box-shadow: var(--glow-sm) var(--primary-glow);
}

.wizard-dot.completed {
	background: var(--success);
	box-shadow: var(--glow-sm) var(--success-glow);
}

.wizard-actions {
	display: flex;
	gap: 12px;
	padding: 20px;
	background: var(--bg-elevated);
	backdrop-filter: var(--glass-blur);
	border-top: 1px solid var(--border-color);
	position: sticky;
	bottom: 0;
}

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

/* Signature pad */
.signature-pad {
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	background: var(--bg-glass);
	height: 200px;
	position: relative;
	touch-action: none;
	overflow: hidden;
}

.signature-pad::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px),
		linear-gradient(var(--border-subtle) 1px, transparent 1px);
	background-size: 20px 20px;
	opacity: 0.5;
}

.signature-pad-hint {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: var(--text-muted);
	font-size: 0.875rem;
	pointer-events: none;
	z-index: 1;
}

.signature-pad canvas {
	width: 100%;
	height: 100%;
	display: block;
	position: relative;
	z-index: 2;
}

.signature-actions {
	display: flex;
	gap: 12px;
	margin-top: 12px;
}

/* Status card on dashboard */
.status-card {
	background:
		linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(255, 0, 170, 0.1) 100%);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	padding: 24px;
	margin-bottom: 20px;
	position: relative;
	overflow: hidden;
}

.status-card::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: conic-gradient(from 0deg, transparent, var(--primary), transparent, var(--secondary), transparent);
	animation: rotate 10s linear infinite;
	opacity: 0.1;
}

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

.status-card-label {
	font-family: 'Orbitron', sans-serif;
	font-size: 0.6875rem;
	color: var(--text-muted);
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 2px;
	position: relative;
	z-index: 1;
}

.status-card-title {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--primary);
	text-shadow: var(--glow-sm) var(--primary-glow);
	position: relative;
	z-index: 1;
}

.status-card-case {
	font-family: 'Orbitron', sans-serif;
	font-size: 0.75rem;
	color: var(--text-muted);
	letter-spacing: 2px;
	position: relative;
	z-index: 1;
}

/* Quick actions */
.quick-actions {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-bottom: 20px;
}

.quick-action {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 24px 16px;
	background: var(--bg-card);
	backdrop-filter: var(--glass-blur);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.quick-action::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--primary), var(--secondary));
	opacity: 0;
	transition: opacity 0.3s ease;
}

.quick-action:hover {
	border-color: var(--border-color);
	transform: translateY(-4px);
	box-shadow: 0 10px 40px rgba(0, 240, 255, 0.2);
}

.quick-action:hover::before {
	opacity: 1;
}

.quick-action-icon {
	font-size: 2rem;
	filter: drop-shadow(var(--glow-sm) var(--primary-glow));
}

.quick-action-label {
	font-size: 0.875rem;
	color: var(--text-secondary);
	text-align: center;
	font-weight: 500;
}

/* Document list */
.document-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	background: var(--bg-glass);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius);
	margin-bottom: 10px;
	transition: all 0.3s ease;
}

.document-item:hover {
	border-color: var(--border-color);
	background: var(--primary-light);
}

.document-icon {
	font-size: 1.5rem;
	filter: drop-shadow(var(--glow-sm) var(--primary-glow));
}

.document-info {
	flex: 1;
}

.document-name {
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--text-primary);
}

.document-meta {
	font-family: 'Orbitron', sans-serif;
	font-size: 0.6875rem;
	color: var(--text-muted);
	letter-spacing: 1px;
}

/* Message detail */
.message-detail-header {
	padding: 24px 20px;
	border-bottom: 1px solid var(--border-subtle);
	background: var(--bg-glass);
}

.message-detail-subject {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 8px;
}

.message-detail-meta {
	display: flex;
	justify-content: space-between;
	font-size: 0.875rem;
	color: var(--text-muted);
}

.message-detail-body {
	padding: 24px 20px;
	font-size: 0.9375rem;
	line-height: 1.8;
	color: var(--text-secondary);
}

.message-detail-attachments {
	padding: 0 20px 20px;
}

/* Checkbox */
.checkbox-group {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 20px;
}

.checkbox-input {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	accent-color: var(--primary);
	cursor: pointer;
}

.checkbox-label {
	font-size: 0.9375rem;
	color: var(--text-secondary);
}

.checkbox-label a {
	color: var(--primary);
	text-decoration: none;
	transition: all 0.3s ease;
}

.checkbox-label a:hover {
	text-shadow: var(--glow-sm) var(--primary-glow);
}

/* Utility */
.text-center {
	text-align: center;
}

.text-muted {
	color: var(--text-muted);
}

.mb-0 {
	margin-bottom: 0;
}

.mb-2 {
	margin-bottom: 8px;
}

.mb-4 {
	margin-bottom: 16px;
}

.mt-4 {
	margin-top: 16px;
}

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.view.active {
	animation: fadeIn 0.4s ease;
}

/* Scrollbar */
::-webkit-scrollbar {
	width: 6px;
}

::-webkit-scrollbar-track {
	background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
	background: var(--border-color);
	border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--primary);
}

/* Selection */
::selection {
	background: var(--primary);
	color: var(--bg-dark);
}

/* Incident details & Map */
.incident-details {
	margin-bottom: 16px;
}

.incident-info {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 10px 0;
	border-bottom: 1px solid var(--border-subtle);
}

.incident-info:last-child {
	border-bottom: none;
}

.incident-label {
	font-family: 'Orbitron', sans-serif;
	font-size: 0.6875rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 1px;
	flex-shrink: 0;
}

.incident-value {
	font-size: 0.875rem;
	color: var(--text-secondary);
	text-align: right;
	margin-left: 16px;
}

.map-container {
	position: relative;
	width: 100%;
	height: 180px;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border-color);
}

.map-iframe {
	width: 100%;
	height: 100%;
	border: none;
	filter: grayscale(100%) invert(92%) hue-rotate(180deg) brightness(0.9) contrast(1.1);
}

.map-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(0, 240, 255, 0.1) 0%,
		transparent 50%,
		rgba(255, 0, 170, 0.1) 100%
	);
	pointer-events: none;
}

.map-marker {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -80%);
	font-size: 2rem;
	filter: drop-shadow(var(--glow-md) var(--secondary-glow));
	animation: marker-pulse 2s ease-in-out infinite;
	pointer-events: none;
}

@keyframes marker-pulse {
	0%, 100% {
		transform: translate(-50%, -80%) scale(1);
	}
	50% {
		transform: translate(-50%, -85%) scale(1.1);
	}
}

.map-link {
	display: block;
	margin-top: 12px;
	padding: 10px 16px;
	background: var(--bg-glass);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius);
	color: var(--primary);
	text-decoration: none;
	font-size: 0.875rem;
	text-align: center;
	transition: all 0.3s ease;
}

.map-link:hover {
	background: var(--primary-light);
	border-color: var(--primary);
	box-shadow: var(--glow-sm) var(--primary-glow);
}
