/**
 * Employer Dashboard Styles
 *
 * @package Together_Job_Board
 * @since 1.0.0
 */

/* Dashboard Wrapper with Sidebar */
.tjb-employer-dashboard-wrapper {
	display: flex !important;
	gap: 30px;
	max-width: 1200px !important;
	margin: 0 auto !important;
	padding: 30px 20px;
	min-height: calc(100vh - 200px);
	width: 100% !important;
	box-sizing: border-box;
}

/* Sidebar Styles */
.tjb-employer-sidebar {
	width: 280px;
	flex-shrink: 0;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	padding: 0;
	height: fit-content;
	position: sticky;
	top: 100px;
}

.tjb-sidebar-header {
	padding: 30px 20px;
	border-bottom: 1px solid #f0f0f0;
	text-align: center;
}

.tjb-sidebar-avatar-wrapper {
	margin-bottom: 15px;
	display: flex;
	justify-content: center;
}

.tjb-sidebar-avatar-wrapper .employer-sidebar-avatar,
.tjb-sidebar-avatar-wrapper .employer-sidebar-avatar img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
}

.tjb-sidebar-avatar-wrapper .employer-sidebar-avatar-initials {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #447AB3;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	font-weight: 700;
}

.tjb-sidebar-user-info {
	margin-bottom: 20px;
}

.tjb-sidebar-user-name {
	font-size: 1.125rem;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 5px;
}

.tjb-sidebar-user-location {
	font-size: 0.875rem;
	color: #666;
	margin: 0;
}

.tjb-sidebar-profile-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 15px;
}

.tjb-sidebar-edit-profile-btn,
.tjb-sidebar-view-profile-btn {
	display: inline-block;
	padding: 10px 24px;
	text-decoration: none;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 600;
	transition: all 0.3s ease;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
}

.tjb-sidebar-edit-profile-btn {
	background: #447AB3;
	color: #fff !important;
	border: none;
}

.tjb-sidebar-edit-profile-btn:hover {
	background: #3a6a9a;
	color: #fff !important;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(61, 78, 243, 0.3);
}

.tjb-sidebar-view-profile-btn {
	background: #fff;
	color: #447AB3;
	border: 2px solid #3d4ef3;
}

.tjb-sidebar-view-profile-btn:hover {
	background: #447AB3;
	color: #fff !important;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(61, 78, 243, 0.3);
}

.tjb-sidebar-menu {
	padding: 10px 0;
}

.tjb-sidebar-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tjb-sidebar-menu-item {
	margin: 0;
}

.tjb-sidebar-menu-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 20px;
	color: #666;
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 500;
	transition: all 0.2s ease;
	border-left: 3px solid transparent;
}

.tjb-sidebar-menu-link:hover {
	background: #f8f9fa;
	color: #447AB3;
	text-decoration: none;
}

.tjb-sidebar-menu-item.active .tjb-sidebar-menu-link {
	background: #447AB3;
	color: #fff;
	border-left-color: #447AB3;
	font-weight: 600;
}

.tjb-sidebar-menu-item.active .tjb-sidebar-icon {
	color: #fff;
}

.tjb-sidebar-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	color: currentColor;
}

.tjb-sidebar-menu-link span {
	flex: 1;
}

/* Main Dashboard Content */
.tjb-employer-dashboard {
	flex: 1;
	min-width: 0;
	padding: 0;
	width: 100%;
}

/* Profile edit page specific styles within dashboard */
.tjb-employer-dashboard .tjb-employer-profile-edit {
	padding: 0;
	width: 100%;
}

.tjb-dashboard-title {
	color: #0066cc;
	font-size: 2em;
	margin-bottom: 30px;
}

.tjb-section-title {
	color: #333;
	font-size: 1.5em;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #e0e0e0;
}

/* Statistics Section */
.tjb-statistics-section {
	margin-bottom: 40px;
}

.tjb-stat-card {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 20px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tjb-stat-icon {
	width: 60px;
	height: 60px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.tjb-stat-icon-blue {
	background: rgba(61, 78, 243, 0.1);
	color: #447AB3;
}

.tjb-stat-icon-red {
	background: rgba(220, 53, 69, 0.1);
	color: #dc3545;
}

.tjb-stat-icon-yellow {
	background: rgba(255, 193, 7, 0.1);
	color: #ffc107;
}

.tjb-stat-icon-green {
	background: rgba(40, 167, 69, 0.1);
	color: #97C354;
}

.tjb-stat-content {
	flex: 1;
}

.tjb-stat-number {
	font-size: 28px;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.2;
	margin-bottom: 5px;
}

.tjb-stat-label {
	font-size: 14px;
	color: #666;
	font-weight: 500;
}

.tjb-statistics-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.tjb-stat-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 20px;
	display: flex;
	align-items: center;
	gap: 15px;
	transition: all 0.3s ease;
}

.tjb-stat-card-link {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.tjb-stat-card-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
	text-decoration: none;
	color: inherit;
}

.tjb-stat-card-link.tjb-has-notifications {
	border: 2px solid #dc3545;
	background: linear-gradient(to right, #fff, #fff5f5);
}

.tjb-stat-icon {
	position: relative;
}

.tjb-stat-badge {
	position: absolute;
	top: -8px;
	right: -8px;
	background: #dc3545;
	color: #fff;
	border-radius: 12px;
	padding: 3px 8px;
	font-size: 11px;
	font-weight: 600;
	min-width: 20px;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tjb-stat-card:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.tjb-stat-icon {
	font-size: 2.5em;
	color: #0066cc;
}

.tjb-stat-content {
	flex: 1;
}

.tjb-stat-number {
	font-size: 2em;
	font-weight: bold;
	color: #333;
	line-height: 1;
	margin-bottom: 5px;
}

.tjb-stat-label {
	color: #666;
	font-size: 0.9em;
}

/* Page Views Section */
.tjb-page-views-section {
	margin-bottom: 40px;
	background: #fff;
	padding: 20px;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
}

.tjb-page-views-controls {
	display: flex;
	gap: 20px;
	margin-bottom: 25px;
	flex-wrap: wrap;
}

.tjb-page-views-control-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tjb-page-views-control-group label {
	font-size: 14px;
	font-weight: 600;
	color: #333;
}

.tjb-select {
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	min-width: 200px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.3s ease;
}

.tjb-select:focus {
	outline: none;
	border-color: #447AB3;
	box-shadow: 0 0 0 2px rgba(61, 78, 243, 0.1);
}

.tjb-page-views-chart {
	height: 300px;
	position: relative;
}

/* Notifications Section */
.tjb-notifications-section {
	margin-bottom: 40px;
}

.tjb-notifications-list {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 20px;
}

.tjb-notification-item {
	display: flex;
	gap: 15px;
	padding: 15px 0;
	border-bottom: 1px solid #f0f0f0;
}

.tjb-notification-item:last-child {
	border-bottom: none;
}

.tjb-notification-icon {
	color: #97C354;
	flex-shrink: 0;
	margin-top: 2px;
}

.tjb-notification-content {
	flex: 1;
}

.tjb-notification-content p {
	margin: 0 0 5px 0;
	color: #333;
}

.tjb-notification-date {
	color: #999;
	font-size: 0.875rem;
}

/* Recent Applicants Section */
.tjb-recent-applicants-section {
	margin-bottom: 40px;
}

.tjb-recent-applicants-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.tjb-recent-applicant-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	transition: all 0.3s ease;
}

.tjb-recent-applicant-card:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	border-color: #447AB3;
}

.tjb-applicant-info {
	flex: 1;
}

.tjb-applicant-name {
	font-size: 18px;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0 0 10px;
}

.tjb-applicant-meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tjb-applicant-status {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	width: fit-content;
}

.tjb-status-pending {
	background: #fff3cd;
	color: #856404;
}

.tjb-status-approved {
	background: #d4edda;
	color: #155724;
}

.tjb-status-rejected {
	background: #f8d7da;
	color: #721c24;
}

.tjb-applicant-job {
	font-size: 14px;
	color: #666;
	font-weight: 500;
}

.tjb-applicant-date {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #999;
}

.tjb-applicant-date svg {
	flex-shrink: 0;
}

.tjb-applicant-actions {
	display: flex;
	gap: 8px;
	align-items: center;
}

.tjb-applicant-action-btn {
	width: 36px;
	height: 36px;
	border: 1px solid #ddd;
	background: #fff;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	color: #666;
	text-decoration: none;
	padding: 0;
	margin: 0;
	position: relative;
}

.tjb-applicant-action-btn:hover {
	background: #f8f9fa;
	border-color: #447AB3;
	color: #447AB3;
	text-decoration: none;
}

.tjb-applicant-action-btn svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	color: inherit;
	fill: none;
	stroke: currentColor;
	display: block;
	pointer-events: none;
}

.tjb-applicant-action-btn * {
	pointer-events: none;
}

.tjb-approve-applicant:hover {
	background: #d4edda;
	border-color: #97C354;
	color: #155724;
}

.tjb-remove-applicant:hover,
.tjb-reject-applicant:hover,
.tjb-delete-applicant:hover {
	background: #f8d7da;
	border-color: #dc3545;
	color: #721c24;
}

.tjb-message-btn:hover {
	background: #e7f3ff;
	border-color: #447AB3;
	color: #447AB3;
}

/* Custom Tooltips for Action Buttons */
.tjb-applicant-action-btn[title] {
	position: relative;
}

.tjb-applicant-action-btn[title]:hover::after {
	content: attr(title);
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	padding: 6px 12px;
	background: #1a1a1a;
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	white-space: nowrap;
	border-radius: 4px;
	pointer-events: none;
	z-index: 1000;
	opacity: 0;
	animation: tooltipFadeIn 0.3s ease 0.5s forwards;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tjb-applicant-action-btn[title]:hover::before {
	content: '';
	position: absolute;
	bottom: calc(100% + 3px);
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #1a1a1a;
	pointer-events: none;
	z-index: 1001;
	opacity: 0;
	animation: tooltipFadeIn 0.3s ease 0.5s forwards;
}

@keyframes tooltipFadeIn {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(-3px);
	}
	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

/* Ensure tooltip doesn't interfere with button clicks */
.tjb-applicant-action-btn[title]::after,
.tjb-applicant-action-btn[title]::before {
	pointer-events: none;
}

/* Tooltip positioning adjustments for edge cases */
.tjb-applicant-actions .tjb-applicant-action-btn:first-child[title]:hover::after {
	left: 0;
	transform: translateX(0);
}

.tjb-applicant-actions .tjb-applicant-action-btn:first-child[title]:hover::before {
	left: 10px;
	transform: translateX(0);
}

.tjb-applicant-actions .tjb-applicant-action-btn:last-child[title]:hover::after {
	left: auto;
	right: 0;
	transform: translateX(0);
}

.tjb-applicant-actions .tjb-applicant-action-btn:last-child[title]:hover::before {
	left: auto;
	right: 10px;
	transform: translateX(0);
}

/* Mobile: Show tooltips on tap for touch devices */
@media (max-width: 768px) {
	.tjb-applicant-action-btn[title]:active::after,
	.tjb-applicant-action-btn[title]:active::before {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
		animation: tooltipFadeIn 0.2s ease forwards;
	}
}

/* Candidate Dashboard Wrapper with Sidebar */
.tjb-candidate-dashboard-wrapper {
	display: flex !important;
	gap: 30px;
	max-width: 1200px !important;
	margin: 0 auto !important;
	padding: 30px 20px;
	min-height: calc(100vh - 200px);
	width: 100% !important;
	box-sizing: border-box;
}

/* Candidate Sidebar Styles */
.tjb-candidate-sidebar {
	width: 280px;
	flex-shrink: 0;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	padding: 0;
	height: fit-content;
	position: sticky;
	top: 100px;
}

.tjb-candidate-sidebar .tjb-sidebar-header {
	padding: 30px 20px;
	border-bottom: 1px solid #f0f0f0;
	text-align: center;
}

.tjb-candidate-sidebar .tjb-sidebar-avatar-wrapper .candidate-sidebar-avatar,
.tjb-candidate-sidebar .tjb-sidebar-avatar-wrapper .candidate-sidebar-avatar img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
}

.tjb-candidate-sidebar .tjb-sidebar-avatar-wrapper .candidate-sidebar-avatar-initials {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #447AB3;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	font-weight: 700;
}

/* Main Candidate Dashboard Content */
.tjb-candidate-dashboard-wrapper .tjb-candidate-dashboard {
	flex: 1;
	min-width: 0;
	padding: 0;
	width: 100%;
}

/* Candidate Quick Actions */
.tjb-quick-actions-section {
	margin-bottom: 40px;
}

.tjb-quick-actions-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 15px;
}

.tjb-quick-action {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 20px 15px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	text-decoration: none;
	color: #333;
	transition: all 0.3s ease;
	text-align: center;
}

.tjb-quick-action:hover {
	background: #447AB3;
	color: #fff;
	border-color: #447AB3;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(61, 78, 243, 0.3);
	text-decoration: none;
}


.tjb-quick-action .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
}

/* Dashboard Notifications */
.tjb-dashboard-notifications {
	margin-bottom: 25px;
}

.tjb-notification-alert {
	padding: 15px 20px;
	border-radius: 8px;
	margin-bottom: 15px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 15px;
	border: 1px solid transparent;
	animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.tjb-notification-info {
	background-color: #e7f3ff;
	border-color: #b3d7ff;
	color: #004085;
}

.tjb-notification-success {
	background-color: #d4edda;
	border-color: #c3e6cb;
	color: #155724;
}

.tjb-notification-warning {
	background-color: #fff3cd;
	border-color: #ffeeba;
	color: #856404;
}

.tjb-notification-error {
	background-color: #f8d7da;
	border-color: #f5c6cb;
	color: #721c24;
}

.tjb-notification-content {
	flex: 1;
	font-size: 14px;
	line-height: 1.5;
}

.tjb-notification-content strong {
	font-weight: 600;
}

.tjb-notification-dismiss {
	background: none;
	border: none;
	padding: 0;
	color: inherit;
	opacity: 0.5;
	cursor: pointer;
	transition: opacity 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tjb-notification-dismiss:hover {
	opacity: 1;
}

.tjb-notification-dismiss .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
}

.tjb-quick-action span {
	font-size: 0.875rem;
	font-weight: 500;
}

/* Application Status Badges */
.tjb-status-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
}

.tjb-status-pending {
	background: #fff3e0;
	color: #e65100;
}

.tjb-status-approved {
	background: #e8f5e9;
	color: #2e7d32;
}

.tjb-status-rejected {
	background: #ffebee;
	color: #c62828;
}

/* Recent Applications Section */
.tjb-recent-applications-section {
	margin-bottom: 40px;
}

.tjb-applications-list {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
}

.tjb-application-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
	border-bottom: 1px solid #f0f0f0;
}

.tjb-application-item:last-child {
	border-bottom: none;
}

.tjb-application-job h4 {
	margin: 0 0 5px 0;
	font-size: 1rem;
}

.tjb-application-job h4 a {
	color: #333;
	text-decoration: none;
}

.tjb-application-job h4 a:hover {
	color: #447AB3;
}

.tjb-application-date {
	color: #999;
	font-size: 0.875rem;
}

.tjb-section-footer {
	text-align: center;
	margin-top: 20px;
}

.tjb-button {
	display: inline-block;
	padding: 10px 24px;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
}

.tjb-button-secondary {
	background: #f8f9fa;
	color: #333;
	border: 1px solid #e0e0e0;
}

.tjb-button-secondary:hover {
	background: #447AB3;
	color: #fff;
	border-color: #447AB3;
	text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 1200px) {
	.tjb-employer-dashboard-wrapper,
	.tjb-candidate-dashboard-wrapper {
		max-width: 100%;
		padding: 20px 15px;
	}
}

@media (max-width: 1024px) {
	.tjb-employer-dashboard-wrapper,
	.tjb-candidate-dashboard-wrapper {
		flex-direction: column;
		gap: 20px;
	}
	
	.tjb-employer-sidebar,
	.tjb-candidate-sidebar {
		width: 100%;
		position: static;
	}
	
	.tjb-sidebar-menu-list {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		gap: 0;
	}
	
	.tjb-sidebar-menu-item {
		border-bottom: 1px solid #f0f0f0;
	}
	
	.tjb-sidebar-menu-link {
		border-left: none;
		border-bottom: 3px solid transparent;
	}
	
	.tjb-sidebar-menu-item.active .tjb-sidebar-menu-link {
		border-left: none;
		border-bottom-color: #3d4ef3;
	}
}

@media (max-width: 768px) {
	.tjb-employer-dashboard-wrapper,
	.tjb-candidate-dashboard-wrapper {
		padding: 15px 10px;
	}
	
	.tjb-statistics-grid {
		grid-template-columns: 1fr;
	}
	
	.tjb-quick-actions-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.tjb-statistics-grid {
		grid-template-columns: 1fr;
	}

	.tjb-page-views-controls {
		flex-direction: column;
	}
	
	.tjb-select {
		width: 100%;
	}
	
	.tjb-sidebar-menu-list {
		grid-template-columns: 1fr;
	}
	
	.tjb-sidebar-header {
		padding: 20px 15px;
	}
	
	.tjb-application-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
}

/* My Applications Page Styles */
.tjb-my-applications {
	width: 100%;
	max-width: 100%;
}

.tjb-my-applications .tjb-page-title {
	color: #1a1a1a;
	font-size: 2em;
	font-weight: 700;
	margin: 0 0 30px 0;
	padding-bottom: 15px;
}

.tjb-applications-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 30px;
}

.tjb-stat-box {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 25px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	transition: all 0.3s ease;
}

.tjb-stat-box:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	transform: translateY(-2px);
}

.tjb-stat-number {
	font-size: 2.5em;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 8px;
	line-height: 1;
}

.tjb-stat-number.tjb-stat-pending {
	color: #e65100;
}

.tjb-stat-number.tjb-stat-approved {
	color: #2e7d32;
}

.tjb-stat-number.tjb-stat-rejected {
	color: #c62828;
}

.tjb-stat-label {
	font-size: 0.9rem;
	color: #666;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.tjb-applications-filters {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 25px;
	margin-bottom: 30px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tjb-filter-form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	align-items: end;
}

.tjb-filter-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tjb-filter-group label {
	font-weight: 600;
	color: #333;
	font-size: 0.9rem;
}

.tjb-filter-group.tjb-filter-actions {
	flex-direction: row;
	gap: 10px;
	align-items: center;
}

.tjb-filter-group input[type="text"],
.tjb-filter-group select {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 15px;
	transition: all 0.3s ease;
	background: #fff;
}

.tjb-filter-group input[type="text"]:focus,
.tjb-filter-group select:focus {
	outline: none;
	border-color: #447AB3;
	box-shadow: 0 0 0 3px rgba(68, 122, 179, 0.1);
}

.tjb-applications-list {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tjb-application-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 25px;
	border-bottom: 1px solid #f0f0f0;
	transition: background 0.2s ease;
}

.tjb-application-item:hover {
	background: #f9f9f9;
}

.tjb-application-item:last-child {
	border-bottom: none;
}

.tjb-application-content {
	flex: 1;
}

.tjb-application-job-title {
	margin: 0 0 12px 0;
	font-size: 1.2em;
	font-weight: 600;
}

.tjb-application-job-title a {
	color: #1a1a1a;
	text-decoration: none;
	transition: color 0.2s ease;
}

.tjb-application-job-title a:hover {
	color: #447AB3;
}

.tjb-application-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: center;
}

.tjb-application-meta span {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #666;
	font-size: 0.9rem;
}

.tjb-application-meta .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	color: #999;
}

.tjb-application-actions {
	display: flex;
	align-items: center;
	gap: 15px;
	flex-shrink: 0;
}

.tjb-status-badge {
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.tjb-button-danger {
	background: #dc3545;
	color: #fff;
	border: 1px solid #dc3545;
}

.tjb-button-danger:hover {
	background: #c82333;
	border-color: #bd2130;
	color: #fff;
}

.tjb-no-applications {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 60px 40px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tjb-no-applications p {
	margin: 0 0 20px 0;
	color: #666;
	font-size: 1.1rem;
}

.tjb-pagination {
	margin-top: 30px;
	padding: 20px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	text-align: center;
}

.tjb-pagination .page-numbers {
	display: inline-block;
	padding: 8px 16px;
	margin: 0 4px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	color: #333;
	text-decoration: none;
	transition: all 0.2s ease;
}

.tjb-pagination .page-numbers:hover,
.tjb-pagination .page-numbers.current {
	background: #447AB3;
	color: #fff;
	border-color: #447AB3;
}

@media (max-width: 768px) {
	.tjb-applications-stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}
	
	.tjb-filter-form-grid {
		grid-template-columns: 1fr;
	}
	
	.tjb-filter-group.tjb-filter-actions {
		flex-direction: column;
		width: 100%;
	}
	
	.tjb-filter-group.tjb-filter-actions .tjb-button {
		width: 100%;
	}
	
	.tjb-application-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}
	
	.tjb-application-actions {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
	}
	
	.tjb-application-actions .tjb-button {
		width: 100%;
		text-align: center;
	}
	
	.tjb-application-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
}

/* Talent Acquisition Dashboard Wrapper with Sidebar */
.tjb-talent-acquisition-dashboard-wrapper {
	display: flex !important;
	gap: 30px;
	max-width: 1200px !important;
	margin: 0 auto !important;
	padding: 30px 20px;
	min-height: calc(100vh - 200px);
	width: 100% !important;
	box-sizing: border-box;
}

/* Talent Acquisition Sidebar Styles */
.tjb-talent-acquisition-sidebar {
	width: 280px;
	flex-shrink: 0;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	padding: 0;
	height: fit-content;
	position: sticky;
	top: 100px;
}

.tjb-talent-acquisition-sidebar .tjb-sidebar-header {
	padding: 30px 20px;
	border-bottom: 1px solid #f0f0f0;
	text-align: center;
}

.tjb-talent-acquisition-sidebar .tjb-sidebar-avatar-wrapper {
	margin-bottom: 15px;
	display: flex;
	justify-content: center;
}

.tjb-talent-acquisition-sidebar .tjb-sidebar-avatar-wrapper .ta-sidebar-avatar,
.tjb-talent-acquisition-sidebar .tjb-sidebar-avatar-wrapper .ta-sidebar-avatar img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
}

.tjb-talent-acquisition-sidebar .tjb-sidebar-avatar-wrapper .ta-sidebar-avatar-initials {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #447AB3;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	font-weight: 700;
}

.tjb-talent-acquisition-sidebar .tjb-sidebar-user-info {
	margin-bottom: 20px;
}

.tjb-talent-acquisition-sidebar .tjb-sidebar-user-name {
	font-size: 1.125rem;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 5px;
}

.tjb-talent-acquisition-sidebar .tjb-sidebar-user-role {
	font-size: 0.875rem;
	color: #666;
	margin: 0;
}

.tjb-talent-acquisition-sidebar .tjb-sidebar-menu {
	padding: 10px 0;
}

.tjb-talent-acquisition-sidebar .tjb-sidebar-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tjb-talent-acquisition-sidebar .tjb-sidebar-menu-item {
	margin: 0;
}

.tjb-talent-acquisition-sidebar .tjb-sidebar-menu-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 20px;
	color: #666;
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 500;
	transition: all 0.2s ease;
	border-left: 3px solid transparent;
}

.tjb-talent-acquisition-sidebar .tjb-sidebar-menu-link:hover {
	background: #f8f9fa;
	color: #447AB3;
	text-decoration: none;
}

.tjb-talent-acquisition-sidebar .tjb-sidebar-menu-item.active .tjb-sidebar-menu-link {
	background: #447AB3;
	color: #fff;
	border-left-color: #447AB3;
	font-weight: 600;
}

.tjb-talent-acquisition-sidebar .tjb-sidebar-menu-item.active .tjb-sidebar-icon {
	color: #fff;
}

.tjb-talent-acquisition-sidebar .tjb-sidebar-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	color: currentColor;
}

.tjb-talent-acquisition-sidebar .tjb-sidebar-menu-link span {
	flex: 1;
}

/* Main Talent Acquisition Dashboard Content */
.tjb-talent-acquisition-dashboard {
	flex: 1;
	min-width: 0;
	padding: 0;
	width: 100%;
}

.tjb-talent-acquisition-dashboard .tjb-dashboard-title {
	color: #1a1a1a;
	font-size: 2.2em;
	font-weight: 700;
	margin: 0 0 30px 0;
	padding-bottom: 15px;
	border-bottom: 3px solid #447AB3;
}

.tjb-talent-acquisition-dashboard .tjb-section-title {
	color: #1a1a1a;
	font-size: 1.6em;
	font-weight: 600;
	margin: 0 0 20px 0;
	padding-bottom: 15px;
	border-bottom: 2px solid #e0e0e0;
}

/* Improved Statistics Cards for Talent Acquisition */
.tjb-talent-acquisition-dashboard .tjb-statistics-section {
	margin-bottom: 40px;
}

.tjb-talent-acquisition-dashboard .tjb-statistics-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.tjb-talent-acquisition-dashboard .tjb-stat-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 25px;
	display: flex;
	align-items: center;
	gap: 20px;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tjb-talent-acquisition-dashboard .tjb-stat-card:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	transform: translateY(-2px);
	border-color: #447AB3;
}

.tjb-talent-acquisition-dashboard .tjb-stat-icon {
	width: 60px;
	height: 60px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	background: rgba(68, 122, 179, 0.1);
	color: #447AB3;
}

.tjb-talent-acquisition-dashboard .tjb-stat-icon .dashicons {
	font-size: 32px;
	width: 32px;
	height: 32px;
}

.tjb-talent-acquisition-dashboard .tjb-stat-content {
	flex: 1;
}

.tjb-talent-acquisition-dashboard .tjb-stat-number {
	font-size: 2.5em;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1;
	margin-bottom: 8px;
}

.tjb-talent-acquisition-dashboard .tjb-stat-label {
	font-size: 0.9rem;
	color: #666;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Message Styles for Talent Acquisition */
.tjb-talent-acquisition-dashboard .tjb-message {
	padding: 20px 25px;
	border-radius: 12px;
	margin-bottom: 30px;
	border-left: 4px solid;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tjb-talent-acquisition-dashboard .tjb-message-success {
	background: #e8f5e9;
	border-left-color: #97C354;
	color: #2e7d32;
}

.tjb-talent-acquisition-dashboard .tjb-message-warning {
	background: #fff3e0;
	border-left-color: #ff9800;
	color: #e65100;
}

.tjb-talent-acquisition-dashboard .tjb-message p {
	margin: 0 0 15px 0;
	font-size: 1rem;
	line-height: 1.6;
}

.tjb-talent-acquisition-dashboard .tjb-message p:last-child {
	margin-bottom: 0;
}

.tjb-talent-acquisition-dashboard .tjb-message .button {
	display: inline-block;
	padding: 12px 24px;
	background: #447AB3;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
}

.tjb-talent-acquisition-dashboard .tjb-message .button:hover {
	background: #3a6a9a;
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(68, 122, 179, 0.3);
}

/* Quick Actions for Talent Acquisition */
.tjb-talent-acquisition-dashboard .tjb-quick-actions {
	margin-top: 30px;
}

.tjb-talent-acquisition-dashboard .tjb-quick-actions-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin-top: 15px;
}

.tjb-talent-acquisition-dashboard .tjb-quick-actions-grid .button {
	display: inline-block;
	padding: 14px 24px;
	background: #fff;
	color: #447AB3;
	border: 2px solid #447AB3;
	border-radius: 8px;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	text-align: center;
	cursor: pointer;
}

.tjb-talent-acquisition-dashboard .tjb-quick-actions-grid .button:hover {
	background: #447AB3;
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(68, 122, 179, 0.3);
}

.tjb-talent-acquisition-dashboard .tjb-quick-actions-grid .button-primary {
	background: #447AB3;
	color: #fff;
	border-color: #447AB3;
}

.tjb-talent-acquisition-dashboard .tjb-quick-actions-grid .button-primary:hover {
	background: #3a6a9a;
	border-color: #3a6a9a;
}

/* Responsive Styles for Talent Acquisition Dashboard */
@media (max-width: 1024px) {
	.tjb-talent-acquisition-dashboard-wrapper {
		flex-direction: column;
		gap: 20px;
	}
	
	.tjb-talent-acquisition-sidebar {
		width: 100%;
		position: static;
	}
	
	.tjb-talent-acquisition-sidebar .tjb-sidebar-menu-list {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		gap: 0;
	}
	
	.tjb-talent-acquisition-sidebar .tjb-sidebar-menu-item {
		border-bottom: 1px solid #f0f0f0;
	}
	
	.tjb-talent-acquisition-sidebar .tjb-sidebar-menu-link {
		border-left: none;
		border-bottom: 3px solid transparent;
	}
	
	.tjb-talent-acquisition-sidebar .tjb-sidebar-menu-item.active .tjb-sidebar-menu-link {
		border-left: none;
		border-bottom-color: #447AB3;
	}
}

@media (max-width: 768px) {
	.tjb-talent-acquisition-dashboard-wrapper {
		padding: 15px 10px;
	}
	
	.tjb-talent-acquisition-dashboard .tjb-statistics-grid {
		grid-template-columns: 1fr;
	}
	
	.tjb-talent-acquisition-dashboard .tjb-quick-actions-grid {
		grid-template-columns: 1fr;
	}
	
	.tjb-talent-acquisition-sidebar .tjb-sidebar-header {
		padding: 20px 15px;
	}
	
	.tjb-talent-acquisition-sidebar .tjb-sidebar-menu-list {
		grid-template-columns: 1fr;
	}
}

