html, body {
	position: relative;
	width: 100%;
	height: 100%;
	font-family: "Segoe UI", Arial, sans-serif;
	font-size: 15px;
}

body {
	color: #333;
	margin: 0;
	padding: 0px;
	box-sizing: border-box;
}

a {
	color: rgb(0,100,200);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:visited {
	color: rgb(0,80,160);
}

label {
	display: block;
}

input, button, select, textarea {
	font-family: inherit;
	font-size: inherit;
	-webkit-padding: 0.4em 0;
	padding: 0.4em;
	margin: 0 0 0.5em 0;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 2px;
}

input:disabled {
	color: #ccc;
}

button {
	color: #333;
	background-color: #f4f4f4;
	outline: none;
}

button:disabled {
	color: #999;
}

button:not(:disabled):active {
	background-color: #ddd;
}

button:focus {
	border-color: #666;
}

/* Original styles from YAML */
.story-block-title-table {
	display: block;
	text-align: center;
	font-weight: bold;
	background: #a2bd39;
	color: #fff;
	font-size: 1.1rem;
	padding: 5px 5px 5px 5px;
	border-radius: 5px;
	margin-bottom: 12px;
	letter-spacing: 0.5px;
	line-height: 1.2;
	min-height: 25px;
	box-sizing: border-box;
}

.story-block-row { 
	margin-bottom: 10px; 
}

#presetDiv > div {
	margin-bottom: 6px;
}

#presetDiv input[type="text"] {
	min-width: 100px;
}

#presetDiv button {
	min-width: 60px;
}

#sectionsContainer {
	margin-bottom: 40px;
}

.section-table-block {
	margin-bottom: 40px;
}

.copy-to-outlook-btn {
	background: #7b7a7a;
	color: #fff;
	border: none;
	border-radius: 5px;
	padding: 7px 16px;
	font-size: 0.95rem;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.2s;
	margin-top: 8px;
	margin-bottom: 32px;
	display: block;
}

.copy-to-outlook-btn:hover {
	background: #9c9b9b;
}

table tr:first-child td {
	border-radius: 5px !important;
	font-size: 1.1rem;
	font-weight: bold;
	background: #a2bd39;
	color: #fff;
	text-align: center;
	padding: 5px 5px 5px 5px;
	letter-spacing: 0.5px;
	line-height: 1.2;
	min-height: 34px;
	box-sizing: border-box;
}

.spacer-row {
	background: transparent !important;
	height: 16px;
	padding: 0 !important;
	font-size: 1px;
	border: none !important;
}

#sectionsContainer table {
	border-collapse: separate;
	border: none;
	margin-bottom: 16px;
	width: 100%;
	background: transparent;
}

#sectionsContainer td {
	border: none;
	padding: 2px;
	vertical-align: top;
	background: transparent;
}

#sectionsContainer .subject-row {
	background: #f8fafc !important;
	border-radius: 5px;
}

#sectionsContainer select,
#sectionsContainer input[type="number"],
#sectionsContainer input[type="text"] {
	height: 28px;
	font-size: 15px;
	padding: 2px 8px;
	box-sizing: border-box;
	border-radius: 5px;
	border: 1px solid #d0d7de;
	vertical-align: middle;
	background: #fff;
}

#sectionsContainer select {
	min-width: 90px;
	max-width: 130px;
}

#sectionsContainer input[type="number"] {
	text-align: center;
}

#sectionsContainer input[type="checkbox"] {
	vertical-align: middle;
	margin-right: 8px;
	margin-left: 0;
}

.alles-invoegen-container {
	margin-top: 30px;
	margin-bottom: 20px;
	text-align: center;
	border-top: 2px solid #e1e5e9;
	padding-top: 20px;
}

.alles-invoegen-btn {
	background: #7b7a7a;
	color: #fff;
	border: none;
	border-radius: 5px;
	padding: 7px 16px;
	font-size: 0.95rem;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.2s;
	margin-top: 8px;
	margin-bottom: 32px;
	display: block;
}

.alles-invoegen-btn:hover {
	background: #9c9b9b;
}
