/* =========================================================
	TALENTHUB FORMS
========================================================= */

.th-field{
	position:relative;
}

.th-label{
	display:flex;
	align-items:center;
	gap:6px;
	margin-bottom:8px;
	color:var(--th-color-text-muted);
	font-size:.88rem;
	font-weight:900;
}

.th-required{
	color:#dc2626;
	font-weight:900;
}

.th-input-group{
	position:relative;
}

.th-input-icon{
	position:absolute;
	top:50%;
	left:16px;
	transform:translateY(-50%);
	color:var(--th-badge-text);
	font-size:1.05rem;
	z-index:3;
	pointer-events:none;
	transition:.22s ease;
}

.th-input{
	min-height:52px;
	padding:13px 16px 13px 48px;
	border-radius:16px;
	border:1px solid var(--th-border-base);
	background:var(--th-card-bg-glass);
	color:var(--th-color-text-main);
	font-size:.95rem;
	font-weight:700;

	transform:translateY(0);

	transition:
		border-color .22s ease,
		box-shadow .22s ease,
		background .22s ease,
		color .22s ease,
		transform .22s ease;
}

.th-input::placeholder{
	color:var(--th-color-text-soft);
	font-weight:600;
	opacity:.78;
}

.th-input:hover{
	border-color:var(--th-border-soft);
	background:var(--th-card-bg-hover);

	transform:
		translateY(-2px);

	box-shadow:
		0 14px 32px rgba(15,23,42,.08);
}

.th-input:focus{
	border-color:var(--th-border-strong);

	transform:
		translateY(-3px)
		scale(1.01);

	box-shadow:
		0 0 0 4px var(--th-ring-cyan),
		0 18px 42px var(--th-shadow-soft);

	background:var(--th-card-bg-hover);

	color:var(--th-color-text-main);
}

.th-input-group:focus-within .th-input-icon{
	color:#22c55e;
	transform:translateY(-50%) scale(1.08);
}

.th-input-group:has(.th-input.is-valid) .th-input-icon{
	color:#22c55e;
}

.th-input-group:has(.th-input.is-invalid) .th-input-icon{
	color:#ef4444;
}
/* =========================================================
	VALIDATION
========================================================= */

.th-input.is-valid{
	border-color:rgba(34,197,94,.85);
	padding-right:46px;
}

.th-input.is-invalid{
	border-color:rgba(239,68,68,.85);
	padding-right:46px;
}

.th-input.is-valid,
.th-input.is-invalid{
	background-image:none !important;
	background-position:unset !important;
	background-size:unset !important;
}

.th-input-group::after{
	position:absolute;
	top:50%;
	right:16px;

	transform:
		translateY(-50%)
		scale(.7);

	font-family:"bootstrap-icons";
	font-size:1rem;
	font-weight:900;

	z-index:4;

	pointer-events:none;

	opacity:0;

	transition:
		opacity .22s ease,
		transform .22s ease;
}

.th-input-group:has(.th-input.is-valid)::after,
.th-input-group:has(.th-input.is-invalid)::after{

	transform:
		translateY(-50%)
		scale(1);
}

.th-input-group:has(.th-input.is-valid)::after{
	content:"\F633";
	color:#22c55e;
	opacity:1;
}

.th-input-group:has(.th-input.is-invalid)::after{
	content:"\F62A";
	color:#ef4444;
	opacity:1;
}

.th-help{
	display:block;
	margin-top:7px;
	color:var(--th-color-text-soft);
	font-size:.8rem;
	font-weight:600;
	line-height:1.5;
}

.th-error-text{
	display:none;
	margin-top:7px;
	color:#dc2626;
	font-size:.8rem;
	font-weight:800;
	line-height:1.5;
}

.th-field.has-error .th-error-text{
	display:block;
}

.th-field.has-error .th-input{
	border-color:rgba(239,68,68,.85);
}

/* =========================================================
	TEXTAREA
========================================================= */

textarea.th-input{
	min-height:118px;
	resize:vertical;
	padding-top:15px;
}

.th-input-group.th-textarea-group .th-input-icon{
	top:18px;
	transform:none;
}

/* =========================================================
	SELECT NORMAL TALENTHUB
========================================================= */

select.th-input{
	appearance:none;
	-webkit-appearance:none;
	cursor:pointer;
	padding-right:52px;
	color:var(--th-color-text-main);
}

select.th-input option{
	background:#ffffff;
	color:#0f172a;
	font-weight:700;
}

[data-theme="dark"] select.th-input option{
	background:#052e16;
	color:#ffffff;
}

/* Evita icono derecho doble en select normal */
.th-select-group::after{
	display:none;
}

.th-select-group::before{
	content:"\F282";

	position:absolute;

	top:50%;
	right:16px;

	width:32px;
	height:32px;

	display:flex;
	align-items:center;
	justify-content:center;

	border-radius:12px;

	background:var(--th-icon-soft-bg);

	transform:translateY(-50%);

	font-family:"bootstrap-icons";

	color:var(--th-badge-text);

	font-size:.9rem;

	z-index:4;

	pointer-events:none;

	box-shadow:
		0 10px 24px var(--th-shadow-soft);

	transition:
		transform .22s ease,
		color .22s ease,
		background .22s ease,
		box-shadow .22s ease,
		text-shadow .22s ease;
}

.th-select-group:hover::before{
	color:#22c55e;

	background:var(--th-badge-bg);

	transform:
		translateY(-50%)
		scale(1.08);

	box-shadow:
		0 14px 32px var(--th-shadow-hover);
}

.th-select-group:hover .th-input{
	border-color:var(--th-border-soft);
	background:var(--th-card-bg-hover);

	transform:
		translateY(-2px);

	box-shadow:
		0 14px 32px rgba(15,23,42,.08);
}

.th-select-group:focus-within::before{
	color:#ffffff;

	background:var(--th-gradient-cta);

	transform:
		translateY(-50%)
		scale(1.12)
		rotate(180deg);

	box-shadow:
		0 14px 32px var(--th-glow-indigo);

	text-shadow:
		0 0 12px rgba(255,255,255,.35);
}

.th-select-group:focus-within .th-input{
	border-color:var(--th-border-strong);

	background:var(--th-card-bg-hover);

	box-shadow:
		0 0 0 4px var(--th-ring-cyan),
		0 22px 48px var(--th-shadow-hover);

	transform:
		translateY(-3px)
		scale(1.01);
}

.th-select-group:focus-within .th-input-icon,
.th-select-group:hover .th-input-icon{
	color:#22c55e;

	transform:
		translateY(-50%)
		scale(1.08);
}

/* Estado válido / inválido para selects normales */
.th-select-group:has(.th-input.is-valid) .th-input{
	border-color:rgba(34,197,94,.85);
}

.th-select-group:has(.th-input.is-invalid) .th-input{
	border-color:rgba(239,68,68,.85);
}

.th-select-group:has(.th-input.is-valid)::before{
	content:"\F633";
	color:#ffffff;
	background:linear-gradient(135deg,#16a34a,#22c55e);
	transform:translateY(-50%) scale(1);
}

.th-select-group:has(.th-input.is-invalid)::before{
	content:"\F62A";
	color:#ffffff;
	background:linear-gradient(135deg,#dc2626,#ef4444);
	transform:translateY(-50%) scale(1);
}

/* =========================================================
	SELECT2 TALENTHUB
========================================================= */

.th-select2-group{
	position:relative;
}

.th-select2-group .select2-container{
	width:100% !important;
}

.th-select2-group .select2-container--default .select2-selection--single{
	min-height:52px;
	display:flex;
	align-items:center;
	border-radius:16px;
	border:1px solid var(--th-border-base);
	background:var(--th-card-bg-glass);
	color:var(--th-color-text-main);
	padding:0 44px 0 48px;
	transition:
		border-color .22s ease,
		box-shadow .22s ease,
		background .22s ease,
		transform .22s ease;
}

.th-select2-group:hover .select2-selection--single{
	border-color:var(--th-border-soft);
	background:var(--th-card-bg-hover);
	transform:translateY(-2px);
	box-shadow:0 14px 32px rgba(15,23,42,.08);
}

.th-select2-group:focus-within .select2-selection--single,
.th-select2-group .select2-container--open .select2-selection--single{
	border-color:var(--th-border-strong);
	background:var(--th-card-bg-hover);
	box-shadow:
		0 0 0 4px var(--th-ring-cyan),
		0 22px 48px var(--th-shadow-hover);
	transform:translateY(-3px) scale(1.01);
}

.th-select2-group .select2-selection__rendered{
	padding:0 !important;
	color:var(--th-color-text-main) !important;
	font-size:.95rem;
	font-weight:700;
	line-height:normal !important;
}

.th-select2-group .select2-selection__placeholder{
	color:var(--th-color-text-soft) !important;
	font-weight:600;
	opacity:.78;
}

.th-select2-group .select2-selection__arrow{
	top:50% !important;
	right:14px !important;
	transform:translateY(-50%);
	width:24px !important;
	height:24px !important;
}

.th-select2-group .select2-selection__arrow b{
	display:none;
}

.th-select2-group .select2-selection__arrow::before{
	content:"\F282";
	font-family:"bootstrap-icons";
	color:var(--th-color-text-soft);
	font-size:.9rem;
	transition:
		transform .22s ease,
		color .22s ease,
		text-shadow .22s ease;
}

.th-select2-group:hover .select2-selection__arrow::before{
	color:var(--th-badge-text);
	transform:scale(1.08);
}

.th-select2-group .select2-container--open .select2-selection__arrow::before{
	color:#22c55e;
	display:inline-block;
	transform:rotate(180deg) scale(1.14);
	text-shadow:0 0 12px rgba(34,197,94,.35);
}

.th-select2-group:focus-within .th-input-icon,
.th-select2-group:hover .th-input-icon{
	color:#22c55e;
	transform:translateY(-50%) scale(1.08);
}

/* VALIDATION SELECT2 */

.th-field.is-invalid .th-select2-group .select2-selection--single,
.th-select2-group .select2-container.is-invalid .select2-selection--single{
	border-color:#dc2626 !important;
	box-shadow:0 0 0 4px rgba(220, 38, 38, .12) !important;
}

.th-field.is-valid .th-select2-group .select2-selection--single,
.th-select2-group .select2-container.is-valid .select2-selection--single{
	border-color:#22c55e !important;
	box-shadow:0 0 0 4px rgba(34, 197, 94, .12) !important;
}

.th-field.is-invalid .th-input-icon{
	color:#dc2626;
}

.th-field.is-valid .th-input-icon{
	color:#16a34a;
}

/* DROPDOWN */

.select2-container--default .select2-dropdown{
	border:none;
	border-radius:18px;
	background:
		radial-gradient(circle at top left, var(--th-radial-primary), transparent 34%),
		var(--th-card-bg-hover);
	box-shadow:
		0 24px 60px var(--th-shadow-card);
	overflow:hidden;
	backdrop-filter:blur(18px);
	-webkit-backdrop-filter:blur(18px);
}

.select2-container--default .select2-search--dropdown{
	padding:12px;
}

.select2-container--default .select2-search--dropdown .select2-search__field{
	min-height:42px;
	border-radius:14px;
	border:1px solid var(--th-border-base);
	background:var(--th-card-bg-glass);
	color:var(--th-color-text-main);
	padding:10px 14px;
	font-weight:700;
	outline:none;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus{
	border-color:var(--th-border-strong);
	box-shadow:0 0 0 4px var(--th-ring-cyan);
}

.select2-results__option{
	padding:12px 14px;
	color:var(--th-color-text-main);
	font-size:.93rem;
	font-weight:700;
	transition:
		background .18s ease,
		color .18s ease;
}

.select2-container--default .select2-results__option--highlighted[aria-selected]{
	background:var(--th-gradient-cta) !important;
	color:var(--th-color-white) !important;
}

.select2-container--default .select2-results__option[aria-selected=true]{
	background:var(--th-badge-bg);
	color:var(--th-badge-text);
}

.select2-container--default .select2-results__message{
	color:var(--th-color-text-soft);
	font-weight:700;
	padding:14px;
}

.select2-container--open{
	z-index:9999;
}

/* =========================================================
	SELECT2 MULTIPLE TALENTHUB
========================================================= */

.th-select2-multiple-group .select2-container--default .select2-selection--multiple{
	min-height:52px;
	display:block;
	border-radius:16px;
	border:1px solid var(--th-border-base);
	background:var(--th-card-bg-glass);
	padding:8px 44px 8px 48px;
	cursor:text;
	transition:
		border-color .22s ease,
		box-shadow .22s ease,
		background .22s ease,
		transform .22s ease;
}

.th-select2-multiple-group:hover .select2-selection--multiple{
	border-color:var(--th-border-soft);
	background:var(--th-card-bg-hover);
	transform:translateY(-2px);
	box-shadow:0 14px 32px rgba(15,23,42,.08);
}

.th-select2-multiple-group:focus-within .select2-selection--multiple,
.th-select2-multiple-group .select2-container--open .select2-selection--multiple{
	border-color:var(--th-border-strong);
	background:var(--th-card-bg-hover);
	box-shadow:
		0 0 0 4px var(--th-ring-cyan),
		0 22px 48px var(--th-shadow-hover);
	transform:translateY(-3px) scale(1.01);
}

.th-select2-multiple-group .select2-selection--multiple .select2-selection__rendered{
	display:flex !important;
	align-items:center;
	flex-wrap:wrap;
	gap:7px;
	min-height:34px;
	width:100%;
	padding:0 !important;
	margin:0 !important;
	list-style:none;
}

.th-select2-multiple-group .select2-selection--multiple .select2-selection__choice{
	position:relative;
	display:inline-flex !important;
	align-items:center;
	max-width:100%;
	min-height:30px;
	margin:0 !important;
	padding:5px 12px 5px 34px !important;
	border:none !important;
	border-radius:999px !important;
	background:var(--th-badge-bg) !important;
	color:var(--th-badge-text) !important;
	font-size:.82rem;
	font-weight:900;
	line-height:1.2;
	box-shadow:0 10px 22px rgba(15,23,42,.08);
}

.th-select2-multiple-group .select2-selection--multiple .select2-selection__choice__display{
	padding:0 !important;
	white-space:normal;
}

.th-select2-multiple-group .select2-selection--multiple .select2-selection__choice__remove{
	position:absolute !important;
	top:50% !important;
	left:8px !important;
	width:18px;
	height:18px;
	display:inline-flex !important;
	align-items:center;
	justify-content:center;
	border:none !important;
	border-radius:999px;
	background:rgba(239,68,68,.12);
	color:#dc2626 !important;
	transform:translateY(-50%);
	font-size:0 !important;
	line-height:1 !important;
}

.th-select2-multiple-group .select2-selection--multiple .select2-selection__choice__remove::before{
	content:"\F62A";
	font-family:"bootstrap-icons";
	font-size:.72rem;
}

.th-select2-multiple-group .select2-selection--multiple .select2-search--inline{
	flex:1 1 220px;
	margin:0 !important;
}

.th-select2-multiple-group .select2-selection--multiple .select2-search__field{
	width:100% !important;
	height:30px !important;
	min-height:30px !important;
	margin:0 !important;
	padding:0 !important;
	color:var(--th-color-text-main);
	font-size:.92rem;
	font-weight:700;
}

.th-select2-multiple-group .select2-selection--multiple .select2-search__field::placeholder{
	color:var(--th-color-text-soft);
	font-weight:650;
	opacity:.78;
}

.th-select2-multiple-group .select2-selection--clear{
	position:absolute;
	top:50%;
	right:15px;
	transform:translateY(-50%);
	color:#dc2626;
	font-size:1.2rem;
	font-weight:900;
}

.th-field.is-invalid .th-select2-multiple-group .select2-selection--multiple{
	border-color:#dc2626 !important;
	box-shadow:0 0 0 4px rgba(220,38,38,.12) !important;
}

.th-field.is-valid .th-select2-multiple-group .select2-selection--multiple{
	border-color:#22c55e !important;
	box-shadow:0 0 0 4px rgba(34,197,94,.12) !important;
}

[data-theme="dark"] .th-select2-multiple-group .select2-selection--multiple .select2-selection__choice{
	background:rgba(34,197,94,.14) !important;
	color:#bbf7d0 !important;
}

/* =========================================================
	DATE INPUT
========================================================= */

.th-date-group .th-input{
	cursor:pointer;
}

.th-date-group .th-input::-webkit-calendar-picker-indicator{
	cursor:pointer;
	opacity:0;
	position:absolute;
	right:16px;
	width:22px;
	height:22px;
	z-index:5;
}

.th-date-group::before{
	content:"\F1E1";

	position:absolute;
	top:50%;
	right:16px;

	transform:translateY(-50%);

	font-family:"bootstrap-icons";
	color:var(--th-color-text-soft);
	font-size:1rem;

	z-index:4;
	pointer-events:none;

	transition:
		transform .22s ease,
		color .22s ease,
		text-shadow .22s ease;
}

.th-date-group:hover::before{
	color:var(--th-badge-text);
	transform:translateY(-50%) scale(1.08);
}

.th-date-group:focus-within::before{
	color:#22c55e;
	transform:translateY(-50%) scale(1.14);
	text-shadow:0 0 12px rgba(34,197,94,.35);
}

.th-date-group:focus-within .th-input{
	border-color:var(--th-border-strong);
	background:var(--th-card-bg-hover);
	box-shadow:
		0 0 0 4px var(--th-ring-cyan),
		0 22px 48px var(--th-shadow-hover);
	transform:translateY(-3px) scale(1.01);
}

.flatpickr-calendar{
	border:none !important;
	border-radius:22px !important;
	background:var(--th-card-bg-hover) !important;
	box-shadow:0 28px 80px var(--th-shadow-card) !important;
	overflow:hidden;
}

.flatpickr-months{
	background:var(--th-gradient-cta);
	padding:10px 0;
}

.flatpickr-current-month,
.flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year{
	color:#ffffff !important;
	font-weight:900 !important;
}

.flatpickr-weekday{
	color:var(--th-badge-text) !important;
	font-weight:900 !important;
}

.flatpickr-day{
	border-radius:12px !important;
	color:var(--th-color-text-main) !important;
	font-weight:700;
}

.flatpickr-day:hover{
	background:var(--th-badge-bg) !important;
	border-color:transparent !important;
}

.flatpickr-day.selected{
	background:var(--th-gradient-cta) !important;
	border-color:transparent !important;
	color:#ffffff !important;
	box-shadow:0 10px 24px var(--th-glow-indigo);
}

.flatpickr-day.today{
	border-color:var(--th-border-strong) !important;
}

/* =========================================================
	SWITCH TALENTHUB - INPUT STYLE
========================================================= */

.th-switch-card{
	position:relative;
	min-height:52px;
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:14px;
	padding:0 14px 0 48px;
	border-radius:16px;
	border:1px solid var(--th-border-base);
	background:var(--th-card-bg-glass);
	color:var(--th-color-text-main);
	cursor:pointer;
	transition:
		border-color .22s ease,
		box-shadow .22s ease,
		background .22s ease,
		transform .22s ease;
}

.th-switch-card:hover{
	border-color:var(--th-border-soft);
	background:var(--th-card-bg-hover);
	transform:translateY(-2px);
	box-shadow:0 14px 32px rgba(15,23,42,.08);
}

.th-switch-card:has(.th-switch-input:focus-visible){
	border-color:var(--th-border-strong);
	background:var(--th-card-bg-hover);
	box-shadow:
		0 0 0 4px var(--th-ring-cyan),
		0 18px 42px var(--th-shadow-soft);
	transform:translateY(-3px) scale(1.01);
}

.th-switch-info{
	display:flex;
	align-items:center;
	min-width:0;
}

.th-switch-icon{
	position:absolute;
	top:50%;
	left:16px;
	transform:translateY(-50%);
	width:auto;
	height:auto;
	background:transparent;
	box-shadow:none;
	color:var(--th-badge-text);
	font-size:1.18rem;
}

.th-switch-text{
	min-width:0;
}

.th-switch-title{
	display:block;
	color:var(--th-color-text-main);
	font-size:.95rem;
	font-weight:800;
	line-height:1.2;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}

.th-switch-description{
	display:none;
}

.th-switch-control{
	position:relative;
	flex:0 0 auto;
}

.th-switch-input{
	position:absolute;
	opacity:0;
	width:1px;
	height:1px;
	pointer-events:none;
}

.th-switch-label{
	position:relative;
	width:54px;
	height:30px;
	display:block;
	margin:0;
	border-radius:999px;
	cursor:pointer;
	background:rgba(148,163,184,.34);
	border:1px solid rgba(148,163,184,.42);
	box-shadow:inset 0 2px 6px rgba(15,23,42,.16);
	transition:
		background .22s ease,
		border-color .22s ease,
		box-shadow .22s ease;
}

.th-switch-label::before{
	content:"";
	position:absolute;
	top:50%;
	left:4px;
	width:22px;
	height:22px;
	border-radius:50%;
	background:#ffffff;
	transform:translateY(-50%);
	box-shadow:0 6px 14px rgba(15,23,42,.22);
	transition:
		left .22s ease,
		box-shadow .22s ease,
		transform .22s ease;
}

.th-switch-label::after{
	content:"";
	display:none;
}

.th-switch-input:checked + .th-switch-label{
	background:var(--th-gradient-cta);
	border-color:rgba(34,197,94,.65);
	box-shadow:
		0 10px 24px var(--th-glow-indigo),
		inset 0 1px 0 rgba(255,255,255,.22);
}

.th-switch-input:checked + .th-switch-label::before{
	left:27px;
	box-shadow:
		0 7px 16px rgba(15,23,42,.25),
		0 0 14px rgba(255,255,255,.55);
}

.th-switch-card:has(.th-switch-input:checked){
	border-color:rgba(34,197,94,.85);
}

.th-switch-card:has(.th-switch-input:checked) .th-switch-icon{
	color:#22c55e;
	transform:translateY(-50%) scale(1.08);
}

.th-switch-card:has(.th-switch-input:checked) .th-switch-title{
	color:var(--th-color-text-main);
}

[data-theme="dark"] .th-switch-label{
	background:rgba(15,23,42,.72);
	border-color:rgba(255,255,255,.12);
}

@media (max-width: 576px){

	.th-switch-card{
		min-height:50px;
		padding:0 12px 0 46px;
		border-radius:15px;
	}

	.th-switch-title{
		font-size:.9rem;
	}

	.th-switch-label{
		width:50px;
		height:28px;
	}

	.th-switch-label::before{
		width:20px;
		height:20px;
	}

	.th-switch-input:checked + .th-switch-label::before{
		left:25px;
	}
}

/* =========================================================
	STATUS BADGES TALENTHUB
========================================================= */

.th-status-badge{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:7px;
	min-height:30px;
	padding:6px 12px;
	border-radius:999px;
	border:1px solid transparent;
	font-size:.78rem;
	font-weight:900;
	line-height:1;
	white-space:nowrap;
	box-shadow:0 10px 24px rgba(15,23,42,.08);
}

.th-status-badge i{
	font-size:.86rem;
}

.th-status-success{
	color:#15803d;
	background:rgba(34,197,94,.13);
	border-color:rgba(34,197,94,.28);
}

.th-status-danger{
	color:#dc2626;
	background:rgba(239,68,68,.12);
	border-color:rgba(239,68,68,.28);
}

.th-status-warning{
	color:#ca8a04;
	background:rgba(234,179,8,.14);
	border-color:rgba(234,179,8,.30);
}

.th-status-info{
	color:#0284c7;
	background:rgba(14,165,233,.13);
	border-color:rgba(14,165,233,.28);
}

[data-theme="dark"] .th-status-success{
	color:#86efac;
	background:rgba(34,197,94,.14);
}

[data-theme="dark"] .th-status-danger{
	color:#fca5a5;
	background:rgba(239,68,68,.14);
}

[data-theme="dark"] .th-status-warning{
	color:#fde68a;
	background:rgba(234,179,8,.15);
}

[data-theme="dark"] .th-status-info{
	color:#7dd3fc;
	background:rgba(14,165,233,.14);
}

/* =========================================================
	SEARCH INPUT TALENTHUB
========================================================= */

.th-search-group{
	position:relative;
}

.th-search-icon{
	position:absolute;
	top:50%;
	left:16px;
	transform:translateY(-50%);
	color:var(--th-badge-text);
	font-size:1.05rem;
	z-index:3;
	pointer-events:none;
	transition:.22s ease;
}

.th-search-input{
	min-height:52px;
	padding:13px 48px;
	border-radius:16px;
	border:1px solid var(--th-border-base);
	background:var(--th-card-bg-glass);
	color:var(--th-color-text-main);
	font-size:.95rem;
	font-weight:700;
	transition:
		border-color .22s ease,
		box-shadow .22s ease,
		background .22s ease,
		color .22s ease,
		transform .22s ease;
}

.th-search-input::placeholder{
	color:var(--th-color-text-soft);
	font-weight:600;
	opacity:.78;
}

.th-search-input:hover{
	border-color:var(--th-border-soft);
	background:var(--th-card-bg-hover);
	transform:translateY(-2px);
	box-shadow:0 14px 32px rgba(15,23,42,.08);
}

.th-search-input:focus{
	border-color:var(--th-border-strong);
	background:var(--th-card-bg-hover);
	color:var(--th-color-text-main);
	box-shadow:
		0 0 0 4px var(--th-ring-cyan),
		0 18px 42px var(--th-shadow-soft);
	transform:translateY(-3px) scale(1.01);
}

.th-search-group:focus-within .th-search-icon{
	color:#22c55e;
	transform:translateY(-50%) scale(1.08);
}

.th-search-clear{
	position:absolute;
	top:50%;
	right:12px;
	width:34px;
	height:34px;
	display:flex;
	align-items:center;
	justify-content:center;
	border:none;
	border-radius:12px;
	background:var(--th-icon-soft-bg);
	color:var(--th-color-text-soft);
	transform:translateY(-50%);
	z-index:4;
	transition:
		background .22s ease,
		color .22s ease,
		transform .22s ease,
		box-shadow .22s ease;
}

.th-search-clear:hover{
	background:rgba(239,68,68,.12);
	color:#dc2626;
	transform:translateY(-50%) scale(1.06);
	box-shadow:0 10px 24px rgba(239,68,68,.16);
}

/* =========================================================
	TABLE TALENTHUB
========================================================= */

.th-table-card{
	position:relative;
	border:1px solid var(--th-border-base);
	border-radius:24px;
	background:
		radial-gradient(circle at top left, var(--th-radial-primary), transparent 34%),
		var(--th-card-bg-glass);
	box-shadow:0 20px 54px rgba(15,23,42,.08);
	overflow:hidden;
}

.th-table-header{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:16px;
	padding:22px 24px;
	border-bottom:1px solid var(--th-border-base);
}

.th-table-title{
	margin:0;
	color:var(--th-color-text-main);
	font-size:1.08rem;
	font-weight:900;
	letter-spacing:-.03em;
}

.th-table-subtitle{
	margin:5px 0 0;
	color:var(--th-color-text-soft);
	font-size:.86rem;
	font-weight:600;
	line-height:1.45;
}

.th-table-wrapper{
	width:100%;
	overflow:auto;
	max-height:460px;
}

.th-table{
	width:100%;
	min-width:860px;
	border-collapse:separate;
	border-spacing:0;
	color:var(--th-color-text-main);
}

.th-table thead th{
	position:sticky;
	top:0;
	z-index:3;

	padding:15px 18px;

	background:
		linear-gradient(
			180deg,
			var(--th-table-head-bg-start),
			var(--th-table-head-bg-end)
		);

	border-bottom:2px solid var(--th-table-head-border);

	color:var(--th-table-head-text);

	font-size:.78rem;
	font-weight:950;
	text-transform:uppercase;
	letter-spacing:.055em;
	white-space:nowrap;

	text-shadow:var(--th-table-head-text-shadow);

	box-shadow:
		inset 0 1px 0 var(--th-table-head-inset),
		0 10px 22px var(--th-table-head-shadow);
}

.th-table tbody td{
	padding:16px 18px;
	border-bottom:1px solid var(--th-border-base);
	color:var(--th-color-text-main);
	font-size:.9rem;
	font-weight:700;
	vertical-align:middle;
	white-space:nowrap;
}

.th-table tbody tr{
	transition:
		background .18s ease,
		transform .18s ease;
}

.th-table tbody tr:hover{
	background:
		linear-gradient(
			90deg,
			var(--th-table-row-hover-start),
			var(--th-table-row-hover-mid),
			var(--th-table-row-hover-end)
		);

	box-shadow:
		inset 4px 0 0 var(--th-table-row-hover-line),
		inset 0 -1px 0 var(--th-table-row-hover-border);
}

.th-table tbody tr:last-child td{
	border-bottom:none;
}

.th-table-main{
	display:flex;
	flex-direction:column;
	gap:4px;
}

.th-table-main strong{
	color:var(--th-color-text-main);
	font-size:.92rem;
	font-weight:900;
}

.th-table-main span{
	color:var(--th-color-text-soft);
	font-size:.78rem;
	font-weight:650;
}

.th-table-actions{
	display:flex;
	justify-content:flex-end;
	align-items:center;
	gap:8px;
}

.th-action-btn{
	width:36px;
	height:36px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	border:none;
	border-radius:13px;
	background:var(--th-icon-soft-bg);
	color:var(--th-badge-text);
	transition:
		background .22s ease,
		color .22s ease,
		transform .22s ease,
		box-shadow .22s ease;
}

.th-action-btn:hover{
	background:var(--th-gradient-cta);
	color:#ffffff;
	transform:translateY(-2px) scale(1.04);
	box-shadow:0 14px 32px var(--th-glow-indigo);
}

.th-table-footer{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:16px;
	padding:18px 24px;
	border-top:1px solid var(--th-border-base);
}

.th-table-count{
	color:var(--th-color-text-soft);
	font-size:.82rem;
	font-weight:800;
}

.th-pagination{
	display:flex;
	align-items:center;
	gap:8px;
}

.th-page-btn{
	min-width:36px;
	height:36px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	border:none;
	border-radius:13px;
	background:var(--th-icon-soft-bg);
	color:var(--th-color-text-main);
	font-size:.85rem;
	font-weight:900;
	transition:
		background .22s ease,
		color .22s ease,
		transform .22s ease,
		box-shadow .22s ease;
}

.th-page-btn:hover:not(:disabled),
.th-page-btn.active{
	background:var(--th-gradient-cta);
	color:#ffffff;
	transform:translateY(-2px);
	box-shadow:0 14px 32px var(--th-glow-indigo);
}

.th-page-btn:disabled{
	opacity:.45;
	cursor:not-allowed;
}

/* =========================================================
	RESPONSIVE TABLE
========================================================= */

@media (max-width: 768px){

	.th-table-header,
	.th-table-footer{
		align-items:stretch;
		flex-direction:column;
	}

	.th-table-header .th-btn{
		width:100%;
	}

	.th-table-wrapper{
		max-height:420px;
	}

	.th-table-card{
		border-radius:20px;
	}

	.th-table-header{
		padding:18px;
	}

	.th-table-footer{
		padding:16px 18px;
	}

	.th-pagination{
		justify-content:center;
		flex-wrap:wrap;
	}

	.th-status-badge{
		min-height:28px;
		padding:5px 10px;
		font-size:.74rem;
	}
}

/* =========================================================
	TABS TALENTHUB
========================================================= */

.th-tabs-card{
	position:relative;
	border:1px solid var(--th-border-base);
	border-radius:26px;
	background:
		radial-gradient(
			circle at top left,
			var(--th-radial-primary),
			transparent 34%
		),
		var(--th-card-bg-glass);

	box-shadow:
		0 20px 54px rgba(15,23,42,.08);

	backdrop-filter:blur(18px);
	-webkit-backdrop-filter:blur(18px);

	overflow:hidden;
}

.th-tabs-header{
	padding:24px 24px 18px;
	border-bottom:1px solid var(--th-border-base);
}

.th-tabs-title{
	margin:0;
	color:var(--th-color-text-main);
	font-size:1.08rem;
	font-weight:900;
	letter-spacing:-.03em;
}

.th-tabs-subtitle{
	margin:6px 0 0;
	color:var(--th-color-text-soft);
	font-size:.86rem;
	font-weight:600;
	line-height:1.5;
}

/* =========================================================
	TABS NAV
========================================================= */

.th-tabs-nav{
	display:flex;
	align-items:center;
	gap:12px;
	padding:18px 24px;
	border-bottom:1px solid var(--th-border-base);
	overflow:auto;
	scrollbar-width:none;
}

.th-tabs-nav::-webkit-scrollbar{
	display:none;
}

.th-tab-btn{
	position:relative;

	min-height:48px;

	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:10px;

	padding:0 18px;

	border:none;
	border-radius:16px;

	background:transparent;

	color:var(--th-color-text-soft);

	font-size:.88rem;
	font-weight:850;

	white-space:nowrap;

	transition:
		background .22s ease,
		color .22s ease,
		transform .22s ease,
		box-shadow .22s ease,
		border-color .22s ease;

	overflow:hidden;
	isolation:isolate;
}

.th-tab-btn i{
	font-size:1rem;
}

.th-tab-btn::before{
	content:"";

	position:absolute;
	inset:0;

	background:
		linear-gradient(
			135deg,
			rgba(22,163,74,.10),
			rgba(132,204,22,.10)
		);

	opacity:0;

	transition:opacity .22s ease;

	z-index:-1;
}

.th-tab-btn:hover{
	color:var(--th-color-text-main);

	transform:translateY(-2px);

	box-shadow:
		0 12px 28px rgba(15,23,42,.08);
}

.th-tab-btn:hover::before{
	opacity:1;
}

.th-tab-btn.active{
	background:var(--th-gradient-cta);

	color:#ffffff;

	transform:translateY(-2px);

	box-shadow:
		0 16px 36px var(--th-glow-indigo);
}

.th-tab-btn.active::before{
	display:none;
}

/* =========================================================
	TABS BODY
========================================================= */

.th-tabs-body{
	padding:24px;
}

.th-tab-panel{
	display:none;

	animation:
		thTabFade .26s ease;
}

.th-tab-panel.active{
	display:block;
}

@keyframes thTabFade{

	from{
		opacity:0;
		transform:translateY(8px);
	}

	to{
		opacity:1;
		transform:translateY(0);
	}
}

/* =========================================================
	CONTENT
========================================================= */

.th-tab-panel-grid{
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
	gap:18px;
}

.th-tab-info-box{
	position:relative;

	display:flex;
	align-items:flex-start;
	gap:14px;

	padding:20px;

	border-radius:22px;

	background:
		linear-gradient(
			145deg,
			rgba(255,255,255,.68),
			rgba(255,255,255,.42)
		);

	border:1px solid var(--th-border-base);

	transition:
		transform .22s ease,
		border-color .22s ease,
		box-shadow .22s ease,
		background .22s ease;
}

.th-tab-info-box:hover{
	transform:translateY(-3px);

	border-color:var(--th-border-soft);

	box-shadow:
		0 18px 42px rgba(15,23,42,.08);

	background:
		linear-gradient(
			145deg,
			rgba(255,255,255,.92),
			rgba(255,255,255,.72)
		);
}

.th-tab-info-box i{
	width:48px;
	height:48px;

	display:flex;
	align-items:center;
	justify-content:center;

	border-radius:16px;

	background:var(--th-gradient-cta);

	color:#ffffff;

	font-size:1.1rem;

	box-shadow:
		0 12px 28px var(--th-glow-indigo);

	flex-shrink:0;
}

.th-tab-info-box h5{
	margin:0 0 6px;

	color:var(--th-color-text-main);

	font-size:.96rem;
	font-weight:850;
}

.th-tab-info-box p{
	margin:0;

	color:var(--th-color-text-soft);

	font-size:.84rem;
	font-weight:600;
	line-height:1.65;
}

/* =========================================================
	EMPTY
========================================================= */

.th-tab-empty{
	min-height:220px;

	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;

	text-align:center;

	padding:24px;
}

.th-tab-empty i{
	width:74px;
	height:74px;

	display:flex;
	align-items:center;
	justify-content:center;

	margin-bottom:18px;

	border-radius:24px;

	background:var(--th-gradient-cta);

	color:#ffffff;

	font-size:1.8rem;

	box-shadow:
		0 18px 42px var(--th-glow-indigo);
}

.th-tab-empty h5{
	margin:0 0 10px;

	color:var(--th-color-text-main);

	font-size:1.02rem;
	font-weight:900;
}

.th-tab-empty p{
	max-width:420px;
	margin:0;

	color:var(--th-color-text-soft);

	font-size:.88rem;
	font-weight:600;
	line-height:1.7;
}

/* =========================================================
	DARK MODE
========================================================= */

[data-theme="dark"] .th-tab-info-box{
	background:
		linear-gradient(
			145deg,
			rgba(5,46,22,.72),
			rgba(5,46,22,.48)
		);

	border-color:rgba(255,255,255,.06);
}

[data-theme="dark"] .th-tab-info-box:hover{
	background:
		linear-gradient(
			145deg,
			rgba(5,46,22,.92),
			rgba(5,46,22,.70)
		);

	box-shadow:
		0 20px 48px rgba(0,0,0,.30);
}

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

@media (max-width:768px){

	.th-tabs-header{
		padding:20px 18px 16px;
	}

	.th-tabs-nav{
		padding:16px 18px;
	}

	.th-tabs-body{
		padding:18px;
	}

	.th-tab-btn{
		min-height:44px;
		padding:0 16px;
		font-size:.84rem;
	}

	.th-tab-info-box{
		padding:18px;
		border-radius:20px;
	}
}


.th-phone-group .th-input-icon{
	left:16px;
}

.th-phone-prefix{
	position:absolute;
	top:50%;
	left:48px;
	transform:translateY(-50%);
	z-index:4;
	min-width:48px;
	height:30px;
	padding:0 10px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	border-radius:999px;
	border:1px solid var(--th-border-base);
	background:var(--th-badge-bg);
	color:var(--th-badge-text);
	font-size:.82rem;
	font-weight:900;
	pointer-events:none;
}

.th-phone-input{
	padding-left:108px;
}

/* =========================================================
	BUTTONS
========================================================= */

.th-btn{
	position:relative;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:9px;
	border:none;
	border-radius:999px;
	padding:13px 24px;
	font-weight:900;
	transition:
		transform .22s ease,
		box-shadow .22s ease,
		filter .22s ease;
	overflow:hidden;
	isolation:isolate;
}

.th-btn::before{
	content:"";
	position:absolute;
	top:0;
	left:-120%;
	width:75%;
	height:100%;
	background:
		linear-gradient(
			90deg,
			transparent,
			rgba(255,255,255,.34),
			transparent
		);
	transform:skewX(-18deg);
	transition:left .55s ease;
	z-index:1;
}

.th-btn:hover::before{
	left:135%;
}

.th-btn i,
.th-btn span{
	position:relative;
	z-index:2;
}

.th-btn-primary{
	background:var(--th-gradient-cta);
	color:var(--th-color-white);
	box-shadow:0 18px 42px var(--th-glow-indigo);
}

.th-btn-primary:hover{
	transform:translateY(-3px);
	filter:brightness(1.05);
	box-shadow:
		0 24px 54px var(--th-shadow-hover),
		0 0 0 4px var(--th-ring-cyan);
}

.th-btn-secondary{
	background:var(--th-icon-soft-bg);
	color:var(--th-color-text-main);
}

.th-btn-secondary:hover{
	transform:translateY(-2px);
	filter:brightness(1.05);
}

.th-helper-text{
	display:block;
	margin-top:7px;
	color:var(--th-color-text-soft);
	font-size:.8rem;
	font-weight:650;
	line-height:1.5;
}