/* Application Form Styles - Generic for all application types */

.recaptcha-error {
	display: none;
	color: #dc3545;
	font-size: 14px;
	margin-top: 8px;
	font-weight: 600;
}
.recaptcha-container {
	margin: 30px 0;
}

.application-form {
	max-width: 900px;
	margin: 0 auto;
}

.form-section {
	background: rgba(255, 255, 255, .05);
	border: 2px solid rgba(255, 255, 255, .2);
	padding: 30px;
	margin-bottom: 30px;
	border-radius: 4px;
}

.form-section-title {
	font-size: 1.5em;
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 2px solid var(--lg);
	color: white;
	letter-spacing: 2px;
}

.form-row {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
}

.form-row.single {
	flex-direction: column;
}

.form-group {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.form-group.full-width {
	width: 100%;
}

.form-label {
	font-weight: 600;
	margin-bottom: 8px;
	color: white;
	font-size: 0.95em;
}

.form-label.required::after {
	content: ' *';
	color: var(--lg);
}

.form-input,
.form-textarea,
.form-select {
	padding: 12px;
	border: 2px solid rgba(255, 255, 255, .3);
	background: rgba(255, 255, 255, .08);
	color: white;
	font-family: "Open Sans", sans-serif;
	font-size: 1em;
	border-radius: 4px;
	transition: border-color 0.3s, background 0.3s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
	outline: none;
	border-color: var(--lg);
	background: rgba(255, 255, 255, .12);
}

.form-input::placeholder,
.form-textarea::placeholder {
	color: rgba(255, 255, 255, .5);
}

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

.form-select {
	cursor: pointer;
}

.form-select option {
	background: var(--brown);
	color: white;
}

.form-checkbox-group {
	display: flex;
	gap: 20px;
	margin-top: 8px;
}

.form-checkbox-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.form-checkbox {
	width: 18px;
	height: 18px;
	cursor: pointer;
	accent-color: var(--lg);
}

.form-checkbox-label {
	cursor: pointer;
	font-size: 0.95em;
}

.form-radio-group {
	display: flex;
	gap: 20px;
	margin-top: 8px;
}

.form-radio-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.form-radio {
	width: 18px;
	height: 18px;
	cursor: pointer;
	accent-color: var(--lg);
}

.form-radio-label {
	cursor: pointer;
	font-size: 0.95em;
}

.conditional-field {
	margin-top: 15px;
	padding-left: 20px;
	border-left: 3px solid var(--lg);
}

.file-upload-section {
	background: rgba(255, 255, 255, .05);
	border: 2px solid rgba(255, 255, 255, .2);
	padding: 30px;
	margin-bottom: 30px;
	border-radius: 4px;
}

.file-upload-group {
	margin-bottom: 25px;
	padding-bottom: 25px;
	border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.file-upload-group:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.file-upload-label {
	font-weight: 600;
	margin-bottom: 12px;
	display: block;
	color: white;
}

.file-upload-wrapper {
	display: flex;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
}

.file-upload-btn {
	background: var(--tan);
	color: white;
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-family: "Open Sans", sans-serif;
	font-weight: 600;
	transition: background 0.3s;
}

.file-upload-btn:hover {
	background: var(--lg);
}

.file-upload-name {
	color: rgba(255, 255, 255, .7);
	font-size: 0.9em;
}

.agreements-section {
	background: rgba(103, 138, 118, .1);
	border: 2px solid var(--lg);
	padding: 30px;
	margin-bottom: 30px;
	border-radius: 4px;
}

.agreement-item {
	display: flex;
	gap: 15px;
	margin-bottom: 20px;
	align-items: flex-start;
}

.agreement-item:last-child {
	margin-bottom: 0;
}

.agreement-initials {
	width: 80px;
	padding: 8px;
	border: 2px solid var(--lg);
	background: rgba(255, 255, 255, .08);
	color: white;
	font-family: "Open Sans", sans-serif;
	text-align: center;
	border-radius: 4px;
	flex-shrink: 0;
}

.agreement-initials::placeholder {
	color: rgba(255, 255, 255, .5);
}

.agreement-text {
	flex: 1;
	line-height: 1.6;
}

.signature-section {
	display: flex;
	gap: 20px;
	align-items: flex-end;
	margin-top: 30px;
}

.signature-group {
	flex: 1;
}

.date-group {
	width: 200px;
}

.form-submit-btn {
	background: var(--lg);
	color: white;
	padding: 15px 40px;
	border: 2px solid var(--lg);
	font-family: "Open Sans", sans-serif;
	font-weight: bold;
	font-size: 1.1em;
	letter-spacing: 2px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.3s, color 0.3s;
	border-radius: 4px;
	display: block;
	margin: 20px auto 0;
	min-width: 250px;
}

.form-submit-btn:hover {
	background: var(--brown);
	color: white;
}

.form-note {
	font-size: 0.9em;
	color: var(--tan);
	margin-top: 8px;
	font-style: italic;
}

.submission-info {
	background: rgba(255, 255, 255, .05);
	border: 2px solid var(--tan);
	padding: 25px;
	margin-top: 40px;
	border-radius: 4px;
	text-align: center;
}

.submission-info h4 {
	color: var(--tan);
	margin-bottom: 15px;
}

.submission-info p {
	margin-bottom: 10px;
}

.submission-info a {
	color: var(--lg);
	font-weight: 600;
	border-bottom: 1px solid var(--lg);
}

.submission-info a:hover {
	color: white;
}

/* Responsive Styles */
@media (max-width: 768px) {
	.form-section {
		padding: 20px;
	}

	.form-row {
		flex-direction: column;
		gap: 0;
	}

	.form-section-title {
		font-size: 1.3em;
	}

	.form-checkbox-group,
	.form-radio-group {
		flex-direction: column;
		gap: 12px;
	}

	.signature-section {
		flex-direction: column;
		gap: 20px;
	}

	.date-group {
		width: 100%;
	}

	.agreement-item {
		flex-direction: column;
		gap: 10px;
	}

	.agreement-initials {
		width: 100%;
	}

	.file-upload-wrapper {
		flex-direction: column;
		align-items: flex-start;
	}

	.form-submit-btn {
		width: 100%;
		min-width: auto;
	}
}