/* Modern Common Styles */

/* Round Corners - Modern approach */
.r0, .r1, .r2, .r3, .r4 {
	display: none;
}

/* Tags cloud */
div.search-cloud {
	text-align: center;
	padding: 20px;
}

div.search-cloud a {
	line-height: 1.6em;
	text-decoration: none;
	display: inline-block;
	margin: 5px;
	padding: 8px 15px;
	background: #f8f9fa;
	border-radius: 20px;
	color: #006BC6;
	transition: all 0.3s ease;
}

div.search-cloud a:hover {
	background: #006BC6;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 107, 198, 0.2);
}

/* Search results */
div.search-item {
	margin: 0 0 2em;
	padding: 20px;
	border-bottom: 1px solid #e5e5e5;
	background: #f8f9fa;
	border-radius: 8px;
	transition: box-shadow 0.3s ease;
}

div.search-item:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

div.search-result {
	margin: 1em 0;
}

div.search-preview {
	margin: 0.8em 0;
	color: #666;
	line-height: 1.6;
}

div.search-page input.search-query {
	width: 100%;
	border: 2px solid #e0e0e0;
	border-radius: 6px;
	font-size: 1.1em;
	padding: 12px 15px;
	transition: border-color 0.3s ease;
}

div.search-page input.search-query:focus {
	outline: none;
	border-color: #006BC6;
	box-shadow: 0 0 0 3px rgba(0, 107, 198, 0.1);
}

div.search-page input.search-button {
	font-size: 1em;
	padding: 12px 24px;
	background: #006BC6;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 10px;
	line-height: 1.4;
	min-height: 44px;
	box-sizing: border-box;
	overflow: visible;
}

div.search-page input.search-button:hover {
	background: #0056a3;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 107, 198, 0.2);
}

/* Content Forms: modern styles */
div.content-form {
	position: relative;
	padding-bottom: 2.5em;
	padding-left: 0;
	max-width: 800px;
}

div.content-form div.form-input span {
	font-size: 1.2em;
	color: #666;
}

div.content-form div.form-input input,
div.content-form div.form-input textarea,
div.content-form div.form-input select {
	margin: 0;
	border: 2px solid #e0e0e0;
	border-radius: 6px;
	font-size: 1em;
	font-family: inherit;
	margin-bottom: 15px;
	width: 100%;
	max-width: 500px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

div.content-form div.form-input input:focus,
div.content-form div.form-input textarea:focus,
div.content-form div.form-input select:focus {
	outline: none;
	border-color: #006BC6;
	box-shadow: 0 0 0 3px rgba(0, 107, 198, 0.1);
}

div.content-form div.form-input input,
div.content-form div.form-input textarea {
	padding: 12px 15px;
}

div.content-form div.form-input select {
	padding: 12px 15px;
	background: #fff;
	cursor: pointer;
}

div.content-form div.legend {
	left: 0;
	top: -0.7em;
	float: none;
	padding: 0 8px;
	background: #fff;
	position: relative;
	z-index: 10;
	font-size: 1.2em;
	font-family: inherit;
	font-weight: 600;
	color: #2c3e50;
	margin-bottom: 10px;
	display: block;
}

div.content-form div.form-input input,
div.content-form div.form-input textarea {
	width: 100%;
	max-width: 500px;
}

div.content-form div.fields {
	clear: both;
}

div.content-form input.input-submit {
	overflow: visible;
	padding: 12px 24px;
	background: #006BC6;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 1em;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	line-height: 1.4;
	min-height: 44px;
	box-sizing: border-box;
}

div.content-form input.input-submit:hover {
	background: #0056a3;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 107, 198, 0.2);
}

div.content-form div.field {
	padding: 0;
	margin: 0 0 1.5em 0;
	display: block;
}

div.content-form div.field label.field-title {
	display: block;
	font-size: 1.1em;
	margin-bottom: 8px;
	font-family: inherit;
	font-weight: 600;
	color: #2c3e50;
	white-space: normal;
}

div.content-form div.description {
	font-size: 0.9em;
	color: #666;
	margin-top: 5px;
}

div.content-form div.field-checkbox {
	margin: 0.5em 0;
	font-size: 1em;
	display: flex;
	align-items: center;
	gap: 10px;
}

div.content-form div.field-checkbox input[type="checkbox"] {
	width: auto;
	margin: 0;
	cursor: pointer;
}

div.content-form div.field-checkbox label {
	margin: 0;
	cursor: pointer;
}

/* Error & OK messages */
.errortext,
.notetext {
	display: block;
	margin: 0 0 1.5em 0;
	padding: 15px 20px;
	border: 1px solid;
	border-radius: 6px;
	line-height: 1.6;
}

.errortext {
	background: #ffebee;
	border-color: #d32f2f;
	color: #c62828;
}

.notetext {
	background: #d1ecf1;
	border-color: #0c5460;
	color: #0c5460;
}

.errortext ul,
.notetext ul {
	padding: 0.5em 0 0.3em 2em;
	margin: 0;
}

.errortext ul li,
.notetext ul li {
	margin: 0.3em 0;
	padding: 0;
}

/* Modern button styles */
button,
input[type="submit"],
input[type="button"],
.btn {
	background: #006BC6;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 12px 24px;
	font-size: 1em;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: inherit;
	display: inline-block;
	text-decoration: none;
	line-height: 1.4;
	min-height: 44px;
	box-sizing: border-box;
	overflow: visible;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.btn:hover {
	background: #0056a3;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 107, 198, 0.2);
}

button:active,
input[type="submit"]:active,
input[type="button"]:active,
.btn:active {
	transform: translateY(0);
}

/* Loading states */
.loading {
	opacity: 0.6;
	pointer-events: none;
}

/* Accessibility */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
	outline: 2px solid #006BC6;
	outline-offset: 2px;
}

/* Print styles */
@media print {
	#header,
	#top-menu,
	#left-menu,
	#sidebar,
	#footer {
		display: none;
	}

	#workarea {
		width: 100%;
		margin: 0;
	}
}
