.field:has(> select[name="countrycode"]),
.field:has(> select[name="joboffer_countrycode"]){
	display: none;
}

/*Buttons*/
.button, .wp-block-button > a, button{
	font: inherit;
	background: #fff;
	display: inline-flex;
	text-align: center;
	justify-content: center;
	border-radius: .4em;
	color: var(--color);
	border: 1px solid currentColor;
	cursor: pointer;
	padding: 0.75em 1.5em;
	transition: background-color 0.1s, border-color 0.1s, color 0.1s;
	-webkit-user-select: none;
	user-select: none;
}
.button:is(:hover, .active),
button:is(:hover, .active){
	color: var(--primary);
}

.button.primary, button.primary, .wp-block-button > a{
	font: inherit;
	color: #fff;
	background: linear-gradient(-165deg, var(--accent), var(--primary) 120%);
	border-color: var(--primary);
	border: 0;
}
.button.primary:is(:hover, .active),
.wp-block-button > a:is(:hover, .active),
button.primary:is(:hover, .active){
	background: linear-gradient(-165deg, hsl(357deg 100% 81.45%), var(--primary) 80%);
	border-color: var(--accent);
}
.button.primary.active.disabled, button.primary.active.disabled{
	color: #fff;
}

.big-button:not(.active, .selected, :hover) svg{
	color: gray;
}

.button.alt{
	background-color: #fff;
	border-color: var(--primary);
}
.button.alt:is(:hover, .active){
	color: var(--accent);
	border-color: var(--accent);
}

.button.cta,
.wp-block-button.cta > a{
	font-size: clamp(1.1rem, 2.5vw, 1.4rem);
}
.button.min{
	padding: 0.5em 1em;
}

.big-button{
	font: inherit;
	cursor: pointer;
	background-color: #fff;
	display: inline-flex;
	border-radius: .6em;
	color: var(--color);
	border: 2px solid #D3D3D3;
	text-align: center;
	gap: 5px;
	padding: 1.4rem 1rem;
	justify-content: center;
	min-width: 15ch;
	width: 100%;
	aspect-ratio: 4/2;
}
.big-button.vertical{
	flex-direction: column;
	gap: 1rem;
	transition: border-color .2s, color .2s;
}
.big-button.selected,
.big-button:hover{
	color: var(--primary);
	border-color: currentColor;
}

.big-button svg{
	font-size: 1.4rem;
}
.big-button.vertical svg{
	font-size: 1.7rem;
}

.big-button span{
	font-size: 0.875rem;
}


.big-buttons__container p{
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-bottom: 0;
}
.big-buttons__container.large a{
	padding-block: 3rem;
}
.big-buttons__container.large a.big-button svg{
	font-size: 2rem;
}
.big-buttons__container.large strong{
	font-size: clamp(1.25rem, 2.5vw, 1.4rem);
}
.big-buttons__container.large strong{}
.big-buttons__container.large span{
	font-size: 1rem;
}

.button.large{
	padding: 1.25rem 2.4em;
	font-size: 1.1rem;
}

a.back{
	display: inline-flex;
	background: #fff;
	align-items: center;
	font-size: .9rem;
	gap: 5px;
	border: 1px solid #d7d7d7;
	padding: .7em 1.1em;
	border-radius: 6px;
}
a.back:hover{
	border-color: currentColor;
}
a.back::before{
	content: '';
	display: block;
	width: 8px;
	height: 12px;
	background-image: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path d='M47 239c-9.4 9.4-9.4 24.6 0 33.9L207 433c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L97.9 256 241 113c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L47 239z'/></svg>");
}
a.back:hover::before{
	background-image: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path fill='%23eb565f' d='M47 239c-9.4 9.4-9.4 24.6 0 33.9L207 433c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L97.9 256 241 113c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L47 239z'/></svg>");
}

a[href=""]:hover{
	cursor: default;
}

.button.ai{
	border: 0;
	font-weight: 400;
	color: #fff;
	background: linear-gradient(-165deg, var(--accent), #c5229C 120%);
}
.button.ai:hover{
	background: linear-gradient(-165deg, var(--accent), #c5229C 80%);
}
.button.ai svg{
	color: #fff;
}
.button.ai.disabled{
	border: 1px solid gray;
}
/*End Buttons*/

ul.skills{
	background: #fff;
	border-radius: 8px;
	list-style: none;
	margin-top: 10px;
	border: 1px solid #cecece;
	padding-block: 8px;
}
ul.skills li{
	padding-block: 5px;
	padding-inline: 1rem;
	cursor: pointer;
}
ul.skills li:hover{
	background: #fff9f9;
	color: var(--primary);
}




/*Inputs*/
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea{
	font: inherit !important;
	border: 2px solid #cdcdcd;
	background: #fff;
	border-radius: 5px;
	height: 50px;
	padding-inline: clamp(.5rem, 2vw, 1rem);
	width: 100%;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus{
	outline-color: gray;
}

:is(input, select, textarea, button.primary)[disabled],
.button.disabled{
	background: #f3f0f0;
	color: gray;
	cursor: pointer;
	pointer-events: none;
}

select option:first-child,
select option:first-child::checked{
	color: gray;
}

select:hover{
	border-color: gray;
}

textarea{
	min-height: 175px;
	resize: vertical;
	padding: .8rem;
}

.field{
	position: relative;
}
:not(.field, .flex) > .field + .field{
	margin-top: 1rem;
}
.flex.field{
	gap: 1rem;
}
.flex.field > *{
	flex: 1;
}
.flex.field > *.flex-basis-one{
	flex: .5;
}
.flex.field > *.flex-basis-two{
	flex: 2;
}

.field:has( > input[disabled][name="nickname"]){
	display: none;
}

@media( max-width: 500px){
	.flex.field{
		flex-direction: column;
	}
}

.field > label{
	font-weight: 600;
	margin-bottom: 10px;
	display: block;
	min-height: 1rem;
}
.field > label:has( + input[required])::after,
.field > label:has( + select[required])::after,
.field > label:has( + textarea[required])::after{
	content: ' *';
}
#content :is(input, select, textarea):user-invalid:focus{
	outline-color: var(--primary);
}

div.field-note{
	color: #979797;
	font-size: clamp(.7rem, 2vw, .9rem);
	padding-top: 10px;
	text-align: right;
	text-wrap: balance;
}

.salary-range{
	margin-bottom: 2rem;
}
input[type="range"]{
	width: 100%;
	padding: 0;
}

/*Checkbox & Radio*/
.checkbox-group,
.radio-group{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}
.checkbox-group:not(:last-child){
	margin-bottom: 3rem;
}

.checkbox-list{
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding-top: 10px;
}

label:has(input[type="checkbox"]),
label:has(input[type="radio"]){
	--border: #cdcdcd;
	background: #fff;
	border: 2px solid var(--border);
	border-radius: 5px;
	cursor: pointer;
	padding: 14px;
	display: inline-flex;
	gap: 5px;
	align-items: center;
	position: relative;
	min-width: 48px;
}
label:has(input[type="checkbox"]):hover,
label:has(input[type="radio"]):hover{
	--border: #b5b5b5;
}
:where(label:has(input[type="checkbox"]):hover input){
	--border: gray;
}

label:has(input[type="checkbox"].noborder),
label:has(input[type="radio"].noborder){
	border: 0;
	padding: 0;
}

input[type="checkbox"]{
	--size: 20px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: #fff;
	cursor: pointer;
	border: 2px solid var(--border);
	border-radius: 3px;
	width: var(--size);
	height: var(--size);
}

label:has(input[type="radio"]){
	justify-content: center;
}
input[type="radio"]:not(.ninja-forms-field){
	position: absolute;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	visibility: hidden;
}
input[type="checkbox"]:checked,
label:has(input[type="checkbox"]:checked),
label:has(input[type="radio"]:checked){
	--border: var(--primary);
}
input[type="checkbox"]:checked{
	--border: var(--primary);
	background: var(--primary);
}
label:has(input[type="radio"]:checked){
	color: var(--primary);
}
input[type="checkbox"]:active,
label:has(input[type="checkbox"]:active),
label:has(input[type="radio"]:active),
label:has(input[type="checkbox"]:checked):hover,
label:has(input[type="radio"]:checked):hover{
	--border: var(--accent);
}
label:has(input[type="checkbox"]:checked)::before{
	content: '';
	width: 16px;
	aspect-ratio: 1;
	position: absolute;
	top: 50%;
	left: 0;
	translate: 16px -50%;
	background-image: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='%23fff' d='M441 103c9.4 9.4 9.4 24.6 0 33.9L177 401c-9.4 9.4-24.6 9.4-33.9 0L7 265c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l119 119L407 103c9.4-9.4 24.6-9.4 33.9 0z'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
}
label:has(input[type="checkbox"].noborder:checked)::before{
	translate: 2px -50%;
}

#content label.default-checkbox-style{
	background: none;
	border: none;
	padding-inline: 0;
	font-weight: 500;
	gap: 10px;
}
#content label.default-checkbox-style:has(input:checked)::before{
	transform: translatex(-14px);
}

.checkbox-group strong{
	font-weight: 500;
}

#content form[name="expertise"] label.default-checkbox-style{
	margin-bottom: 0;
}

.availabilities label::before,
.availabilities input,
.RE .availabilities > span{
	display: none;
}
.availabilities label:has(input:checked){
	color: var(--primary);
}

.availabilities label:has(input[type="radio"]){
	color: var(--primary);
	border-color: currentColor;
}
.availabilities label:has(input[type="radio"]:checked) ~ label{
	color: var(--color);
	border-color: var(--border);
}


/*Toggle Bool*/
#content label.bool{
	background: #e9e9e9;
	border: 0;
}
#content label.bool{
	background: #e9e9e9;
	border: 0;
	overflow: hidden;
	padding: 0;
	gap: 0;
}
#content label.bool:hover{
	background: #edecec;
}
#content label.bool input{
	position: absolute;
	visibility: hidden;
}
#content label.bool span{
	z-index: 1;
	text-align: center;
	padding: .8em 1.1em;
	width: 50%;
}
#content label.bool input + span{
	color: gray;
}
#content label.bool input:checked + span{
	color: var(--primary);
}
#content label.bool input:checked + span + span{
	color: gray;
}
#content label.bool::before{
	content: '';
	inset: 0;
	width: 50%;
	border-radius: 5px;
	background: #fff;
	border: 1px solid gray;
	translate: 99.1% 0;
	aspect-ratio: auto;
	position: absolute;
	transition: translate 0.1s;
}

#content label.bool:has(input:checked)::before{
	border-color: var(--primary);
	translate: 0;
}


.rates .field input{
	padding-left: 2rem;
	padding-right: 4rem;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: textfield;
	appearance: none;
}
.rates .field input::-webkit-inner-spin-button,
.rates .field input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.salary-range{
	margin-bottom: 2rem;
}
.rates p{
	min-height: 60px;
}


input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  width: 100%;
}
input[type="range"]:focus {
  outline: none;
}

/******** Chrome, Safari, Opera and Edge Chromium styles ********/
/* slider track */
input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  border-bottom: 1px solid #d9d9d9;
  /*background: linear-gradient(90deg, #ffe6e7, var(--primary), #ffe6e7);*/
}

/* slider thumb */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  margin-top: 2px;
  background-image: url("data:image/svg+xml, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path fill='%23f1898e' d='M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8l256 0c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 13px;
  width: 13px;
}

input[type="range"]:focus::-webkit-slider-thumb {
  background-image: url("data:image/svg+xml, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path fill='%23eb565f' d='M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8l256 0c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z'/></svg>");
}

/*********** Firefox styles ***********/
/* slider track */
input[type="range"]::-moz-range-track {
	height: 0.5rem;
	border-bottom: 1px solid #d9d9d9;
	/*background: linear-gradient(90deg, #ffe6e7, var(--primary), #ffe6e7);*/
}

/* slider thumb */
input[type="range"]::-moz-range-thumb {
  border: none;
  margin-top: 2px;
  background-image: url("data:image/svg+xml, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path fill='%23f1898e' d='M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8l256 0c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 13px;
  width: 13px;
}
input[type="range"]:focus::-moz-range-thumb{
  background: var(--primary);
}


/*File*/
input[type="file"]::file-selector-button{
	display: none;
}
label.custom-file-input{
	display: block;
	cursor: pointer;
	border: 2px dashed #c7c7c7;
	width: 100%;
	padding: 1rem;
	border-radius: .5rem;
	background: #fff;
	position: relative;
}
label.custom-file-input:hover{
	border-color: gray;
}
label.custom-file-input::after{
	content: 'Choose a file';
	display: block;
	position: absolute;
	background: #d9d9d9;
	border-radius: 5px;
	inset: 5px 5px 5px auto;
	padding: .7rem 1.6rem;
	transition: background 0.2s;
}
label.custom-file-input:hover::after{
	background: var(--primary);
	color: #fff;
}

#page .card:has(> .parsing-animation){
	margin-top: 4rem;
	opacity: 1;
}
.parsing-animation,
.card.ai-icon{
  --color1: #a741fb;
  --color2: #ffb3b3;
  --size: 3px;
  margin-inline: auto;
  position: relative;
  border: 0;
  border-radius: 0;
}
.parsing-animation{
  overflow: hidden;
  display: none;
  max-width: 25rem;
}
.parsing-animation::after,
.card.ai-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 5px;
  background: linear-gradient(120deg, var(--color1), var(--color2), var(--color1));
  background-size: 300% 300%;
  clip-path: polygon(0% 100%, var(--size) 100%, var(--size) var(--size), calc(100% - var(--size)) var(--size), calc(100% - var(--size)) calc(100% - var(--size)), var(--size) calc(100% - var(--size)), var(--size) 100%, 100% 100%, 100% 0%, 0% 0%);
  animation: frame-enter 1s forwards ease-in-out reverse, gradient-animation 2s ease-in-out infinite;
}


/* motion */
@keyframes gradient-animation {
  0% { background-position: 15% 0%; }
  50% { background-position: 85% 100%; }
  100% { background-position: 15% 0%; }
}

@keyframes frame-enter {
  0% {
    clip-path: polygon(0% 100%, var(--size) 100%, var(--size) var(--size), calc(100% - var(--size)) var(--size), calc(100% - var(--size)) calc(100% - var(--size)), var(--size) calc(100% - var(--size)), var(--size) 100%, 100% 100%, 100% 0%, 0% 0%);
  }
  25% {
    clip-path: polygon(0% 100%, var(--size) 100%, var(--size) var(--size), calc(100% - var(--size)) var(--size), calc(100% - var(--size)) calc(100% - var(--size)), calc(100% - var(--size)) calc(100% - var(--size)), calc(100% - var(--size)) 100%, 100% 100%, 100% 0%, 0% 0%);
  }
  50% {
    clip-path: polygon(0% 100%, var(--size) 100%, var(--size) var(--size), calc(100% - var(--size)) var(--size), calc(100% - var(--size)) var(--size), calc(100% - var(--size)) var(--size), calc(100% - var(--size)) var(--size), calc(100% - var(--size)) var(--size), 100% 0%, 0% 0%);
  }
  75% {
    -webkit-clip-path: polygon(0% 100%, var(--size) 100%, var(--size) var(--size), var(--size) var(--size), var(--size) var(--size), var(--size) var(--size), var(--size) var(--size), var(--size) var(--size), var(--size) 0%, 0% 0%);
  }
  100% {
    -webkit-clip-path: polygon(0% 100%, var(--size) 100%, var(--size) 100%, var(--size) 100%, var(--size) 100%, var(--size) 100%, var(--size) 100%, var(--size) 100%, var(--size) 100%, 0% 100%);
  }
}

.parsing-animation .bar{
	position: relative;
	margin-bottom: 5px;
	background: #f2f2f2;
	height: 8px;
	width: 100%;
	border-radius: 1rem;
	overflow: hidden;
}
.parsing-animation .bar[style]::before{
	content: '';
	position: absolute;
	height: 100%;
	border-radius: 2rem;
	width: var(--progress);
	background-image: linear-gradient(90deg, var(--primary), var(--accent));
	transition: width 0.2s;
}
.parsing-animation .bar[style*="100"]::before{
	background-image: initial;
	background-color: var(--primary);
}
.parsing-animation .progression{
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  margin-bottom: 2rem;
}
.parsing-animation .progression::after{
	content: attr(data-progress)'%';
	font-weight: 600;
	font-size: 1.2rem;
}
.parsing-animation .progression .bar{
	height: 12px;
	margin-bottom: 0;
}

.parsing-animation p{
	font-size: .9rem;
}

.parsing-animation ul{
	display: flex;
	flex-direction: column;
	gap: 2rem;
	list-style: none;
}
.parsing-animation li{
	--color: #b9b9b9;
}
.parsing-animation li,
.parsing-animation li div{
	position: relative;
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 24px;
	width: 100%;
	color: var(--color);
}
.parsing-animation li::before{
	content: '';
	display: block;
	width: 5px;
	aspect-ratio: 1;
	border-radius: 50px;
	background: var(--color);
	z-index: 9;
}
.parsing-animation li:not(:first-child)::after{
	content: '';
	width: 1px;
	height: 60px;
	position: absolute;
	bottom: 10px;
	left: 2px;
	border-right: 1px solid;
	border-color: var(--color);
	z-index: 1;
}


.parsing-animation li:is(.loading, .done){
	--color: #000;
}
.parsing-animation svg{
	margin-left: auto;
	color: var(--color);
	translate: -1px 0;
	display: none;
}
.parsing-animation .loading svg{
	display: inline-block;
}
.parsing-animation li.done div::after{
	content: '';
	background-image: url("data:image/svg+xml, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'><path d='M320 576C178.6 576 64 461.4 64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576zM438 209.7C427.3 201.9 412.3 204.3 404.5 215L285.1 379.2L233 327.1C223.6 317.7 208.4 317.7 199.1 327.1C189.8 336.5 189.7 351.7 199.1 361L271.1 433C276.1 438 282.9 440.5 289.9 440C296.9 439.5 303.3 435.9 307.4 430.2L443.3 243.2C451.1 232.5 448.7 217.5 438 209.7z'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	height: 24px;
	width: 19px;
	aspect-ratio: 1;
	margin-left: auto;
}


/*Tags / Items*/
.tag-group{
	flex-wrap: wrap;
	padding-top: 2rem;
	gap: 8px;
}
.tag{
	display: flex;
	gap: 8px;
	background: #f3f3f3;
	padding: 0.5em;
	border-radius: 6px;
}
.tag:has([class*="xmark"]){
/*	background: #e4e4e4;*/
}

/*Keyskill and Setmain*/
.with-keyskills .tag{
	cursor: pointer;
}
.tag.keyskill{
	--keyskill: #6a9999;
	--ismain: #ffd75b;
	background: var(--keyskill);
	color: #fff;
}

/*
.tag span.setmain{
	user-select: none;
	font-size: 1.1rem;
}
.tag.keyskill span.setmain{
	cursor: pointer;
}
.tag:not(.keyskill) span.setmain{
	opacity: .5;
}
.tag.keyskill span.setmain:not(.ismain):hover{
	color: var(--ismain);
}

.tag svg[data-prefix="fass"]{
	color: #ffd75b;
}
.tag:not(.keyskill) span.setmain,
.tag span.setmain:not(.ismain) svg[data-prefix="fass"],
.tag span.setmain.ismain svg[data-prefix="fasr"],
.tag.keyskill svg[class*="trash"]{
	display: none;
}
*/

.tag svg[class*="trash"]{
	font-size: .9rem;
	margin-left: 5px;
}
.tag.keyskill svg[class*="trash"]{
	color: white;
}
.tag svg[class*="trash"]:hover{
	color: red;
}

.skills-instructions p{
	margin: 1rem 0 0;
}


.password-strength{
	justify-content: space-between;
	padding-top: 10px;
	color: #8e8e8e;
	font-size: 0.875rem;
}


/*Tabs*/
.tabs{
	display: flex;
	gap: 1rem;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}
.tabs > *{
	background: #e4e4e4;
	padding: .6em 1.2em;
	border-radius: 50px;
	cursor: pointer;
	border: 2px solid white;
	transition: background 0.1s, box-shadow 0.1s;
}
.tabs > *:hover{
	background: #f1f1f1;
}
.tabs > *.active{
	background: var(--primary);
	color: #fff;
	box-shadow: 0 0 0 2px var(--primary);
}
.tabs > *.active:hover{
	background: var(--accent);
	box-shadow: 0 0 0 2px var(--accent);
}

.tabs__content > *:not(.open){
	display: none;
}

ol.tabs{
	list-style: numeric inside;
}

/* /TABS*/



/*
.profile-picture label{
	--size: 8rem;
	display: grid;
	place-items: center;
	background: linear-gradient(0deg, var(--primary), var(--accent));
	height: var(--size);
	width: var(--size);
	cursor: pointer;
	border: 2px solid var(--primary);
	border-radius: 50rem;
}
.profile-picture label:hover{
	border-color: var(--accent);
}
.profile-picture label:hover + .icon{
	color: var(--primary);
}
.profile-picture input{
	position: absolute;
	visibility: hidden;
}
.profile-picture .letter{
	font-size: 3rem;
	font-weight: 600;
	color: #fff;
}
*/

.filepond__container{
}
#content .filepond--image-preview{
	background: #fff;
}

.filepond--image-preview-overlay.filepond--image-preview-overlay-idle{
	display: none;
}
.profile-picture{
	position: relative;
	max-width: max-content;
	margin: 0 auto 0;
}

@media(min-width: 476px){
	.cover-picture + .profile-picture{
		position: absolute;
		left: 50%;
		translate: -50% -60%;
	}

	.cover-picture + .profile-picture{
		translate: -50% -35%;
	}
}

.cover-picture{
	position: relative;
}
.filepond__container .icon{
	position: absolute;
	right: 0;
	bottom: 0;
	background: #fff;
	display: grid;
	place-items: center;
	border-radius: 50%;
	width: 2rem;
	aspect-ratio: 1;
	cursor: pointer;
	translate: -15px 0;
	box-shadow: 0 0 5px #00000033;
}
.cover-picture .icon{
	translate: -15px 15px;
}


/*Filepond*/
.filepond--root{
	cursor: pointer;
}
.filepond--root.filepond{
	position: relative;
	cursor: pointer;
}
.filepond--panel-root {
	border: 2px solid;
	border-color: #f1f0ef;
	transition: border-color 0.2s;
}
.filepond--root:hover .filepond--panel-root{
	border-color: #222;
}
.filepond--root .filepond--credits{
	display: none;
}

.profile-picture .filepond--root {
	width: 170px;
	margin: 0 auto;
}
.profile-picture .filepond--drop-label.filepond--drop-label label{
	padding: 0;
	font-size: 3rem;
	font-weight: 600;
}
#content .filepond--drop-label label{
	cursor: pointer;
}
.profile-picture .filepond--panel-root {
	background-color: #e5e5e5;
	border-color: #e5e5e5;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 170px;
}

.profile-picture .filepond--drop-label{
	opacity: 0 !important;
}

#content ul.filepond--list{
	max-width: initial;
}

.student.step-2 .filepond--file [data-align*="bottom"],
.step-3 .filepond--file [data-align*="bottom"]{
	bottom: initial;
}
.student.step-2 .filepond--file .filepond--progress-indicator.filepond--load-indicator,
.step-3 .filepond--file .filepond--progress-indicator.filepond--load-indicator{
	translate: 2px 0px;
}

html[lang="en"] .profile-picture .filepond--panel-root {
	background-image: url('/assets/img/placeholders/profile-en.png');
}
html[lang="fr"] .profile-picture .filepond--panel-root {
	background-image: url('/assets/img/placeholders/profile-fr.png');
}
html[lang="nl"] .profile-picture .filepond--panel-root {
	background-image: url('/assets/img/placeholders/profile-nl.png');
}

html[lang="en"] .profile:has(input[name="companyProfilePicture"]) .filepond--panel-root,
html[lang="en"] .companyprofile .filepond--panel-root {
	background-image: url('/assets/img/placeholders/logo-en.png');
}
html[lang="fr"] .profile:has(input[name="companyProfilePicture"]) .filepond--panel-root,
html[lang="fr"] .companyprofile .filepond--panel-root {
	background-image: url('/assets/img/placeholders/logo-fr.png');
}
html[lang="nl"] .profile:has(input[name="companyProfilePicture"]) .filepond--panel-root,
html[lang="nl"] .companyprofile .filepond--panel-root {
	background-image: url('/assets/img/placeholders/logo-nl.png');
}

.filepond--root.cover,
.filepond--root.cover .filepond--drop-label{
	min-height: 8rem;
}
.filepond--root.cover .filepond--drop-label{
	align-items: flex-start;
}
.filepond--root.cover .filepond--drop-label label{
	padding: 0.7rem;
}
.student.step-2 #content .filepond--panel-root,
.step-3 #content .filepond--panel-root,
#content .filepond.cv .filepond--panel-root,
.jobs .filepond--panel-root {
	background-color: #fff;
	border-color: gray;
	border-style: dashed;
	cursor: pointer;
}
.student.step-2 #content .filepond--root:hover .filepond--panel-root,
.step-3 #content .filepond--root:hover .filepond--panel-root,
#content .filepond.cv:hover .filepond--panel-root,
.jobs .filepond:hover .filepond--panel-root {
	border-color: #222;
}

/*Portfolio list*/
#content .gallery ul.filepond--list{
	position: initial !important;
	max-width: initial;
	padding-inline: 1rem;
	margin-bottom: 1rem;

	--grid-max-col-count: 3;
	--grid-min-col-size: 200px;
	--grid-gap: 1rem;

	--grid-col-size-calc: calc((100% - var(--grid-gap) * var(--grid-max-col-count)) / var(--grid-max-col-count));
	--grid-col-min-size-calc: min(100%,
			max(var(--grid-min-col-size), var(--grid-col-size-calc)));

	display: grid;
	gap: var(--grid-gap);
	grid-template-columns: repeat(auto-fill,
			minmax(var(--grid-col-min-size-calc), 1fr));
}
#content .gallery ul.filepond--list > li{
	position: relative !important;
	transform: initial !important;
}
#content .gallery ul.filepond--list > li[data-filepond-item-state="busy"]{
	height: 45px !important;
	background: gray;
	border-radius: 8px;
}
#content .gallery ul.filepond--list > li[data-filepond-item-state="busy"] .filepond--item-panel{
	display: none;
}
#content .gallery ul.filepond--list > li button.filepond--action-abort-item-load{
	background-color: transparent;
}
#content .gallery ul.filepond--list > li .filepond--file-status{
	display: none;
}
#content .gallery ul.filepond--list > li .filepond--file .filepond--progress-indicator{
	bottom: 0.825rem;
	left: calc(50% - 0.4125em);
}

#page .ui-slider{
	background: #ffedee;
	border: 0;
	height: 6px;
}
#page .ui-slider-range{
	background: var(--primary);
	height: 6px;
	width: 100%;
	border-radius: 50rem;
}
#page .ui-slider-handle {
	position: absolute;
	background: white;
	border: 2px solid var(--primary);
	border-radius: 50%;
	aspect-ratio: 1;
	top: -.4em;
	margin-left: -.6em;
	z-index: 2;
	outline: none;
}
#page .ui-slider-handle.ui-state-focus{
	background: var(--accent);
}

.enter-input-container{
	position: relative;
}
.enter-input-container input{
	padding-right: 6rem;
}
.enter-input-container::after{
	--inset: 8px;
	content: '↵ Enter';
	font-family: Menlo, Consolas, Monaco, "Courier New", monospace;
	font-size: .9rem;
	display: grid;
	place-content: center;
	padding: 0.5rem 0.8rem;
	background: #efefef;
	color: gray;
	position: absolute;
	inset: var(--inset) var(--inset) var(--inset) auto;
	border-radius: 4px;
	opacity: 0;
	box-shadow: inset -3px -3px 0 #8080801a;
}
.enter-input-container.typing::after{
	opacity: 1;
}


.rates{
	gap: 3rem;
}
.rates > *{
	flex: 1;
}
.rates .field input{
	height: 55px;
}
.rates .field::before{
	content: attr(data-prefix);
	position: absolute;
	top: 0;
	left: 0;
	translate: 15px 46px;
	font-size: 1.1rem;
	z-index: 1;
}
.rates .field::after{
	content: attr(data-suffix);
	position: absolute;
	top: 0;
	right: 0;
	translate: -15px 45px;
	font-size: .9rem;
	color: #ccc;
	z-index: 1;
}

.salary-range{
	position: relative;
	padding-inline: 2.5rem;
	max-width: 20rem;
	margin-inline: auto;
}
.salary-range::before,
.salary-range::after{
	display: none;
	content: '';
	font-size: .8rem;
	color: gray;
	position: absolute;
	bottom: 0;
}
.salary-range::before{
	content: '€'attr(data-min);
	left: 0;
}
.salary-range::after{
	content: '€'attr(data-max);
	right: 0;
}

.visualizer{
	padding-top: 1rem;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}
.visualizer > *{
	width: 10px;
	height: 3rem;
	background: #d9d9d9;
	border-radius: 50px;
}
.visualizer > *:nth-child(1),
.visualizer > *:nth-child(11){ height: 1rem }

.visualizer > *:nth-child(2),
.visualizer > *:nth-child(10){ height: 1.4rem }

.visualizer > *:nth-child(3),
.visualizer > *:nth-child(9){ height: 1.8rem }

.visualizer > *:nth-child(4),
.visualizer > *:nth-child(8){ height: 2.2rem; background: #f0bec1 }

.visualizer > *:nth-child(5),
.visualizer > *:nth-child(7){ height: 2.6rem; background: var(--accent); }

.visualizer > *:nth-child(6){ background: var(--primary); }

/* Custom Date Input Styles */
.custom-date-input {
    position: relative;
    color: transparent;
}

.custom-date-input:before {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    content: attr(data-date);
    display: inline-block;
    color: var(--color);
    pointer-events: none;
    font: inherit;
}

/* Show format placeholder when input is empty */
.custom-date-input:not([data-date]):before,
.custom-date-input[data-date=""]:before {
    content: attr(data-date-format);
    color: #999;
}

.custom-date-input::-webkit-datetime-edit, 
.custom-date-input::-webkit-inner-spin-button, 
.custom-date-input::-webkit-clear-button {
    display: none;
}

.custom-date-input::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    color: var(--color);
    opacity: 1;
    cursor: pointer;
}

.custom-date-input:disabled:before {
    color: #999;
}

.custom-date-input:disabled::-webkit-calendar-picker-indicator {
    color: #999;
    opacity: 0.5;
}
.css-144rw37.Mui-selected,
.css-tz7n0g.Mui-selected{
	background-color: var(--primary) !important;
}
.css-tz7n0g,
.css-tz7n0g:hover,
.css-144rw37:hover{
	background-color: hsl(357deg 79% 74% / 11%) !important;
}
.css-tz7n0g:not(.Mui-selected){
	border-color: var(--primary) !important;
}

.custom-date-input{
	background: #fff;
}
#content .MuiPickersInputBase-root{
	padding-block: 1px;
}
.custom-date-input fieldset,
.MuiPickersOutlinedInput-notchedOutline figure{
	border-width: 2px;
	border-color: #cdcdcd;
}

.languages-add{
	display: flex;
	flex-direction: column-reverse;
}
.languages-add .items-list{
	padding-top: 0;
}
.languages-add .items-list:has(> div){
	margin-bottom: 2rem;
}

/*Responsive*/
@media( max-width: 475px){

	.field > label,
	.step-7 .radio-group > span{
		font-size: .9rem;
	}
	.field > label{
		margin-bottom: 5px;
	}
	input::placeholder{
		font-size: .9rem;
	}

	label:has(input[type="checkbox"]), label:has(input[type="radio"]){
		padding: 8px;
		font-size: .8rem;
	}
	.checkbox-group label:has(input[type="checkbox"]:checked):not(.default-checkbox-style)::before{
		translate: 10px -50%;
	}
	.tag-group{
		padding-top: 1rem;
	}
	.tag{
		font-size: .8rem;
	}

	#content .MuiPickersInputBase-root{
		padding-block: 0;
	}

	#content .MuiPickersInputBase-root .css-7p02jm{
		font-size: .85rem;
	}

	.radio-group{
		gap: 5px !important;
	}

	
	.items-list{
		font-size: .9rem;
	}


	input[type="text"],
	input[type="email"],
	input[type="password"],
	input[type="date"],
	input[type="number"],
	select,
	textarea,
	.rates .field input{
		height: 45px;
		font-size: .9rem !important;
	}


	.rates .field::before{
		font-size: 1rem;
		translate: 15px 36px;
	}
	.rates .field::after{
		translate: -15px 36px;
	}


}

/* Password Input Component Styles */
.password-input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.password-input-wrapper input {
	width: 100%;
	padding-right: 40px !important; /* Space for the eye icon */
}

.password-toggle-wrapper {
	position: absolute !important;
	right: 12px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	cursor: pointer !important;
	z-index: 1000 !important;
	user-select: none !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	width: 20px !important;
	height: 20px !important;
	background: transparent !important;
	border: none !important;
	outline: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.password-toggle-wrapper:active {
	transform: translateY(-50%) scale(0.95) !important;
}

.password-toggle-wrapper:hover i {
	color: #333 !important;
}

.password-toggle-wrapper i {
	font-size: 16px !important;
	color: #666 !important;
	transition: color 0.2s ease !important;
	pointer-events: none !important;
}
