/* =================================================================
   CV BUILDER - 3 STEP PREMIUM DESIGN (Free Online CV Maker)
================================================================= */

.mmc-cv-builder {
	padding: 40px 20px 80px;
	background: linear-gradient(135deg, var(--light-gray) 0%, #e8eef5 100%);
	min-height: 100vh;
	position: relative;
	overflow-x: hidden;
}

/* Subtle animated background effect */
.mmc-cv-builder::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background:
		radial-gradient(
			circle at 20% 50%,
			rgba(31, 58, 95, 0.05) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 80% 80%,
			rgba(76, 175, 80, 0.05) 0%,
			transparent 50%
		);
	pointer-events: none;
	animation: backgroundPulse 20s ease-in-out infinite;
	z-index: 0;
}

@keyframes backgroundPulse {
	0%,
	100% {
		opacity: 0.5;
	}
	50% {
		opacity: 1;
	}
}

.mmc-cv-builder > * {
	position: relative;
	z-index: 1;
}

.mmc-cv-builder .container {
	max-width: 800px;
	margin: 0 auto;
}

/* =================================================================
   PROGRESS BAR - 3 STEPS
================================================================= */

.step-progress {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 30px auto 20px;
	position: relative;
	max-width: 500px;
}

.step-circle {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #e0e7ef;
	color: #8895a7;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	z-index: 2;
	transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	position: relative;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
	cursor: pointer;
	font-weight: 700;
}

.step-circle::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	background: linear-gradient(
		135deg,
		var(--brand-blue) 0%,
		var(--brand-blue-light) 100%
	);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: -1;
}

.step-circle.active {
	background: linear-gradient(
		135deg,
		var(--brand-blue) 0%,
		var(--brand-blue-light) 100%
	);
	color: white;
	transform: scale(1.15);
	box-shadow: 0 6px 20px rgba(31, 58, 95, 0.4);
	animation: pulse 2s ease-in-out infinite;
}

.step-circle.active::after {
	opacity: 0.2;
	animation: ripple 2s ease-out infinite;
}

@keyframes pulse {
	0%,
	100% {
		box-shadow: 0 6px 20px rgba(31, 58, 95, 0.4);
	}
	50% {
		box-shadow: 0 8px 25px rgba(31, 58, 95, 0.6);
	}
}

@keyframes ripple {
	0% {
		transform: scale(0.8);
		opacity: 0.5;
	}
	100% {
		transform: scale(1.2);
		opacity: 0;
	}
}

.step-circle.completed {
	background: linear-gradient(
		135deg,
		var(--brand-green) 0%,
		var(--brand-green-hover) 100%
	);
	color: white;
	animation: checkmarkPop 0.5s ease-out;
}

@keyframes checkmarkPop {
	0% {
		transform: scale(0);
	}
	50% {
		transform: scale(1.2);
	}
	100% {
		transform: scale(1);
	}
}

.step-line {
	position: relative;
	flex: 1;
	height: 4px;
	background: #e0e7ef;
	margin: 0px;
	border-radius: 2px;
	overflow: hidden;
}

.step-line-fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background: linear-gradient(
		90deg,
		var(--brand-blue) 0%,
		var(--brand-blue-light) 100%
	);
	width: 0%;
	transition: width 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Step Labels */
.step-labels {
	display: flex;
	justify-content: space-between;
	max-width: 700px;
	margin: 10px auto 40px;
	padding: 0 10px;
}

.step-label {
	font-size: 0.85rem;
	color: #8895a7;
	font-weight: 600;
	text-align: center;
	flex: 1;
	transition: color 0.3s ease;
}

.step-label.active {
	color: var(--brand-blue);
}

/* =================================================================
   STEP CONTAINER & ANIMATIONS
================================================================= */

.mmc-step {
	opacity: 0;
	pointer-events: none;
	display: none;
	animation: fadeSlideIn 0.5s ease-out forwards;
}

.step-active {
	display: block;
	opacity: 1;
	pointer-events: auto;
}

@keyframes fadeSlideIn {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.mmc-step-container {
	background: white;
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

/* =================================================================
   STEP HEADER
================================================================= */

.mmc-step-header {
	background: linear-gradient(
		135deg,
		var(--brand-blue) 0%,
		var(--brand-blue-light) 100%
	);
	color: white;
	padding: 30px;
	position: relative;
}

.mmc-step-header h2 {
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.mmc-step-header h2 i {
	font-size: 1.6rem;
}

.mmc-step-header p {
	font-size: 1rem;
	opacity: 0.95;
	margin: 0;
}

.btn-back {
	position: absolute;
	top: 30px;
	right: 30px;
	background: rgba(255, 255, 255, 0.15);
	border: 2px solid rgba(255, 255, 255, 0.3);
	color: white;
	padding: 8px 16px;
	border-radius: 8px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.btn-back:hover {
	background: rgba(255, 255, 255, 0.25);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateX(-3px);
}

/* =================================================================
   FORM CARD
================================================================= */

.mmc-form-card {
	padding: 35px;
}

.form-section-header {
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid #f0f4f8;
}

.form-section-header h4 {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--brand-blue);
	margin: 0 0 5px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.form-section-header h4 i {
	font-size: 1.1rem;
}

.form-section-header .hint {
	font-size: 0.85rem;
	color: #6c757d;
	margin: 0;
}

.form-section-header.mt-4 {
	margin-top: 35px;
}

/* =================================================================
   FORM ROWS & COLUMNS
================================================================= */

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-bottom: 18px;
}

.form-col-full {
	grid-column: 1 / -1;
}

.form-col-3 {
	grid-column: span 1;
}

.form-col-checkbox {
	display: flex;
	align-items: center;
}

/* Single column on mobile */
@media (max-width: 768px) {
	.form-row {
		grid-template-columns: 1fr;
	}

	.form-col-3 {
		grid-column: span 1;
	}
}

/* =================================================================
   FORM INPUTS - PREMIUM DESIGN
================================================================= */

.form-row label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	color: #2c3e50;
	margin-bottom: 6px;
}

.form-row label i {
	margin-right: 6px;
	color: var(--brand-blue);
}

.required {
	color: #e74c3c;
	font-weight: 700;
}

.optional {
	color: #95a5a6;
	font-size: 0.8rem;
	font-weight: 400;
}

.mmc-input,
.mmc-input-sm,
.mmc-select-sm,
.mmc-textarea,
.mmc-textarea-sm {
	width: 100%;
	padding: 12px 14px;
	font-size: 0.95rem;
	border: 2px solid #e0e7ef;
	border-radius: 8px;
	background: #f8fafc;
	font-family: var(--mmc-font);
	color: #2c3e50;
	transition: all 0.3s ease;
	outline: none;
}

.mmc-input:focus,
.mmc-input-sm:focus,
.mmc-select-sm:focus,
.mmc-textarea:focus,
.mmc-textarea-sm:focus {
	border-color: var(--brand-blue);
	background: white;
	box-shadow: 0 0 0 4px rgba(31, 58, 95, 0.1);
	transform: translateY(-1px);
}

/* Smooth hover effect on inputs */
.mmc-input:hover:not(:focus),
.mmc-input-sm:hover:not(:focus),
.mmc-select-sm:hover:not(:focus),
.mmc-textarea:hover:not(:focus),
.mmc-textarea-sm:hover:not(:focus) {
	border-color: #94a3b8;
	background: #ffffff;
}

.mmc-input::placeholder,
.mmc-input-sm::placeholder,
.mmc-textarea::placeholder,
.mmc-textarea-sm::placeholder {
	color: #95a5a6;
}

.mmc-textarea {
	min-height: 120px;
	resize: vertical;
	line-height: 1.6;
}

.mmc-textarea-sm {
	min-height: 70px;
	resize: vertical;
	padding: 10px 12px;
	font-size: 0.9rem;
}

.mmc-input-sm,
.mmc-select-sm {
	padding: 10px 12px;
	font-size: 0.9rem;
}

/* Error States */
.error-border {
	border-color: #e74c3c !important;
	background: #fef5f5 !important;
}

.field-error {
	display: block;
	color: #e74c3c;
	font-size: 0.82rem;
	margin-top: 6px;
	font-weight: 500;
}

/* Character Counter */
.char-counter {
	text-align: right;
	font-size: 0.8rem;
	color: #95a5a6;
	margin-top: 6px;
}

/* Hint Text */
.hint-text {
	font-size: 0.85rem;
	color: #6c757d;
	margin-top: 8px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.hint-text i {
	color: var(--brand-blue);
}

/* =================================================================
   COMPACT CARDS (Education, Courses, Experience)
================================================================= */

.compact-card {
	background: #f8fafc;
	border: 2px solid #e0e7ef;
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 15px;
	position: relative;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.compact-card:hover {
	border-color: var(--brand-blue);
	box-shadow:
		0 8px 16px rgba(31, 58, 95, 0.12),
		0 2px 4px rgba(0, 0, 0, 0.06);
	transform: translateY(-2px);
}

/* Smooth animation when card is added */
@keyframes slideInCard {
	from {
		opacity: 0;
		transform: translateY(20px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.compact-card {
	animation: slideInCard 0.4s ease-out;
}

.card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 2px solid #e0e7ef;
}

.card-number {
	background: linear-gradient(
		135deg,
		var(--brand-blue) 0%,
		var(--brand-blue-light) 100%
	);
	color: white;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.9rem;
}

.btn-remove {
	background: #ff5a5f;
	border: none;
	color: white;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 14px;
}

.btn-remove:hover {
	background: #e74c3c;
	transform: rotate(90deg);
}

/* =================================================================
   SKILLS SECTION - INLINE ROW DESIGN
================================================================= */

.skill-row {
	display: grid;
	grid-template-columns: 2fr 1fr auto;
	gap: 12px;
	margin-bottom: 12px;
	align-items: center;
}

.btn-remove-skill {
	background: #ff5a5f;
	border: none;
	color: white;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 14px;
}

.btn-remove-skill:hover {
	background: #e74c3c;
	transform: scale(1.1);
}

@media (max-width: 576px) {
	.skill-row {
		grid-template-columns: 1fr;
	}

	.btn-remove-skill {
		justify-self: end;
	}
}

/* =================================================================
   CHECKBOX STYLING
================================================================= */

.checkbox-label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-size: 0.9rem;
	color: #2c3e50;
	font-weight: 500;
	margin: 0;
}

.checkbox-label input[type="checkbox"] {
	width: 20px;
	height: 20px;
	cursor: pointer;
	accent-color: var(--brand-blue);
}

/* =================================================================
   ADD ITEM BUTTON
================================================================= */

.btn-add-item {
	width: 100%;
	background: transparent;
	border: 2px dashed var(--brand-green);
	color: var(--brand-green);
	padding: 12px 20px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 15px;
	margin-bottom: 20px;
	position: relative;
	overflow: hidden;
}

/* Ripple effect on click */
.btn-add-item::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(76, 175, 80, 0.3);
	transform: translate(-50%, -50%);
	transition:
		width 0.6s,
		height 0.6s;
}

.btn-add-item:active::before {
	width: 300px;
	height: 300px;
}

.btn-add-item:hover {
	background: var(--brand-green);
	color: white;
	border-style: solid;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(76, 175, 80, 0.35);
}

.btn-add-item i {
	font-size: 1.1rem;
}

/* =================================================================
   FORM ACTIONS (SUBMIT BUTTONS)
================================================================= */

.form-actions {
	margin-top: 30px;
	padding-top: 25px;
	border-top: 2px solid #f0f4f8;
	display: flex;
	justify-content: flex-end;
}

/* .mmc-btn {
	padding: 14px 32px;
	font-size: 1.05rem;
	font-weight: 600;
	border-radius: 10px;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--mmc-font);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.mmc-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-primary {
	background: linear-gradient(
		135deg,
		var(--brand-blue) 0%,
		var(--brand-blue-light) 100%
	);
	color: white;
}

.btn-primary:hover {
	background: linear-gradient(
		135deg,
		var(--brand-blue-hover) 0%,
		var(--brand-blue) 100%
	);
} */

.btn-success {
	background: linear-gradient(
		135deg,
		var(--brand-green) 0%,
		var(--brand-green-hover) 100%
	);
	color: white;
}

.btn-success:hover {
	background: var(--bg-white);
	color: var(--brand-green);
	border: 2px solid var(--brand-green);
}

/* =================================================================
   LOADING SPINNER
================================================================= */

#hhLoader {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(8px);
	z-index: 99999;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 20px;
}

#hhLoader.show {
	display: flex !important;
	animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.hh-spinner {
	width: 60px;
	height: 60px;
	border: 6px solid rgba(255, 255, 255, 0.1);
	border-top: 6px solid #3182ce;
	border-right: 6px solid #2b6cb0;
	border-radius: 50%;
	animation: spinEnhanced 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
	box-shadow: 0 0 20px rgba(43, 108, 176, 0.3);
}

/* Add loading text */
#hhLoader::after {
	content: "Processing...";
	color: white;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 1px;
	animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spinEnhanced {
	0% {
		transform: rotate(0deg) scale(1);
	}
	50% {
		transform: rotate(180deg) scale(1.1);
	}
	100% {
		transform: rotate(360deg) scale(1);
	}
}

@keyframes pulse {
	0%,
	100% {
		opacity: 0.6;
	}
	50% {
		opacity: 1;
	}
}

/* =================================================================
   RESPONSIVE ADJUSTMENTS
================================================================= */

@media (max-width: 768px) {
	.mmc-cv-builder {
		padding: 20px 15px 60px;
	}

	.mmc-cv-builder .container {
		max-width: 100%;
	}

	.step-progress {
		max-width: 90%;
		margin: 10px auto 15px;
	}

	.step-circle {
		width: 50px;
		height: 50px;
		font-size: 18px;
	}

	.step-labels {
		font-size: 0.75rem;
		gap: 43px;
	}

	.mmc-step-header {
		padding: 15px 15px;
	}

	.mmc-step-header h2 {
		font-size: 1.4rem;
	}

	.btn-back {
		position: static;
		margin-bottom: 15px;
		width: fit-content;
	}

	.mmc-form-card {
		padding: 20px 15px;
	}

	.form-section-header h4 {
		font-size: 1.05rem;
	}
}

@media (max-width: 576px) {
	.mmc-step-header h2 {
		font-size: 1.2rem;
		flex-direction: column;
		align-items: flex-start;
	}
	.form-section-header {
		margin-bottom: 10px;
		padding-bottom: 5px;
	}
	.mmc-step-header h2 i {
		font-size: 1.3rem;
	}
	.profile-preview-container {
		gap: 10px !important;
		padding: 10px !important;
	}
}

/* =================================================================
   UTILITY CLASSES
================================================================= */

.w-100 {
	width: 100%;
}
.mt-4 {
	margin-top: 25px;
}
.mb-3 {
	margin-bottom: 15px;
}
.text-danger {
	color: #e74c3c;
}
.text-muted {
	color: #6c757d;
}

/* ADD THESE STYLES TO YOUR create-my-cv.css FILE */
/* Or replace the existing step-progress and step-labels sections */

/* =================================================================
   CLICKABLE TABS - NEW STYLES
================================================================= */

/* Make step circles clickable */
.step-circle.clickable {
	cursor: pointer;
	user-select: none;
}

.step-circle.clickable:hover {
	transform: scale(1.15);
	box-shadow: 0 8px 25px rgba(43, 108, 176, 0.3);
}

.step-circle.clickable.active:hover {
	box-shadow: 0 10px 30px rgba(43, 108, 176, 0.5);
}

.step-circle.clickable.completed:hover {
	box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

/* Make step labels clickable */
.step-label.clickable {
	cursor: pointer;
	user-select: none;
	transition: all 0.3s ease;
}

.step-label.clickable:hover {
	color: #2b6cb0;
	transform: translateY(-2px);
}

.step-label.clickable.active:hover {
	color: #1e4a7a;
}

/* Disable pointer when step is not accessible */
.step-circle.disabled,
.step-label.disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.step-circle.disabled:hover,
.step-label.disabled:hover {
	transform: none;
}

/* Visual feedback on click */
.step-circle.clickable:active {
	transform: scale(1.05);
}

.step-label.clickable:active {
	transform: translateY(0);
}

/* Pulse animation for accessible tabs */
@keyframes pulse-hint {
	0%,
	100% {
		box-shadow: 0 6px 20px rgba(43, 108, 176, 0.4);
	}
	50% {
		box-shadow: 0 6px 25px rgba(43, 108, 176, 0.6);
	}
}

.step-circle.clickable.completed {
	animation: pulse-hint 2s ease-in-out infinite;
}

/* =================================================================
   RESPONSIVE CLICKABLE TABS
================================================================= */

@media (max-width: 768px) {
	.step-circle.clickable {
		width: 50px;
		height: 50px;
		font-size: 18px;
	}

	.step-label.clickable {
		font-size: 0.75rem;
	}
}

@media (max-width: 480px) {
	.step-circle.clickable {
		width: 45px;
		height: 45px;
		font-size: 16px;
	}

	.step-label.clickable {
		font-size: 0.7rem;
	}
}

/* =================================================================
   PROFILE PICTURE UPLOAD - FIXED VERSION
================================================================= */

.profile-picture-section {
	margin-bottom: 30px;
}

.profile-preview-container {
	display: flex;
	align-items: flex-start;
	gap: 30px;
	padding: 25px;
	background: #f8fafc;
	border-radius: 12px;
	border: 2px dashed #cbd5e1;
}

.profile-preview {
	position: relative;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 3px solid #e2e8f0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	flex-shrink: 0;
}

/* FIXED: Placeholder styling */
.profile-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
}

.profile-placeholder i {
	font-size: 60px;
	color: #cbd5e1;
	margin-bottom: 5px;
}

.profile-placeholder span {
	font-size: 11px;
	color: #94a3b8;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Image styling */
.profile-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: none; /* Hidden by default */
}

.profile-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.upload-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	background: linear-gradient(135deg, #2b6cb0 0%, #3182ce 100%);
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(43, 108, 176, 0.3);
	width: fit-content;
}

.upload-btn:hover {
	background: linear-gradient(135deg, #1e4a7a 0%, #2b6cb0 100%);
	box-shadow: 0 6px 16px rgba(43, 108, 176, 0.4);
	transform: translateY(-2px);
}

.upload-btn i {
	font-size: 16px;
}

.remove-photo-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: #ef4444;
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	width: fit-content;
}

.remove-photo-btn:hover {
	background: #dc2626;
	transform: translateY(-2px);
}

.upload-guidelines {
	padding: 12px;
	background: #fff;
	border-left: 3px solid #3182ce;
	border-radius: 6px;
}

.upload-guidelines small {
	font-size: 12px;
	color: #64748b;
	line-height: 1.8;
}

/* Photo upload error message */
#photo-error {
	margin-top: 5px;
	font-size: 13px;
	color: #ef4444;
	display: block;
}

/* Warning message styling */
.form-section-header .hint strong {
	color: #ef4444;
}

/* Animation for photo upload */
@keyframes fadeInImage {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.profile-preview img {
	animation: fadeInImage 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
	.profile-preview-container {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.profile-preview {
		width: 120px;
		height: 120px;
	}

	.profile-placeholder i {
		font-size: 50px;
	}

	.profile-info {
		width: 100%;
		align-items: center;
	}

	.upload-btn,
	.remove-photo-btn {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.profile-preview {
		width: 100px;
		height: 100px;
	}

	.profile-placeholder i {
		font-size: 40px;
	}
}

.educational-year-row {
	grid-template-columns: 1fr 1fr 1fr;
}
.checkbox-col {
	align-items: center;
	justify-content: center;
	flex-direction: column;
	display: flex;
}
.checkbox-col .checkbox-label {
	display: flex;
}
@media (max-width: 768px) {
	.educational-year-row {
		grid-template-columns: 1fr;
	}
	.emptyspace {
		display: none !important;
	}
}
/* =================================================================
   ERROR NOTIFICATION - NEAR BUTTON
================================================================= */

/* Notification container */
.error-notification {
	position: fixed;
	bottom: 100px;
	right: 30px;
	background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
	color: white;
	padding: 16px 24px;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 400px;
	z-index: 9999;
	opacity: 0;
	transform: translateY(20px) scale(0.9);
	transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	pointer-events: none;
}

.error-notification.show {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.error-notification.hide {
	opacity: 0;
	transform: translateY(20px) scale(0.9);
}

/* Icon */
.error-notification .notification-icon {
	font-size: 24px;
	flex-shrink: 0;
	animation: shake 0.5s ease;
}

/* Content */
.error-notification .notification-content {
	flex: 1;
}

.error-notification .notification-title {
	font-weight: 700;
	font-size: 15px;
	margin-bottom: 4px;
}

.error-notification .notification-message {
	font-size: 13px;
	opacity: 0.95;
	line-height: 1.4;
}

/* Close button */
.error-notification .notification-close {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: white;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	flex-shrink: 0;
}

.error-notification .notification-close:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: rotate(90deg);
}

/* Progress bar */
.error-notification .notification-progress {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 3px;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 0 0 12px 12px;
	overflow: hidden;
}

.error-notification .notification-progress-bar {
	height: 100%;
	background: white;
	width: 100%;
	animation: progressBar 3s linear;
}

/* Animations */
@keyframes shake {
	0%,
	100% {
		transform: translateX(0);
	}
	10%,
	30%,
	50%,
	70%,
	90% {
		transform: translateX(-5px);
	}
	20%,
	40%,
	60%,
	80% {
		transform: translateX(5px);
	}
}

@keyframes progressBar {
	from {
		width: 100%;
	}
	to {
		width: 0%;
	}
}

/* Success variant (optional) */
.error-notification.success {
	/* background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4); */
	background: var(--brand-green);
	box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
}

/* Warning variant (optional) */
.error-notification.warning {
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
	box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

/* Mobile responsive */
@media (max-width: 768px) {
	.error-notification {
		bottom: 20px;
		right: 20px;
		left: 20px;
		max-width: none;
	}
}

@media (max-width: 480px) {
	.error-notification {
		bottom: 10px;
		right: 10px;
		left: 10px;
		padding: 14px 18px;
	}

	.error-notification .notification-icon {
		font-size: 20px;
	}

	.error-notification .notification-title {
		font-size: 14px;
	}

	.error-notification .notification-message {
		font-size: 12px;
	}
}

/* Multiple notifications (stacked) */
.error-notification:nth-child(2) {
	bottom: 180px;
}

.error-notification:nth-child(3) {
	bottom: 260px;
}
