/* Header */
.candidate-header{
	width:100%;
	background:linear-gradient(135deg,#fff 0%,var(--theme-light) 100%);
	border-bottom:1px solid rgba(var(--theme-rgb),.12);
}
.candidate-header-inner{
	width:min(1200px,94%);
	min-height:78px;
	margin:auto;
	padding:7px 0;
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:20px;
}
.candidate-logo{
	display:inline-flex;
	align-items:center;
}
.candidate-logo img{
	width:auto;
	height:56px;
	max-width:210px;
	display:block;
	object-fit:contain;
}
.candidate-header-info{
	text-align:right;
}
.candidate-welcome{
	margin-bottom:2px;
	color:var(--heading);
	font-size:13px;
	line-height:1.3;
}
.candidate-welcome strong{
	color:var(--theme-dark);
	font-weight:700;
}
.candidate-header-label{
	color:var(--muted);
	font-size:11px;
	font-weight:600;
	letter-spacing:.3px;
}

/* Main Menu */
.candidate-menubar{
	position:relative;
	z-index:1000;
	width:100%;
	background:var(--theme-primary);
	box-shadow:0 3px 10px rgba(0,0,0,.1);
}
.candidate-menu-wrap{
	width:min(1200px,94%);
	margin:auto;
}
.candidate-menu-inner{
	height:44px;
	min-height:44px;
	display:flex;
	align-items:stretch;
}
.candidate-menu-inner>a,
.menu-dropdown-toggle{
	position:relative;
	height:44px;
	min-height:44px;
	padding:0 13px;
	display:flex;
	align-items:center;
	justify-content:center;
	gap:6px;
	color:#fff;
	background:transparent;
	border:0;
	cursor:pointer;
	font-size:12px;
	font-weight:600;
	line-height:1;
	white-space:nowrap;
	transition:background .2s ease;
}
.candidate-menu-inner>a i,
.menu-dropdown-toggle i{
	font-size:12px;
}
.candidate-menu-inner>a:hover,
.menu-dropdown-toggle:hover,
.candidate-menu-inner>a.active,
.menu-dropdown.active>.menu-dropdown-toggle,
.menu-dropdown.open>.menu-dropdown-toggle{
	color:#fff;
	background:rgba(0,0,0,.15);
}
.candidate-menu-inner>a.active::after,
.menu-dropdown.active>.menu-dropdown-toggle::after{
	content:"";
	position:absolute;
	left:13px;
	right:13px;
	bottom:0;
	height:3px;
	background:#fff;
	border-radius:3px 3px 0 0;
}
.candidate-menu-inner .logout-link{
	margin-left:auto;
}
.mobile-menu-toggle{
	display:none;
}

/* Settings Dropdown */
.menu-dropdown{
	position:relative;
	display:flex;
}
.menu-dropdown-toggle{
	width:100%;
}
.dropdown-arrow{
	margin-left:2px;
	font-size:9px!important;
	transition:transform .2s ease;
}
.menu-dropdown.open .dropdown-arrow{
	transform:rotate(180deg);
}
.menu-dropdown-list{
	position:absolute;
	top:100%;
	left:0;
	width:190px;
	padding:4px 0;
	display:none;
	background:#fff;
	border:1px solid var(--border);
	border-top:3px solid var(--theme-primary);
	border-radius:0 0 8px 8px;
	box-shadow:0 9px 24px rgba(0,0,0,.15);
}
.menu-dropdown.open .menu-dropdown-list{
	display:block;
}
.menu-dropdown-list a{
	min-height:38px;
	padding:0 13px;
	display:flex;
	align-items:center;
	gap:8px;
	color:var(--heading);
	font-size:11.5px;
	font-weight:600;
	transition:background .2s ease,color .2s ease;
}
.menu-dropdown-list a i{
	width:16px;
	color:var(--theme-primary);
	text-align:center;
}
.menu-dropdown-list a:hover,
.menu-dropdown-list a.active{
	color:var(--theme-dark);
	background:var(--theme-light);
}
.menu-dropdown-list a.active{
	font-weight:700;
}

/* Main Content */
.candidate-main{
	width:100%;
	flex:1;
	padding:20px 0 25px;
	background:#f5f7fa;
}
.candidate-content{
	width:min(1200px,94%);
	margin:auto;
}

/* Page Title */
.page-title{
	margin-bottom:16px;
	padding:17px 20px;
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:16px;
	background:#fff;
	border:1px solid var(--border);
	border-radius:12px;
	box-shadow:0 4px 15px rgba(0,0,0,.05);
}
.page-title h1{
	margin:0 0 4px;
	color:var(--heading);
	font-family:"Poppins",sans-serif;
	font-size:23px;
	font-weight:700;
	line-height:1.2;
}
.page-title p{
	margin:0;
	color:var(--muted);
	font-size:12px;
	line-height:1.4;
}
.profile-status{
	min-width:145px;
	padding:7px 12px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:5px;
	border-radius:18px;
	font-size:11px;
	font-weight:700;
	white-space:nowrap;
}
.profile-status.incomplete{
	color:#b45309;
	background:#fff7ed;
	border:1px solid #fed7aa;
}
.profile-status.complete{
	color:#047857;
	background:#ecfdf5;
	border:1px solid #a7f3d0;
}

/* Profile Sections */
.profile-section{
	margin-bottom:15px;
	background:#fff;
	border:1px solid var(--border);
	border-radius:12px;
	overflow:hidden;
	box-shadow:0 4px 15px rgba(0,0,0,.04);
}
.section-heading{
	min-height:58px;
	padding:12px 16px;
	display:flex;
	align-items:center;
	gap:11px;
	background:linear-gradient(90deg,var(--theme-light),#fff);
	border-bottom:1px solid rgba(var(--theme-rgb),.12);
}
.section-heading>i{
	width:34px;
	height:34px;
	flex:0 0 34px;
	display:flex;
	align-items:center;
	justify-content:center;
	color:#fff;
	background:var(--theme-primary);
	border-radius:9px;
	font-size:14px;
}
.section-heading h2{
	margin:0 0 1px;
	color:var(--heading);
	font-family:"Poppins",sans-serif;
	font-size:16px;
	font-weight:700;
}
.section-heading p{
	margin:0;
	color:var(--muted);
	font-size:11px;
	line-height:1.3;
}
.profile-section-body{
	padding:16px;
}

/* Profile Form */
.profile-grid{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:13px 15px;
}
.profile-grid.two-column{
	grid-template-columns:repeat(2,minmax(0,1fr));
}
.profile-grid .full-width{
	grid-column:1/-1;
}
.profile-form-group{
	min-width:0;
}
.profile-form-group label{
	display:block;
	margin-bottom:5px;
	color:var(--heading);
	font-size:11.5px;
	font-weight:600;
}
.profile-form-group label .required{
	color:var(--danger);
}
.profile-control{
	width:100%;
	height:38px;
	padding:0 11px;
	color:var(--heading);
	background:#fff;
	border:1px solid #d1d5db;
	border-radius:7px;
	outline:none;
	font-size:12px;
	transition:border-color .2s ease,box-shadow .2s ease;
}
textarea.profile-control{
	height:auto;
	min-height:75px;
	padding:9px 11px;
	resize:vertical;
}
.profile-control:focus{
	border-color:var(--theme-primary);
	box-shadow:0 0 0 3px rgba(var(--theme-rgb),.1);
}
.profile-control[readonly],
.profile-control:disabled{
	color:#6b7280;
	background:#f3f4f6;
	cursor:not-allowed;
}

/* Verified Fields */
.verified-field{
	position:relative;
}
.verified-field .profile-control{
	padding-right:85px;
}
.verified-badge{
	position:absolute;
	right:9px;
	top:50%;
	transform:translateY(-50%);
	display:inline-flex;
	align-items:center;
	gap:4px;
	color:var(--success);
	font-size:10px;
	font-weight:700;
}

/* Education */
.education-toolbar{
	margin-bottom:12px;
	display:flex;
	align-items:center;
	justify-content:flex-end;
}
.education-table-wrap{
	width:100%;
	overflow-x:auto;
}
.education-table{
	width:100%;
	border-collapse:collapse;
	font-size:11.5px;
}
.education-table th{
	padding:8px;
	color:var(--heading);
	background:#f8fafc;
	border-bottom:1px solid var(--border);
	text-align:left;
	font-weight:700;
	white-space:nowrap;
}
.education-table td{
	padding:8px;
	color:var(--text);
	border-bottom:1px solid #f0f1f3;
}
.education-table tbody tr:hover{
	background:#fafafa;
}

/* Buttons */
.add-button,
.primary-button,
.secondary-button{
	border:0;
	cursor:pointer;
	font-weight:700;
	transition:background .2s ease,transform .2s ease,box-shadow .2s ease;
}
.add-button{
	padding:7px 12px;
	display:inline-flex;
	align-items:center;
	gap:5px;
	color:#fff;
	background:var(--theme-primary);
	border-radius:7px;
	font-size:11px;
}
.add-button:hover{
	background:var(--theme-dark);
}
.profile-actions{
	margin-top:16px;
	display:flex;
	align-items:center;
	justify-content:flex-end;
	gap:8px;
}
.primary-button,
.secondary-button{
	min-width:110px;
	min-height:36px;
	padding:7px 15px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:6px;
	border-radius:18px;
	font-size:11.5px;
}
.primary-button{
	color:#fff;
	background:var(--theme-primary);
}
.primary-button:hover{
	background:var(--theme-dark);
	transform:translateY(-1px);
	box-shadow:0 5px 14px rgba(var(--theme-rgb),.22);
}
.secondary-button{
	color:var(--heading);
	background:#fff;
	border:1px solid #d1d5db;
}
.secondary-button:hover{
	background:#f3f4f6;
}

/* Footer */
.candidate-footer{
	width:100%;
	margin:auto;
	color:#fff;
	background:#172033; 
}
.candidate-footer-inner{
	width:min(1200px,94%);
	height:36px;
	min-height:36px;
	margin:auto;
	display:flex;
	align-items:center;
	gap:15px;
	font-size:10.5px;
}
.footer-help{
	display:flex;
	align-items:center;
	gap:5px;
	white-space:nowrap;
}
.footer-help i{
	color:var(--theme-primary);
	font-size:11px;
}
.footer-help span{
	color:#d1d5db;
}
.footer-help a{
	color:#fff;
	font-weight:700;
}
.footer-help a:hover{
	color:var(--theme-primary);
}

/* Color Palette */
.footer-palette{
	margin-left:auto;
	display:flex;
	align-items:center;
	justify-content:flex-end;
	gap:6px;
}
.theme-color{
	width:15px;
	height:15px;
	flex:0 0 15px;
	padding:0;
	border:2px solid transparent;
	border-radius:50%;
	cursor:pointer;
	outline:0;
	transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.theme-color:hover{
	transform:scale(1.12);
}
.theme-color.active{
	border-color:#fff;
	box-shadow:0 0 0 2px rgba(255,255,255,.25);
}
.themeteal{
	background:#00897b;
}
.themeorange{
	background:#c65300;
}
.themeblue{
	background:#174676;
}

/* Desktop Dropdown */
@media(min-width:769px){
	.menu-dropdown:hover .menu-dropdown-list{
		display:block;
	}
}

/* Small Desktop */
@media(max-width:1000px) and (min-width:769px){
	.candidate-menu-inner>a,
	.menu-dropdown-toggle{
		padding:0 9px;
		gap:5px;
		font-size:11px;
	}
}

/* Tablet */
@media(max-width:900px){
	.profile-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}
}

/* Mobile */
@media(max-width:768px){
	.candidate-header-inner{
		width:92%;
		min-height:68px;
		padding:6px 0;
		gap:12px;
	}
	.candidate-logo img{
		height:45px;
		max-width:175px;
	}
	.candidate-welcome{
		font-size:11.5px;
	}
	.candidate-header-label{
		font-size:10px;
	}
	.candidate-menu-wrap{
		width:100%;
	}
	.mobile-menu-toggle{
		width:100%;
		height:42px;
		min-height:42px;
		padding:0 15px;
		display:flex;
		align-items:center;
		justify-content:space-between;
		color:#fff;
		background:var(--theme-primary);
		border:0;
		cursor:pointer;
		font-size:12px;
		font-weight:700;
	}
	.mobile-menu-toggle span{
		display:flex;
		align-items:center;
		gap:7px;
	}
	.mobile-menu-toggle .menu-arrow{
		font-size:10px;
		transition:transform .2s ease;
	}
	.mobile-menu-toggle.active .menu-arrow{
		transform:rotate(180deg);
	}
	.candidate-menu-inner{
		display:none;
		height:auto;
		min-height:auto;
		flex-direction:column;
		align-items:stretch;
		background:var(--theme-primary);
		border-top:1px solid rgba(255,255,255,.15);
		box-shadow:0 10px 20px rgba(0,0,0,.14);
	}
	.candidate-menu-inner.menu-open{
		display:flex;
	}
	.candidate-menu-inner>a,
	.menu-dropdown-toggle{
		width:100%;
		height:40px;
		min-height:40px;
		padding:0 15px;
		justify-content:flex-start;
		border-bottom:1px solid rgba(255,255,255,.1);
		font-size:11.5px;
	}
	.candidate-menu-inner>a.active::after,
	.menu-dropdown.active>.menu-dropdown-toggle::after{
		left:0;
		right:auto;
		top:7px;
		bottom:7px;
		width:4px;
		height:auto;
		border-radius:0 3px 3px 0;
	}
	.candidate-menu-inner .logout-link{
		margin-left:0;
	}
	.menu-dropdown{
		width:100%;
		display:block;
	}
	.menu-dropdown-toggle .dropdown-arrow{
		margin-left:auto;
	}
	.menu-dropdown-list{
		position:static;
		width:100%;
		padding:0;
		display:none;
		background:rgba(0,0,0,.12);
		border:0;
		border-radius:0;
		box-shadow:none;
	}
	.menu-dropdown.open .menu-dropdown-list{
		display:block;
	}
	.menu-dropdown-list a{
		min-height:38px;
		padding:0 15px 0 40px;
		color:#fff;
		border-bottom:1px solid rgba(255,255,255,.08);
		font-size:11px;
	}
	.menu-dropdown-list a i{
		color:#fff;
	}
	.menu-dropdown-list a:hover,
	.menu-dropdown-list a.active{
		color:#fff;
		background:rgba(0,0,0,.13);
	}
	.candidate-main{
		padding:16px 0 22px;
	}
	.candidate-content{
		width:92%;
	}
	.page-title{
		padding:15px;
		align-items:flex-start;
		flex-direction:column;
	}
	.page-title h1{
		font-size:21px;
	}
	.candidate-footer-inner{
		width:92%;
		height:34px;
		min-height:34px;
	}
}

/* Small Mobile */
@media(max-width:600px){
	.candidate-logo img{
		height:42px;
		max-width:160px;
	}
	.candidate-welcome{
		font-size:11px;
	}
	.candidate-header-label{
		font-size:9.5px;
	}
	.page-title{
		padding:14px;
		border-radius:10px;
	}
	.page-title h1{
		font-size:19px;
	}
	.page-title p{
		font-size:11.5px;
	}
	.profile-section{
		border-radius:10px;
	}
	.section-heading{
		padding:11px 13px;
	}
	.section-heading h2{
		font-size:15px;
	}
	.profile-section-body{
		padding:13px;
	}
	.profile-grid,
	.profile-grid.two-column{
		grid-template-columns:1fr;
		gap:10px;
	}
	.profile-actions{
		flex-direction:column-reverse;
	}
	.primary-button,
	.secondary-button{
		width:100%;
	}
}

/* Extra Small Mobile */
@media(max-width:480px){
	.candidate-header-inner{
		min-height:60px;
	}
	.candidate-logo img{
		height:38px;
		max-width:145px;
	}
	.candidate-welcome{
		font-size:10px;
	}
	.candidate-header-label{
		font-size:9px;
	}
	.mobile-menu-toggle{
		height:40px;
		min-height:40px;
		padding:0 12px;
		font-size:11.5px;
	}
	.candidate-menu-inner>a,
	.menu-dropdown-toggle{
		height:38px;
		min-height:38px;
		padding:0 13px;
		font-size:11px;
	}
	.candidate-footer-inner{
		width:94%;
		height:auto;
		min-height:34px;
		padding:5px 0;
	}
	.footer-help{
		font-size:9.5px;
	}
	.theme-color{
		width:14px;
		height:14px;
		flex-basis:14px;
	}
}