/* Custom File Input Styling */
@charset "utf-8";
.customFileInputWrapper {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
}

.customFileInput {
	opacity: 0;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	z-index: 2;
}

.customFileLabel {
	background-color: #4caf50;
	color: white;
	padding: 12px 30px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	min-width: 180px;
	height: 48px;
	line-height: 24px;
	box-sizing: border-box;
	text-align: center;
	vertical-align: middle;
	display: inline-block;
	z-index: 1;
	transition: background 0.2s;
}
.customFileLabel:hover {
	background-color: #45a049;
}
.customFileName {
	font-size: 14px;
	color: #333;
	margin-left: 10px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 300px;
}

/* Form Container Styling */
.formPageWrapper {
	max-width: 1000px;
	margin: 0 auto;
	padding: 20px;
}

/* Info Box - appears at top of forms */
.formInfoBox,
.formMessageBox {
	padding: 20px;
	background-color: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 4px;
	margin-bottom: 20px;
}

.formInfoBox p,
.formMessageBox p {
	margin: 0;
	color: #555;
}
.formPageWrapper .formInfoBox h3 {
	font-family: "Roboto", sans-serif;
	letter-spacing: 1px;
	margin-top: 4px;
	font-weight: 400;
	font-size: 24px;
}
.formMessageBox {
	min-height: 48px;
}

/* Form Container */
.formContainer {
	padding: 20px;
	background-color: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.formContainer h3 {
	margin-top: 0;
	color: #333;
}

/* Form Field Groups */
.formField {
	margin-bottom: 20px;
}

.formField label {
	font-family: Roboto, sans-serif;
	font-size: 18px;
	display: block;
	font-weight: 350;
	margin-bottom: 5px;
	color: #333;
}

/* Input Styling */
.formInput,
.formTextarea,
.formSelect {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
	font-family: inherit;
}

.formTextarea {
	resize: vertical;
}

.formInput:focus,
.formTextarea:focus,
.formSelect:focus {
	outline: none;
	border-color: #2196f3;
	box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

/* Input with helper text */
.formInputHelper {
	color: #666;
	font-size: 12px;
	display: block;
	margin-top: 5px;
}

/* Button Container */
.formButtonContainer {
	text-align: center;
	margin-top: 25px;
}

/* Primary Button (Submit/Save) */
.formButtonPrimary {
	background-color: #4caf50;
	color: white;
	padding: 12px 30px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	margin-right: 10px;
	text-decoration: none;
	display: inline-block;
	min-width: 180px;
	height: 48px;
	line-height: 24px;
	box-sizing: border-box;
	text-align: center;
	vertical-align: middle;
}

.formButtonPrimary:hover {
	background-color: #45a049;
}

.formButtonPrimary:active {
	background-color: #3d8b40;
}

/* Secondary Button (Cancel/Return) */
.formButtonSecondary {
	background-color: #757575;
	color: white;
	padding: 12px 30px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
	min-width: 180px;
	height: 48px;
	line-height: 24px;
	box-sizing: border-box;
	text-align: center;
	vertical-align: middle;
}

.formButtonSecondary:hover {
	background-color: #616161;
}

.formButtonSecondary:active {
	background-color: #424242;
}

/* Feedback Messages */
.formFeedback {
	max-width: 800px;
	margin: 20px auto;
}

.formMessageBox .formFeedbackSuccess {
	color: green;
	font-weight: bold;
}

.formFeedbackError,
.formBlueInfoBox p.formFeedbackError {
	color: rgb(220, 17, 17);
}

/* Note Box - appears at bottom of forms */
.formNoteBox {
	margin-top: 20px;
	padding: 15px;
	background-color: #fff3cd;
	border-left: 4px solid #ffc107;
	border-radius: 4px;
}

.formNoteBox p {
	margin: 0;
	color: #856404;
	font-size: 14px;
}

.formNoteBox strong {
	color: #856404;
}

/* Warning Box */
.formWarningBox {
	padding: 15px;
	background-color: #ffebee;
	border-left: 4px solid #f44336;
	border-radius: 4px;
	margin-bottom: 20px;
}

.formWarningBox p {
	margin: 0;
	color: #c62828;
	font-size: 14px;
}

/* Info Box (Blue) */
.formBlueInfoBox {
	padding: 15px;
	background-color: #e3f2fd;
	border-left: 4px solid #2196f3;
	border-radius: 4px;
	margin-bottom: 20px;
}

.formBlueInfoBox p {
	margin: 0;
	color: #1565c0;
	font-size: 14px;
}

/* Required field indicator */
.formRequired {
	color: #f44336;
	margin-left: 2px;
}

/* File input styling */
input[type="file"].formInput {
	background-color: white;
	cursor: pointer;
}

/* Checkbox and Radio Groups */
.formCheckboxGroup,
.formRadioGroup {
	margin-bottom: 20px;
}

.formCheckboxGroup label,
.formRadioGroup label {
	display: flex;
	align-items: center;
	font-weight: normal;
	margin-bottom: 8px;
	cursor: pointer;
}

.formCheckboxGroup input[type="checkbox"],
.formRadioGroup input[type="radio"] {
	margin-right: 8px;
	width: auto;
}
/* Vertical Form Layout */
.verticalForm {
	max-width: 500px;
}

.formGroup {
	margin-bottom: 20px;
}

.formGroup label {
	display: block;
	font-weight: bold;
	margin-bottom: 5px;
	color: #333;
}

.formGroup input[type="text"],
.formGroup input[type="password"],
.formGroup input[type="email"] {
	width: 100%;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 14px;
}

.formGroup select {
	width: 100%;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 14px;
}

.formGroup input:focus,
.formGroup select:focus {
	outline: none;
	border-color: #4caf50;
}

.submitButton {
	width: 100%;
	padding: 12px;
	background-color: #4caf50;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
}

.submitButton:hover {
	background-color: #45a049;
}
/* Form Section Divider */
.formSection {
	background-color: #ffffff;
	padding: 25px;
	margin-bottom: 20px;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.formSection h2 {
	font-family: "Roboto", sans-serif;
	font-size: 22px;
	font-weight: 400;
	letter-spacing: 0.5px;
	margin-top: 0;
	margin-bottom: 20px;
	color: #333;
	border-bottom: 2px solid #4caf50;
	padding-bottom: 10px;
}

/* Form Page Container (alternative to formPageWrapper) */
.formPage {
	max-width: 900px;
	margin: 0 auto;
	padding: 20px;
}

/* Small helper text under inputs */
.formGroup small {
	display: block;
	margin-top: 5px;
	font-size: 13px;
	color: #666;
	font-style: italic;
}

/* Option Row styling for multiple choice questions */
.optionRow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.optionRow label {
	min-width: 120px;
	margin-bottom: 0;
	display: flex;
	align-items: center;
}

.optionRow input[type="radio"] {
	margin-right: 8px;
}

.optionRow input[type="text"] {
	flex: 1;
}

/* Checkbox groups */
.formGroup input[type="checkbox"] {
	margin-right: 8px;
	width: auto;
}

.formGroup label:has(input[type="checkbox"]) {
	display: flex;
	align-items: center;
	font-weight: normal;
	cursor: pointer;
}

/* Textarea in formGroup */
.formGroup textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
	font-family: inherit;
	resize: vertical;
}

.formGroup textarea:focus {
	outline: none;
	border-color: #4caf50;
	box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
}

/* Input number styling */
.formGroup input[type="number"] {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
}

.formGroup input[type="number"]:focus {
	outline: none;
	border-color: #4caf50;
	box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
}
