:root {
	--text: #454540;
	--alerts-red: #9e0000;
	--pw-gold: #fbc02d;
	--border-color: #e0e0e0;
	--main-bg: #fff;
	--second-bg: #ededed;
	--forms-bg: #fafafa;
}


form {
	background-color: #fff;
	max-width: 750px;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;

}

#otherOption {

	margin-top: 30px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

#otherOption ul {
	padding-left: 40px;
}

.main-form {
	background-color: #fafafa;
}


h1 {
	text-align: center;
	color: var(--text);
	margin-bottom: 30px;
	font-size: 1.625rem;
}

section ul {
	margin-left: 1.5em;
	padding-left: 1.5em;
	list-style-position: outside;
	margin: 10px;
}


label {
	display: block;
	margin-top: 15px;
}

form label:nth-child(1) {
	margin-top: 30px;
}


form hr {
	border: none;
	height: 2px;
	background-color: var(--second-bg);
	margin: 30px 0;
}

section {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

i {
	display: block;
	font-size: 0.8125rem;
	margin-top: 10px;
	color: #555;
}

input[type="radio"],
input[type="checkbox"] {
	margin-right: 8px;
	margin-top: 0px;
}

.questions,
.label {
	margin-top: 30px;
	font-weight: 700;
}

input[type="radio"]+label,
input[type="checkbox"]+label {
	display: inline-block;
}


.required-legend {
	/* margin-top: 20px; */
	font-size: 14px;
	color: var(--alerts-red);
}

button[type="submit"],
.add-btn,
#saveAssessment,
#requestHelp,
.submit-btn,
#helpBtn, #addCommentBtn ,#applyJobBtn {
	background-color: var(--pw-gold);
	color: var(--text);
	font-weight: 700;
	border: none;
	padding: 8px 16px;
	font-size: 0.875rem;
	border-radius: 6px;
	cursor: pointer;
	display: block;

}

.add-btn {
	margin-top: 15pxs;
}

button[type="submit"] {
	width: 100px;
}

button[type="submit"]:hover {
	background-color: #f0b400!important;
}

.legend-button-section {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

textarea {
	resize: vertical;
}

textarea,
.file-input-group,
input[type="date" i],
input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="url"] {
	border: 2px solid #D9D9D9;
	border-radius: 5px;
	min-width: 250px;
	max-width: 859px;
	padding: 10px;
	margin-top: 15px;
	width: 100%;
}


.remove-btn {
	background-color: var(--text);
	color: var(--main-bg);
	font-weight: 700;
	border: none;
	padding: 8px 16px;
	font-size: 0.875rem;
	border-radius: 6px;
	cursor: pointer;
	display: block;

}
.remove-btn:hover{
	background-color:#323230!important;
}

input:focus,
textarea:focus {
	border-color: var(--pw-gold);
	outline: none;
}

select option[value=""]:hover {
	background-color: inherit;

}

option:hover {
	background: var(--second-bg);
}

option::checkmark {
	display: none;
}

select {
	border: 2px solid #D9D9D9;
	border-radius: 5px;
	padding: 10px;
	padding-right: 35px;
	max-width: 859px;
	min-width: 250px;
	background-color: #fff;
	color: var(--text);
	font-size: 14px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	opacity: 0;
	position: absolute;
	pointer-events: none;
	cursor: pointer;
}

.custom-picker {
	position: relative;
	width: 100%;
	font-family: inherit;
	color: var(--text);
}

.custom-picker .selected {
	position: relative;
	padding-right: 35px;
	border: 2px solid #ddd;
	border-radius: 8px;
	padding: 10px;
	background: #fff;
	cursor: pointer;
	transition: 0.3s;
	margin-top: 10px;
}

.custom-picker .selected:hover {
	background: var(--second-bg);
}


.custom-picker .options {
	position: absolute;
	/* top: calc(100% + 2px);  */
	top: 100%;
	left: 0;
	width: 100%;
	z-index: 999;
	display: none;
	flex-direction: column;
	background: #fff;
	border: 2px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	animation: fadeDown 0.2s ease;
	max-height: 297px;
	overflow-y: auto;
}

@keyframes fadeDown {
	from {
		opacity: 0;
		transform: translateY(-5px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.custom-picker.active .options {
	display: flex;
}


.custom-picker .options div {
	display: flex;
	justify-content: flex-start;
	gap: 20px;
	padding: 10px;
	border-bottom: 1px solid #ddd;
	transition: 0.3s;
	cursor: pointer;
}

.custom-picker .options div:first-of-type {
	border-radius: 8px 8px 0 0;
}

.custom-picker .options div:last-of-type {
	border-radius: 0 0 8px 8px;
	border-bottom: none;
}

.custom-picker .options div:hover {
	background: var(--second-bg);
}


.custom-picker .selected::after {

	content: "▼";
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 16px;
	color: var(--text);
	pointer-events: none;
	transition: transform 0.3s;
	line-height: 1;
	transform-origin: center center;
}


.custom-picker.active .selected::after {
	transform: translateY(-50%) rotate(180deg);
}


/*Jobs*/

.jobs-main{
	height: 100vh;
	background-color: var(--forms-bg);
}
.assessmentButtons {
	display: flex;
	justify-content: space-between;
	margin-bottom: 30px;
}


#startRecording1,
#stopRecording1,
#startRecording2,
#stopRecording2 {
	width: 40px;
	height: 40px;
}

.recording-box {
	display: flex;
	flex-direction: column;
	align-content: space-around;
	align-items: center;
	gap: 40px;

}

.recording-buttons {
	display: flex;
	justify-content: center;
	gap: 20px;

}

.recording-buttons-box {
	display: flex;
	flex-direction: column;
	align-items: center;
}


.file-input-group {
	display: flex;
	justify-content: space-between;
	align-items: center;
}


/*Tickets*/
.ticketDetailsTitle {
	margin: 0;
}

.close-tickets-contianer {
	display: flex;
	justify-content: space-between;
	align-content: center;
	align-items: center;

}

.closeTicket {
	padding: 8px 16px;
	font-size: 2rem;
	font-weight: bold;
	color: var(--text);
	cursor: pointer;
}

#closeKBA {
	padding: 0;
	margin-bottom: 10px
}


.ticketsIcon {
	cursor: pointer;
}

.img-ticket {
	width: 64px;
	height: 64px;
}


.text-ticket {
	gap: 10px;
	display: flex;
	flex-direction: column;
}

.container {
	width: 100%;
	max-width: 750px;
	margin: 0 auto;
	display: unset;
}


#ticketsContainer {

	background: var(--main-bg);
	border-radius: 16px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.noTicketsMessage{
	margin-top: -20px;
}

#ticketsHeader {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--text);
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.info {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ticket-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	border-radius: 16px;
}

.ticketBox {
	background: var(--main-bg);
	border: 2px solid var(--border-color);
	border-radius: 12px;
	padding: 16px 20px;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	align-items: center;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
	transition: box-shadow 0.15s ease;
}

.ticketBoxt:hover {
	box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
}

.ticket-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}


.ticket-card h3 {
	font-weight: 600;
	color: #036f86;

}

.ticketDetailsSubTitle,
.addCommentSection {
	margin-top: 20px;
}

.ticket-card p , .ticket-card span {
	font-size: 0.813rem;
	color: var(--text);
	margin: 0;
}

.ticket-card span {
	font-weight: 600;
}
/* color badge */
.badge {
	font-size: 0.813rem;
	font-weight: 600;
	padding: 8px 16px;
	border-radius: 8px;
	width: fit-content;
	margin-top: 4px;
}


.badge.open,
.badge.applied {
	background: #D9EDDA;
	color: #2a703d;
	padding: 8px 16px;
}

.badge.comments {
	background: #A9AAD6;
	color: #0b386b;
	padding: 8px 16px;
	height: fit-content;
}

.badge.info-rq {
	background: #eff6ff;
	color: #1e40af;
	border-color: #bfdbfe
}

.badge.email {
	background: #c8e9ef;
	color: #036F86;
	padding: 8px 16px;
}

.badge.closed,
.badge.not-applied {
	background: var(--alerts-red);
	color: var(--main-bg);
	padding: 8px 16px;
}

.badge.medium {
	background: #ffdd87;
	color: #7d5b03;
	padding: 8px 16px;

}

.comments{
	margin-bottom: 0!important;
}
hr {
	border: 1px solid #EDEDED;
}

.hr-comment {
	margin-top: 20px;
	border: 1px solid #EDEDED;
}

/*Ticket Details*/

.ticket-card button:hover,
.back-button:hover,
#newCommentBtn:hover,
.continue-button:hover {
	background-color: #043d4c;
}

main.forms-tickets {
	background-color: var(--forms-bg);
}

.ticket-details-container {
	box-sizing: border-box;
	max-width: 750px;
	margin: 0 auto;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	border-radius: 16px;
	padding: 24px;
	font-family: 'Mulish', sans-serif;
	background-color: var(--main-bg);
}

.ticket-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.ticket-header h1 {
	font-weight: 700;
	margin: 0;
}

#kba-details-status-title {
	gap: 20px
}

.ticket-info p {
	margin-top: 10px;
	font-size: 14px!important;
}

.ticket-info .description {
	margin-bottom: 20px;
}

.emails-container li {
	margin-top: 20px;
	border: 2px solid #EDEDED;
	border-radius: 10px;
	padding: 15px;
	font-size: 14px;
	line-height: 1.7;
	list-style: none;
}

.emails-container ul {
	list-style: none;
}

#addCommentBtn,
#applyJobBtn, #dropApplication {
	font-size: 0.875rem;
	padding: 10px 20px;
	width: unset!important;
}


.back-button {
	margin-top: 20px;
}

#newCommentBtn {
	margin-top: 0px!important;
}

#addCommentBtn {
	height: fit-content;
}

.back-button,
.continue-button,
.ticket-card button {

	padding: 10px 20px;
	background: #036F86;
	color: white;
	border: none;
	border-radius: 6px;
	font-size: 0.875rem;
	cursor: pointer;
	transition: background 0.2s ease;
	font-weight: 700;
}


.commentTitleBtn {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
}

.commentTitleBtn h3 {
	font-size: 1.25rem;
}

.comment-container {
	display: none;
	flex-direction: column;
	gap: 10px;
	margin-top: 20px;
}

.comment-container label {
	font-size: 0.875rem!important;
	font-weight: bold!important;
}

.arrow-icon {
	width: 16px;
	height: 16px;
	transition: transform 0.3s ease;
}

#country-dropdown>div.selected>span.arrow-icon {
	width: unset;
	height: unset;
	margin-left: auto;
	font-size: 0.8rem;
	user-select: none;
}

.arrow-icon.rotate {
	transform: rotate(180deg);
}

#icon , .icon {
	display: flex;
	flex-direction: row-reverse;
	gap: 10px;
}


.fileButtons-tickets{
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.fileButtons-jobs {
	display: flex;
	gap: 15px;
}


.file-upload {
	display: flex;
	align-items: center;
	margin-bottom: 8px;
}

.file-label {
	margin-top: 0;
	background: #f5f5f5;
	border: 1px solid #ddd;
	align-items: center;
	transition: background 0.2s;
	padding: 8px 16px;
	font-size: 0.875rem;
	border-radius: 6px;
	cursor: pointer;
	display: flex;
    gap: 5px;
	justify-content: center;
}

#addCommentLabel {
	margin: 0;
	font-weight: 500;
}

#addCommentTitle {
	font-size: 1rem;
}


.file-label:hover {
	background: #eaeaea;
}

.file-name {
    font-size: 0.875rem;
	color: var(--text);
}


.required {
	color: red;
}


/* job-available form */
.mountain-rp-form {
	box-shadow: unset;
	padding: unset;
}

.mountain-rp-form label:first-of-type {
	margin-top: 0;
}

.mountain-rp-form textarea {
	min-height: 150px;
}

.mountain-rp-info {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin: 20px 0;
}

.mountain-rp-info li {
	margin-left: 25px;
	font-size: 14px;
}

.mountain-rp-form p,
.mountain-rp-info p,
.mountain-rp-info a,
.mountain-rp-form input[type="url"] {
	font-size: 14px;
}

.mountain-rp-info>ol>li:nth-child(1)>a {
	margin-left: 0px;
}

/*Modal Help - Feedback and Report Issues*/
.modal-content-forms {

	background: #fff !important;
	padding: 25px !important;
	border-radius: 10px !important;
	width: 100% !important;
	max-width: 400px !important;
	display: flex !important;
	flex-direction: column !important;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.1) !important;
	max-height: 90vh !important;
	overflow-y: auto !important;

}

.modal-action-forms {
	display: flex !important;
	justify-content: flex-end !important;
	margin-top: 20px !important;
}


/*Enrollment*/
.section-enrollment {
	display: flex;
	gap: unset !important;
}

.firstLabelEnrollment {
	margin-top: 0px !important;
}

#preferredLang+.custom-picker .selected {
	margin-bottom: 8px !important;
}

.flex-label {

	margin-top: 10px !important;
	margin-bottom: 8px;
	font-weight: unset;
}

.flex-label input[type="checkbox"],
.flex-label input[type="radio"] {
	margin-right: 8px;
	margin-top: 6px;
}

.otherInput {
	margin-left: 8px;
}

/* char counter */
.char-counter {
	display: flex;
	justify-content: flex-end;
	font-style: italic;
}

.char-counter span {
	margin: 0;
	font-size: 0.8125rem;
}

.font-semibold{
	font-weight: 600;
}

/* Responsive */
@media (max-width: 767px) {

	.mountain-rp-form {
		box-shadow: unset;
		padding: unset;
	}

	.ticketBox {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}

	form {
		padding: 25px;
	}

	h1 {
		font-size: 1.375rem;
	}

	#kba-details-container {
		display: flex;
		justify-content: space-between;
		/* align-items: flex-end; */
		flex-direction: row;
		margin-bottom: 20px;
	}

	#kba-details-status-title {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	#otherInput {
		max-width: 250px;
	}

}

@media (min-width: 900px) {
	form {
		margin: 0 auto;
	}

	.fileButtons-tickets , .fileButtons-jobs {
		display: flex;
		justify-content: space-between;
		flex-direction: row;
		width: 705px;
		margin-top: 20px;
	}
}


@media (max-width: 400px) {

	.badge.email{
	min-width: 80px;
	}

	.ticketBox {
		display: flex;
		flex-direction: column;
	}

	button[type="submit"] {
		width: 85px;
	}

   .fileButtons-jobs {
	flex-direction: column;
   }
}