/* Form Styling */
.job-application-form {
	max-width: 1000px;
	margin: 0 auto;
	background: white;
	border-radius: 10px;
	box-shadow: var(--shadow);
	padding: 40px;

	.filepond--drop-label.filepond--drop-label label{
		font-size: 14px;
	}
}

.no-padding{
	padding: 0;
}

.no-padding-bottom{
	padding-bottom: 0;
}

h1, h3 {
	text-align: center;
	margin-bottom: 30px;
	color: var(--primary-color);
	font-weight: 600;
}

.section-title {
	font-size: 1.2rem;
	margin-bottom: 20px;
	border-bottom: 2px solid var(--primary-color);
}

/* Maintain compatibility with Bootstrap grid while adding our custom styling */
.form-row {
	display: flex;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-left: -15px;
	margin-bottom: 20px;
}

.form-group {
	position: relative;
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
	margin-bottom: 1rem;
}

/* Keep Bootstrap grid classes behavior */
.col-md-3 {
	flex: 0 0 25%;
	max-width: 25%;
}

.col-md-4 {
	flex: 0 0 33.333333%;
	max-width: 33.333333%;
}

.col-md-6 {
	flex: 0 0 50%;
	max-width: 50%;
}

.col-md-8 {
	flex: 0 0 66.666667%;
	max-width: 66.666667%;
}

.col-md-12 {
	flex: 0 0 100%;
	max-width: 100%;
}

/* Label styling */
label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
}

/* Form controls */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea,
.form-control {
	width: 100%;
	padding: 12px;
	border: 1px solid var(--border-color);
	border-radius: 5px;
	font-size: 16px;
	transition: border 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus,
.form-control:focus {
	border-color: var(--primary-color);
	outline: none;
	box-shadow: 0 0 0 3px var(--primary-light);
}

/* FilePond styling - works with original upload structure */
.filepond--root {
	margin-bottom: 1rem;
	font-family: inherit;
	font-size: 16px;
}


.filepond--file-wrapper{
	color: var(--text-color-white);
}

.filepond--panel-root {
	background-color: var(--bg-light);
	border: 1px solid var(--border-color);
	border-radius: 5px;
}

.filepond--drop-label {
	color: var(--text-color);
	font-size: 16px;
}

.filepond--label-action {
	color: var(--primary-color);
	text-decoration: underline;
}

.filepond--file-action-button {
	background-color: var(--primary-color);
}

.filepond--file {
	color: var(--text-color-white);
}

.filepond--file-info {
	color: var(--text-color-white);
}

/* Additional helper text styling */
.form-text {
	color: #666;
	margin-top: 0.5rem;
	font-size: 0.875rem;
}

.text-muted {
	color: #6c757d !important;
}

/* Privacy checkbox styling */
.privacy-check {
	display: flex;
	align-items: flex-start;
	margin: 20px 0;
	padding: 15px;
	background-color: var(--bg-light);
	border-radius: 5px;

	input{
		margin-top: 5px !important;
		margin-right: 10px !important;
		accent-color: #99CC00;
	}
}

.form-check-input {
	margin-top: 5px;
	margin-right: 10px;
}

.privacy-link {
	text-decoration: none;
}

.privacy-link:hover {
	text-decoration: underline;
}

.info-text {
	font-size: 14px;
	color: #666;
	text-align: center;
	margin: 20px 0;
}

.button-row {
	display: flex;
	justify-content: space-between;
	margin-top: 30px;

	.btn-form {
		padding: 12px 24px;
		border: none;
		border-radius: 5px;
		cursor: pointer;
		font-size: 16px;
		font-weight: 500;
		transition: all 0.3s;
	}

	.btn-back {
		background-color: transparent;
		color: var(--text-color);
	}

	.btn-back:hover {
		color: var(--secondary-color);
	}

	.btn-submit {
		background-color: var(--primary-color);
		color: #333333;
		box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	}

	.btn-submit:hover {
		background-color: var(--primary-hover);
		transform: translateY(-2px);
		box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	}

	.btn-submit:active {
		background-color: var(--primary-focus);
		transform: translateY(0);
	}

	.btn-submit:disabled {
		background-color: #95a5a6;
		cursor: not-allowed;
		transform: none;
	}
}

.new-mail {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

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

	.col-md-3, .col-md-4, .col-md-6, .col-md-8, .col-md-12 {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.button-row {
		flex-direction: column-reverse;
		gap: 15px;
	}

	.btn {
		width: 100%;
		text-align: center;
	}
}