body {
	font-family: "Open Sans", sans-serif !important;
	font-size: 14px;
	line-height: 180%;
	color: #444;
	font-weight: normal;
	min-height: 100%;
}

/* Text fields should be left aligned for better readability */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
	text-align: left;
}

/* Dropdowns can remain centered */
select {
	text-align: center;
	text-align-last: center;
}

/* Disabled fixed fields can stay centered */
input:disabled {
	text-align: center;
	background-color: #f8f9fa;
	font-weight: 600;
}

/* Placeholder alignment */
input[type="email"]::placeholder,
input[type="text"]::placeholder,
input[type="tel"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder {
	text-align: left;
}

input[type="email"]:-ms-input-placeholder,
input[type="text"]:-ms-input-placeholder,
input[type="tel"]:-ms-input-placeholder {
	text-align: left;
}

input[type="email"]::-ms-input-placeholder,
input[type="text"]::-ms-input-placeholder,
input[type="tel"]::-ms-input-placeholder {
	text-align: left;
}

h2 {
	margin-top: 10px;
}

label {
	color: #333333;
}

.reg_btn {
	margin-top: 10px;
}

.login,
.instruction {
	margin: 5%;
}

.profile {
	margin-bottom: 5%;
	margin-left: 1%;
	margin-right: 1%;
}

.instruction ul > li,
.profile ul > li {
	text-align: justify;
	text-justify: distribute;
}

.instruction h3,
.profile h3 {
	text-align: center;
	margin-bottom: 5%;
}

.login h2,
.profile h2 {
	font-weight: normal;
	text-align: center;
}

.login .logo {
	margin-top: 5%;
}

.form-label {
	font-weight: bold;
}

.login form {
	width: 50%;
}

.register form {
	width: 60%;
}

.register {
	margin: 2%;
}

.form-select {
	padding: 5px;
	text-align: center;
	text-align-last: center;
}

.message {
	margin-top: 2%;
}

/* Razorpay button - single final style */
.razorpay-payment-button {
	background: #BB2D3B;
	border: 1px solid #BB2D3B;
	font-size: 16px;
	width: 25%;
	color: white !important;
	margin-top: 5%;
	border-radius: .25rem;
	padding: 10px 70px;
}

/* Old table-based styles - keep only if these table sections are still used */
#education_experience td > input[type=text],
#work_experience td > input[type=text] {
	width: 100px;
}

#education_experience td > input[type=file],
#work_experience td > input[type=file] {
	width: 200px;
}

#work_experience td {
	width: 250px;
}

#work_experience td > textarea {
	width: 200px;
}

#work_experience td > select {
	width: 200px;
}

.form-label-sm {
	font-size: 12px;
	font-weight: bold;
}

.form-select > option {
	text-align: center;
}

/* Work experience row card style */
#work_experience > .exp_details > .row {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 12px;
	margin-bottom: 12px;
	background: #fafafa;
	align-items: flex-start;
	flex-wrap: wrap;
}

/* Keep labels aligned but do not push controls down */
#work_experience .exp_details label.form-label {
	min-height: 32px;
	display: block;
	margin-bottom: 4px;
	white-space: nowrap;
}

/* Wider Institution and Designation */
#work_experience .institution-col {
	flex: 0 0 160px;
	max-width: 160px;
	min-width: 160px;
}

#work_experience .designation-col {
	flex: 0 0 150px;
	max-width: 150px;
	min-width: 150px;
}

#work_experience .institution-col input,
#work_experience .designation-col input {
	width: 100%;
}

/* Institution Type width/alignment fix */
#work_experience .institution-type-col {
	flex: 0 0 190px;
	max-width: 190px;
	min-width: 190px;
}

#work_experience .institution-type-col label {
	white-space: nowrap;
}

#work_experience .institution-type-col select {
	width: 100%;
	min-width: 0;
}

/* Compact From/To date fields without breaking label alignment */
#work_experience .exp-date-col {
	flex: 0 0 245px;
	max-width: 245px;
	min-width: 245px;
}

#work_experience .exp-date-col > .row {
	--bs-gutter-x: .25rem;
	flex-wrap: wrap;
	align-items: flex-start;
}

#work_experience .exp-date-col > .row > label {
	flex: 0 0 100%;
	max-width: 100%;
	min-height: 32px;
	margin-bottom: 4px;
}

#work_experience .exp-date-col select.form-select {
	flex: 0 0 72px;
	width: 72px;
	min-width: 72px;
	max-width: 72px;
	padding-left: 4px;
	padding-right: 16px;
}

/* Task and duties */
#work_experience .task-duty-col {
	flex: 0 0 280px;
	max-width: 280px;
	min-width: 280px;
}

#work_experience .task-duty-col textarea {
	width: 100%;
}

/* Work certificate file input width so filename is visible */
#work_experience .work-cert-col {
	flex: 0 0 285px;
	max-width: 285px;
	min-width: 285px;
}

#work_experience .work-cert-col input[type="file"] {
	width: 100%;
	min-width: 260px;
}

/* Trash delete icon style */
#work_experience .delete-col {
	flex: 0 0 40px;
	max-width: 40px;
	min-width: 40px;
}

.remove {
	color: #dc3545;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin-top: 36px;
	text-decoration: none;
}

.remove:hover {
	color: #a71d2a;
	text-decoration: none;
}

#submit {
	font-size: 16px;
	width: 25%;
	color: white;
	margin-top: 5%;
}

.education_details label,
.exp_details label {
	font-size: 12px;
}

a {
	color: #2BAAE1;
}

.dob {
	margin-bottom: -10px;
}

.hidden-pc {
	display: none;
}


@media only screen and (max-width: 1200px) {
	#work_experience .institution-col,
	#work_experience .designation-col,
	#work_experience .institution-type-col,
	#work_experience .exp-date-col,
	#work_experience .task-duty-col,
	#work_experience .work-cert-col,
	#work_experience .delete-col {
		flex: 1 1 100%;
		max-width: 100%;
		min-width: 100%;
	}

	#work_experience .exp-date-col select.form-select {
		flex: 1 1 0;
		width: auto;
		max-width: none;
		min-width: 0;
	}
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
	.hidden-pc {
		display: none;
	}

	.register {
		width: 100%;
		font-size: 30px;
	}

	.login form {
		width: 50%;
	}

	.register form {
		width: 100%;
	}

	#submit {
		width: 50%;
	}

	.instruction {
		margin: 5%;
		font-size: 30px;
	}

	.instruction ul > li {
		font-size: 24px;
	}

	.reg_btn {
		width: 80%;
		font-size: 25px;
	}
}

@media only screen and (max-width: 768px) {
	.hidden-pc {
		display: none;
	}

	.login form,
	.register form {
		width: 100%;
	}

	#submit {
		width: 50%;
		margin-top: 3%;
	}

	.instruction {
		margin: 5%;
	}

	.instruction ul > li {
		font-size: 22px;
	}

	.reg_btn {
		width: 80%;
		font-size: 25px;
	}
}

@media only screen and (max-width: 600px) {
	.hidden-pc {
		display: block;
	}

	.login form,
	.register form {
		width: 100%;
	}

	#submit {
		width: 50%;
	}

	.instruction {
		margin: 8%;
	}

	.razorpay-payment-button {
		padding: 10px;
		width: 60%;
	}

	.form-control {
		margin: 5px 0;
	}

	/* Better trash icon tap area on mobile */
	.remove {
		margin-top: 8px;
		width: 100%;
		justify-content: center;
		border: 1px solid #dc3545;
		border-radius: 4px;
		padding: 8px;
		background: #fff;
	}
}

@media only screen and (max-width: 540px) {
	.hidden-pc {
		display: block;
	}

	.register form {
		width: 100%;
	}

	.reg_btn {
		width: 60%;
		font-size: 20px;
	}

	#submit {
		margin-top: 3%;
	}

	.instruction {
		margin: 8%;
	}
}

@media only screen and (max-width: 414px) {
	.hidden-pc {
		display: block;
	}

	.login form,
	.register form {
		width: 100%;
	}

	.instruction ul > li {
		font-size: 14px;
		word-spacing: -1px;
	}

	#submit {
		width: 50%;
	}

	.instruction {
		margin: 5%;
	}

	.reg_btn {
		width: 60%;
		font-size: 20px;
	}
}

@media only screen and (max-width: 375px) {
	.hidden-pc {
		display: block;
	}

	.login form,
	.register form {
		width: 100%;
	}

	.instruction ul > li {
		font-size: 14px;
		word-spacing: -1px;
	}

	#submit {
		width: 50%;
	}

	.instruction {
		margin: 4%;
	}

	.reg_btn {
		width: 70%;
		font-size: 18px;
	}
}

@media only screen and (max-width: 300px) {
	.hidden-pc {
		display: block;
	}

	.login form,
	.register form {
		width: 100%;
	}

	#submit {
		width: 50%;
	}

	.reg_btn {
		width: 50%;
		font-size: 14px;
	}
}

@media only screen and (max-width: 280px) {
	.hidden-pc {
		display: block;
	}

	.login form,
	.register form {
		width: 100%;
	}

	#submit {
		width: 50%;
	}

	.reg_btn {
		width: 50%;
		font-size: 14px;
	}

	.instruction ul > li {
		font-size: 14px;
		word-spacing: -1px;
	}

	.form-check label {
		padding-left: 0em;
	}
}
