body {
	margin:0;
	font-family:Arial, Helvetica, sans-serif;
	#background:#72b9da;
	#color:#1f2a30;
}

.header {
	background:#5097b8;
	color:white;
	padding:16px;
	font-size:20px;
	position:sticky;
	top:0;
	z-index:1000;
	box-shadow:0 2px 6px rgba(0,0,0,0.15);
}

.tabbuttons {
	display:flex;
	gap:6px;
	padding:10px;
	background:#d3e7f3;
	position:sticky;
	top:60px;
	z-index:900;
	box-shadow:0 2px 4px rgba(0,0,0,0.08);
}

.tabbuttons button {
	background:#72b9da;
	border:none;
	padding:10px 16px;
	cursor:pointer;
	border-radius:6px;
	color:white;
}

.tabbuttons button.active {
	background:#5097b8;
	color:white;
}

.tabcontent {
	display:none;
	padding:20px;
}

.tabcontent.active {
	display:block;
}

.card {
	#background:white;
	border:3px solid #5097b8;
	border-radius:10px;
	padding:20px;
	box-shadow:0 4px 12px rgba(0,0,0,0.08);
	max-width:900px;
}

hr {
	margin-left:0;
	margin-right:auto;
	max-width:940px;
}

input, textarea {
	#background:white;
	#color:#222;
	border:1px solid #9fcfe3;
	border-radius:6px;
	padding:10px;
	font-size:14px;
	width:100%;
	box-sizing:border-box;
}
textarea {
	resize:vertical;
	min-height:3em;
}

input:focus, textarea:focus {
	outline:none;
	border-color:#72b9da;
	box-shadow:0 0 4px rgba(114,185,218,0.5);
}

.formgroup {
	position:relative;
	margin-bottom:20px;
}

.formgroup label {
	position:absolute;
	left:10px;
	top:11px;
	font-size:13px;
	color:#666;
	background:white;
	padding:0 4px;
	transition:0.2s;
	pointer-events:none;
}

.formgroup input:focus + label,
.formgroup textarea:focus + label,
.formgroup input:not(:placeholder-shown) + label,
.formgroup textarea:not(:placeholder-shown) + label {
	top:-7px;
	font-size:11px;
	color:#72b9da;
}

button {
	background:#72b9da;
	color:white;
	border:none;
	padding:10px 16px;
	border-radius:6px;
	cursor:pointer;
}

button:hover {
	background:#5aa8cd;
}

.doclist {
	list-style:none;
	padding:0;
	margin:0;
}

.docrow {
	display:flex;
	justify-content:space-between;
	align-items:center;
	padding:10px;
	border-bottom:1px solid rgba(0,0,0,0.08);
}

.docrow:hover {
	background:rgba(114,185,218,0.15);
}

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

.doctype {
	font-size:18px;
}

.docicon {
	background:#72b9da;
	border:none;
	color:white;
	width:32px;
	height:32px;
	border-radius:6px;
}

.chatbox {
	display:flex;
	flex-direction:column;
	gap:10px;
	margin-bottom:20px;
}

.chatmsg {
	max-width:70%;
	padding:12px;
	border-radius:10px;
	background:#d7e9f3;
}

.chatmsg.mine {
	align-self:flex-end;
	background:#72b9da;
	color:white;
}

.chatmsg.theirs {
	align-self:flex-start;
	background:#e4f1f7;
}

.chatbetreff {
	font-weight:bold;
	margin-bottom:5px;
}

.errormsg {
	background:#ffd6d6;
	color:#a40000;
	border:1px solid #ff9c9c;
	padding:12px;
	border-radius:6px;
	margin-bottom:15px;
	font-size:14px;
}

.successmsg {
	background:#d9f5dd;
	color:#1d7a2f;
	border:1px solid #9de0a8;
	padding:12px;
	border-radius:6px;
	margin-bottom:15px;
	font-size:14px;
}

.errormsg:before {
	content:"⚠ ";
	font-weight:bold;
}

.successmsg:before {
	content:"✓ ";
	font-weight:bold;
}

.travelLayout {
	display:grid;
	grid-template-columns:280px 1fr;
	gap:30px;
	align-items:start;
}

.travelLayout input[type="radio"] {
	display:none;
}

/* linke Liste */

.travelList {
	display:flex;
	flex-direction:column;
	gap:10px;
}

.travelItem {
	display:block;
	padding:14px;
	background:#f4f6f8;
	border-radius:8px;
	cursor:pointer;
	border:1px solid transparent;
	transition:all .15s;
}

.travelItem:hover {
	background:#eef2f6;
}

.travelRoute {
	font-weight:600;
}

.travelDate {
	font-size:13px;
	color:#666;
}

.travelStatus {
	font-size:12px;
	margin-top:4px;
	color:#4a6fa5;
}

/* aktive Reise */

.travelActive {
	background:#e8f0ff;
	border:2px solid #7aa2ff;
}

/* Detailbereich */

.travelDetailContainer {
	background:#5097b8;
	border-radius:10px;
	padding:20px;
	#border:4px solid #e2e6ea;
	min-height:300px;
}

.travelDetail {
	display:none;
}

.travelForm {
	display:flex;
	flex-direction:column;
	max-width:600px;
}

.travelField {
	position:relative;
	margin-bottom:20px;
}

.travelValue {
	background:white;
	border:1px solid #9fcfe3;
	border-radius:6px;
	padding:10px;
	font-size:14px;
	width:100%;
	box-sizing:border-box;
	min-height:16px;
}

.travelLabel {
	position:absolute;
	left:10px;
	top:-7px;
	font-size:11px;
	color:#5097b8;
	background:white;
	padding:0 4px;
	pointer-events:none;
}


@media (max-width:700px) {
	body {
		font-size:18px;
	}
	.tabbuttons {
		flex-wrap:wrap;
	}
	.chatmsg {
		max-width:90%;
		padding:14px;
	}
	
	.travelLayout {
	    grid-template-columns:1fr;
	    gap:15px;
	}

	.travelList {
	    flex-direction:row;
	    overflow-x:auto;
	    gap:10px;
	    padding-bottom:5px;
	}

	.travelItem {
	    min-width:220px;
	    flex-shrink:0;
	}

	.travelDetailContainer {
	    padding:15px;
	}
}
