/* HR Bureau - Registration Styles */

/* Registration Container */
.registration-container {
	margin-top: 100px;
	margin-bottom: 50px;
}

.registration-card {
	background: white;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	overflow: hidden;
}

.registration-header {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
	color: white;
	padding: 2rem;
	text-align: center;
}

.registration-body {
	padding: 3rem;
}

/* Progress Bar */
.progress-container {
	margin-bottom: 2rem;
}

.progress {
	height: 8px;
	border-radius: 10px;
	background-color: #e9ecef;
}

.progress-bar {
	background-color: var(--primary-color);
	border-radius: 10px;
	transition: width 0.6s ease;
}

/* Step Indicator */
.step-indicator {
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.step {
	display: flex;
	align-items: center;
	margin: 0 1rem 0.5rem;
}

.step-number {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #e9ecef;
	color: #6c757d;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	margin-right: 0.5rem;
	transition: all 0.3s ease;
}

.step-number.active {
	background-color: var(--primary-color);
	color: white;
	transform: scale(1.1);
}

.step-number.completed {
	background-color: var(--success-color);
	color: white;
}

.step-text {
	font-size: 0.9rem;
	color: #6c757d;
	transition: all 0.3s ease;
}

.step-text.active {
	color: var(--primary-color);
	font-weight: 600;
}

/* Form Sections */
.form-section {
	display: none;
	animation: fadeIn 0.5s ease-in-out;
}

.form-section.active {
	display: block;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.section-title {
	color: var(--primary-color);
	border-bottom: 2px solid var(--primary-color);
	padding-bottom: 0.5rem;
	margin-bottom: 1.5rem;
	font-weight: 600;
}

/* Navigation Buttons */
.navigation-buttons {
	display: flex;
	justify-content: space-between;
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid #dee2e6;
}

/* Photo Upload Styles */
.photo-upload {
	text-align: center;
	margin-bottom: 2rem;
}

.photo-preview {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	border: 3px solid var(--primary-color);
	margin: 0 auto 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f8f9fa;
	overflow: hidden;
	position: relative;
	transition: all 0.3s ease;
}

.photo-preview:hover {
	border-color: var(--accent-color);
	transform: scale(1.05);
}

.photo-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.photo-preview .placeholder {
	color: #6c757d;
	font-size: 3rem;
}

.file-input-wrapper {
	position: relative;
	overflow: hidden;
	display: inline-block;
}

.file-input-wrapper input[type=file] {
	position: absolute;
	left: -9999px;
}

.file-input-button {
	background-color: var(--primary-color);
	color: white;
	padding: 8px 20px;
	border-radius: 20px;
	cursor: pointer;
	border: none;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	display: inline-block;
}

.file-input-button:hover {
	background-color: #1e3d6f;
	transform: translateY(-2px);
}

/* Resume Upload Styles */
.resume-upload-area {
	border: 2px dashed #dee2e6;
	border-radius: 10px;
	padding: 2rem;
	text-align: center;
	transition: all 0.3s ease;
	margin-bottom: 1rem;
	cursor: pointer;
}

.resume-upload-area:hover {
	border-color: var(--primary-color);
	background-color: #f8f9fa;
}

.resume-upload-area.dragover {
	border-color: var(--primary-color);
	background-color: #e3f2fd;
	transform: scale(1.02);
}

.upload-content {
	transition: all 0.3s ease;
}

.resume-upload-area:hover .upload-content {
	transform: translateY(-5px);
}

/* Uploaded File Display */
.uploaded-file {
	background-color: #e8f5e8;
	border: 1px solid #c3e6c3;
	border-radius: 8px;
	padding: 1rem;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: all 0.3s ease;
}

.uploaded-file:hover {
	background-color: #d4edda;
	transform: translateX(5px);
}

.file-info {
	display: flex;
	align-items: center;
}

.file-icon {
	font-size: 1.5rem;
	margin-right: 0.5rem;
	color: var(--success-color);
}

.file-details {
	flex-grow: 1;
}

.file-name {
	font-weight: 600;
	color: var(--dark-color);
}

.file-size {
	font-size: 0.8rem;
	color: #6c757d;
}

.file-actions {
	display: flex;
	gap: 0.5rem;
}

.btn-file-action {
	background: none;
	border: none;
	color: #6c757d;
	font-size: 1.2rem;
	cursor: pointer;
	transition: color 0.3s ease;
	padding: 0.25rem;
}

.btn-file-action:hover {
	color: var(--primary-color);
}

.btn-file-action.delete:hover {
	color: var(--danger-color);
}

/* Review Section Styles */
.review-content {
	background-color: #f8f9fa;
	border-radius: 10px;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
}

.review-section {
	margin-bottom: 2rem;
}

.review-section:last-child {
	margin-bottom: 0;
}

.review-table {
	margin-bottom: 0;
}

.review-table td {
	padding: 0.5rem 0;
	border: none;
	border-bottom: 1px solid #dee2e6;
}

.review-table td:first-child {
	font-weight: 600;
	color: var(--dark-color);
	width: 40%;
}

.review-table td:last-child {
	color: #6c757d;
}

/* Terms and Conditions */
.form-check-input:checked {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.form-check-input:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

/* Responsive Design for Registration */
@media (max-width: 768px) {
	.registration-body {
		padding: 2rem;
	}

	.step {
		margin: 0 0.5rem 0.5rem;
	}

	.step-text {
		font-size: 0.8rem;
	}

	.navigation-buttons {
		flex-direction: column;
		gap: 1rem;
	}

	.navigation-buttons .btn {
		width: 100%;
	}

	.photo-preview {
		width: 120px;
		height: 120px;
	}

	.resume-upload-area {
		padding: 1.5rem;
	}
}

@media (max-width: 576px) {
	.registration-container {
		margin-top: 80px;
	}

	.registration-header {
		padding: 1.5rem;
	}

	.registration-body {
		padding: 1.5rem;
	}

	.step-indicator {
		justify-content: center;
	}

	.step {
		margin: 0 0.25rem 0.5rem;
		flex-direction: column;
		text-align: center;
	}

	.step-number {
		margin-right: 0;
		margin-bottom: 0.25rem;
	}

	.step-text {
		font-size: 0.75rem;
	}
}