body {
	font-family: Arial, sans-serif;
	background: #f5f5f5;
	margin: 0;
	padding: 20px;
}

.container {
	max-width: 900px;
	margin: auto;
	background: #fff;
	padding: 45px;
	border: 1px solid #ccc;
}

.university-header {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 15px;
	align-items: center;
	text-align: left;
}

.logo img {
	width: 150px;
	height: auto;
}

.university {
	font-weight: bold;
	letter-spacing: 0.5px;
	text-align: center;
	font-size: 35px;
}

.address {
	letter-spacing: 0.5px;
	font-size: 20px;
	margin-top: 5px;
	text-align: center;
}

.top-section {
	display: grid;
	grid-template-columns: 1fr 220px;
	column-gap: 30px;
	align-items: start;
}

/* LEFT */
.left-fields {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.field-row {
	display: grid;
	grid-template-columns: 220px 1fr;
	align-items: center;
	gap: 10px;
}

.personal-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 15px;
}

.field-row label {
	font-weight: bold;
	font-size: 15px;
}

.field-row input {
	border: 1px solid #000;
	padding: 6px;
}

.field-row p {
	margin: 0;
	font-weight: bold;
}

.field-row textarea {
	flex: 1;
	padding: 6px;
	border: 1px solid #000;
	resize: none;
	font-family: Arial, sans-serif;
}

/* Photo */
.photo-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
}

.upload-box {
	border: 1px solid #000;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.upload-box.photo {
	width: 200px;
	height: 230px;
}

.signature-wrapper {
	display: flex;
	margin-top: 20px;
	justify-content: center;
}

.upload-box.signature {
	width: 200px;
	height: 60px;
}

.upload-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: none;
}

.upload-box input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.upload-box span {
	font-size: 13px;
	color: #555;
}

.submit-btn {
	display: block;
	margin: 20px auto;
	padding: 10px 40px;
	border: 2px solid #000;
	background: #e0e0e0;
	font-weight: bold;
	cursor: pointer;
	border-radius: 4px;
	font-size: 16px;
	transition: background 0.2s ease;
	border-radius: 30px;
}

.submit-btn:hover {
	background: #cfcfcf;
}

.final-submit {
	margin-top: 30px;
	text-align: center;
	background: #d9d9d9;
	padding: 12px;
	font-weight: bold;
	font-size: 16px;
	cursor: pointer;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-group label {
	font-weight: bold;
	margin: 20px 0 10px;
	font-size: 14px;
	margin-bottom: 3px;
}

.form-group input,
.form-group select,
.field-row select {
	padding: 6px;
	border: 1px solid #000;
}

.section-title {
	font-weight: bold;
	margin: 20px 0 10px;
}

/* Qualification Table */
.table-section {
	margin-top: 30px;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}

table,
th,
td {
	border: 1px solid #000;
}

th,
td {
	padding: 6px;
	text-align: center;
	font-size: 13px;
}

td input {
	width: 95%;
	border: 1px solid #000;
	padding: 4px;
}

/* Declaration */
.declaration {
	margin-top: 25px;
}

.declaration p {
	font-size: 14px;
	margin: 10px 0;
}

.declaration input[type="checkbox"] {
	margin-right: 10px;
}
.alert {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-weight: 500;
}
.alert-success {
    background: #e6f9f0;
    color: #067647;
    border: 1px solid #a7f3d0;
}
.alert-error {
    background: #fdecea;
    color: #9f1239;
    border: 1px solid #fecaca;
}

/* Payment page styles */
.payment-container {
	max-width: 800px;
	margin: 40px auto;
	padding: 24px;
	border: 1px solid #ccc;
	background: #fff;
}

.payment-header {
	text-align: center;
	margin-bottom: 24px;
}

.qr-wrapper {
	display: flex;
	justify-content: center;
	margin-bottom: 16px;
}

.payment-container .qr-wrapper img {
	max-width: 250px;
	border: 1px solid #ddd;
	padding: 8px;
	background: #fafafa;
}

.info-text {
	font-size: 14px;
	margin-bottom: 20px;
	text-align: center;
}

.payment-form-group {
	margin-bottom: 16px;
}

.payment-form-group label {
	display: block;
	font-weight: bold;
	margin-bottom: 6px;
}

/* Override default button style for payment page */
.payment-container .submit-btn {
	display: inline-block;
	padding: 10px 20px;
	background: #007bff;
	color: #fff;
	border: none;
	cursor: pointer;
	border-radius: 4px;
	font-weight: bold;
}

.payment-container .submit-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}