  
  .nesty-panel {
  border-radius: 0.5rem; 
  
}


.progress-step, input, button, .card, textarea {
  cursor: pointer;
}


/* Route 101 new CSS for custom form */
#new_request .hc-multiselect-toggle, #new_request input[type="text"]:not(#request_collaborators_), #new_request .nesty-input, #new_request input[type="number"] {
    min-height: 48px;
    display: flex;
  align-items: center;
    width: 100%;
    padding: 0.375rem 1rem;
    font-family: var(--bs-body-font-family);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--wcds-colors-text-primary);
    background-color: white;
    background-clip: padding-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.5rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

#new_request textarea, #new_request .request_cc_emails > ul {
    min-height: 48px;
    display: flex;
  align-items: center;
    width: 100%;
    padding: 0.375rem 1rem;
    font-family: var(--bs-body-font-family);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--wcds-colors-text-primary);
    background-color: white;
    background-clip: padding-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.5rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.form-field:has(p.error-message) input, .form-field:has(p.error-message) .nesty-input {
	border-color: red !important;
}

.card-fade {
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

.card-fade-in {
	opacity: 1;
	transition: opacity 0.3s ease-in-out;
}

html .deflecting-this {
	display: none !important;
}
  
  
/* Grid layout for card container */
html .card-container:has(.top-level) {
	display: grid;
	grid-template-columns: repeat(3,minmax(150px,1fr));
	gap: 10px;
}

@media screen and (max-width: 600px) {
	html .card-container:has(.top-level) {
		display: grid;
		grid-template-columns: repeat(1,minmax(150px,1fr));
		gap: 10px;
	}
}

.progress-step.current-step {
	background-color: #85b8ff;
}

.card-container {
	display: grid;
	grid-template-columns: repeat(2,minmax(150px,1fr));
	gap: 10px;
}   
/* Styling for deflection overlay */
.deflection-overlay {
	min-height: 600px;
	background: #FBF7EF;
	padding-bottom: 30px;
}

.deflection-overlay button {
	padding-top: 20px;
}

html #upload-dropzone {
	padding: 20px;
	border-radius: 0.5rem;
}

html #upload-dropzone * {
	font-size: 14px;
}

label {
	font-size: 1.16666667vw;
	line-height: 1.66666667vw;
	margin-bottom: 0.66666667vw;
	width: 100% !important;
	display: block;
	-webkit-font-feature-settings: "ss03";
	font-feature-settings: "ss03";
	font-weight: 400;
	color: var(--wcds-colors-text-primary);
}

#progress-bar h3 {
	display: flex;
	gap: 10px;
}

#progress-bar h3 a {
	font-weight: 500;
	font-size: 16px;
}

h1 {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border-width: 0;
	border-style: initial;
	vertical-align: baseline;
	font-size: 44px;
	color: #1c1c1e;
	line-height: 1.2;
	font-weight: 400;
	letter-spacing: normal;
	text-align: center;
	@media (min-width: 1200px) {
  line-height: 1.15;
}
}

#related-articles-container > h3, #progress-bar > h3 {
	margin-bottom: 0 !important;
	align-items: center;
}

#related-articles-container ul {
	margin: 0;
}

#related-articles-container ul li {
	padding: 5px 0;
}

html .nesty-panel *:hover, html .nesty-panel *:focus {
	background: transparent !important;
	color: #85b8ff;
}

html .nesty-panel {
	border: 1px solid rgba(5, 0, 56, 1);
}

#related-articles-container ul li a, .nesty-panel ul a {
	border-radius: 0.5rem;
	border-image: none 100% 1 0 stretch;
	box-sizing: border-box;
	border-width: 0.8px;
	border-style: solid;
	border-color: transparent;
	user-select: none;
	cursor: pointer;
	vertical-align: middle;
	color: #1c1c1e;
	line-height: 1.5rem;
	font-weight: 400;
	display: inline-block;
	transition-behavior: normal, normal, normal, normal;
	position: relative;
	padding: calc(0.5rem - 1px);
	max-width: calc(100% + 1rem);
	font-size: 16px;
	letter-spacing: normal;
	margin: -0.5rem;
	text-align: left;
	background-color: transparent;
}

#related-articles-container ul li a:hover {
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
	text-decoration: underline #1c1c1e solid;
	background-color: #d9d2b3;
}
/* Box sizing for all elements */
*,::after,::before {
	box-sizing: border-box;
}
/* Button styles */
button {
	margin: 0;
	outline: 0;
	text-transform: none;
}
/* Reset styles for div elements */
div {
	border-style: initial;
	border-width: 0;
	font-size: 100%;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
/* Button appearance and styles */
[type=submit],button {
	appearance: button;
}

.btn:not([data-helper="user_info"] .btn) {
	background-color: #2e4de6;
	border: .8px solid #2e4ce4;
	border-image: none 100% 1 0 stretch;
	border-radius: .5rem;
	color: #fff;
	cursor: pointer;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5rem;
	padding: .75rem 1rem;
	text-decoration: none;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
	transition-behavior: normal,normal,normal,normal;
	user-select: none;
	vertical-align: middle;
	max-width: 250px;
}

@media (prefers-reduced-motion:reduce) {
	.btn {
		transition: none 0s;
		transition-behavior: normal;
	}
}

.btn {
	max-width: 100%;
	position: relative;
}

.btn::after {
	bottom: 0;
	content: "";
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}
/* Font family and spacing for specific language */
body:lang(ar) * {
	font-family: "Vazirmatn","Roobert PRO",Helvetica,Arial,sans-serif,sans-serif !important;
	letter-spacing: normal;
}
/* Button cursor styles */
[type=submit]:not(:disabled),button:not(:disabled) {
	cursor: pointer;
}
/* Button hover styles */
.btn:hover {
	background-color: #2a42b7;
	border-color: #2e4ce4;
	color: #fff;
}

.nesty-panel {
	padding: 10px;
	z-index: 300;
	margin-top: 55px !important;
}

footer > input[type="submit"] {
	background-color: #568bd4  !important;
	border: 0.8px solid #568bd4  !important;
	outline: 0;
}

.top-level:hover {
	background-color: #f2f2f2 !important;
}
/* Button focus styles */
.btn:focus-visible {
	box-shadow: none;
	outline: 0;
}
/* Disabled button styles */
.btn:disabled {
	background-color: #e4e5e5;
	border-color: #2e4ce4;
	color: #afb1b2;
	opacity: .65;
	pointer-events: none;
}
/* Fluid button width */
.btn.btn-fluid {
	width: 100%;
}

html .notification-inline.notification-error {
	background: transparent;
	border: 0;
	margin-top: 0;
}
  
/* Focus styles for primary button */
.btn-primary:focus-visible {
	background-color: #273788;
	border-color: #2e4ce4;
	color: #fff;
}
/* Hover styles for primary button on touch devices */
@media (hover:none) {
	.btn-primary:hover {
		background-attachment: inherit;
		background-clip: inherit;
		background-image: inherit;
		background-origin: inherit;
		background-position: inherit;
		background-repeat: inherit;
		background-size: inherit;
	}
}

@media screen and (max-width:600px) {
	.card-container {
		display: grid;
		grid-template-columns: repeat(2,minmax(150px,1fr));
		gap: 10px;
	}
}

@media screen and (max-width:400px) {
	.card-container {
		display: grid;
		grid-template-columns: repeat(1,minmax(150px,1fr));
		gap: 10px;
	}
}/* Styling for deflection content */
.deflection-content {
	margin: 10px auto;
	padding: 10px auto;
}
/* Button focus styles with border */
.btn-primary:focus-visible::before {
	border: .8px solid #2e4ce4;
	border-image: none 100% 1 0 stretch;
	border-radius: calc(.188rem + .438rem - .063rem);
	bottom: -.125rem;
	box-shadow: none;
	content: "";
	left: -.125rem;
	position: absolute;
	right: -.125rem;
	top: -.125rem;
}
/* Active styles for first child button */
.btn:first-child:active {
	background-color: #273788;
	border-color: #2e4ce4;
	color: #fff;
}
/* Reset outline for focus on buttons */
button:focus:not(:focus-visible):not(.btn-link.focus-visible) {
	outline: 0;
}
/* Overflow and text styling for buttons */
.btn:not(.btn-link):not(.btn-link.target):not(.btn-link.focus-visible):not(.btn-link.focus-within):not(.btn-link.visited):not(.btn-link.focus):not(.btn-link.hover):not(.btn-link.active)>div {
	overflow: hidden;
	text-overflow: ellipsis;
	text-wrap: nowrap;
	white-space-collapse: collapse;
}
/* Flex display utility classes */
.d-flex {
	display: flex !important;
}

.d-inline-flex {
	display: inline-flex !important;
}
/* Justify content and align items utility classes */
.justify-content-center {
	justify-content: center !important;
}

.align-items-center {
	align-items: center !important;
}
/* Left-align text for buttons */
.btn {
	text-align: left !important;
}
/* Remove text decoration on hover for primary button on touch devices */
@media (hover:none) {
	.btn-primary:hover {
		text-decoration: none !important;
	}
}

@media screen and (max-width: 600px) {

	#progress-bar {
		display: flex;
		gap: 10px;
		margin: 20px 0 20px 0;
		flex-direction: column;
		justify-content: start;
		align-items: start;
	}
}
  
/* Progress bar styles */
#progress-bar {
	display: flex;
	gap: 10px;
	margin: 20px 0;
	flex-direction: column;
	justify-content: start;
	align-items: start;
}
/* Styling for progress steps */
.progress-steps-container {
	display: flex;
	flex-direction: row;
	gap: 10px;
	font-size: 14px;
	position: relative;
}

/* Styling for progress steps */
.progress-step {
	margin-right: 20px;
	padding: 5px 10px;
	background-color: #f2f2f2;
	border-radius: 5px;
	position: relative;
}

.progress-step::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    content: '\2192';
    font-size: 1.5em;
    padding: 0 0.7em;
	color: #1c1c1e;
}

.progress-step.current-step::after {
    display: none;
}

@media screen and (max-width: 600px) {
	.progress-steps-container {
		display: flex;
		flex-direction: column;
		gap: 10px;
		font-size: 14px;
		position: relative;
		flex-wrap: wrap;
		justify-content: flex-start;
		width: 100%;
	}
  
    /* Styling for progress steps */
	.progress-step {
		margin-right: 0;
		padding: 5px 10px;
		background-color: #ddd;
		border-radius: 5px;
		position: relative;
		font-size: 14px;
		text-align: center;
	}

	.progress-step::after {
        display: none;
    }
}
  
/* Styles for top-level cards */
.top-level {
	display: flex;
	flex-direction: column-reverse;
	background: transparent !important;
	border: 0 !important;
	font-weight: 600 !important;
	box-sizing: border-box;
	text-transform: none;
	line-height: 1.35;
	margin: 0;
	padding: 0;
	border-width: 0;
	border-style: initial;
	vertical-align: baseline;
	font-size: 18px;
	color: #1c1c1e;
	cursor: pointer;
	letter-spacing: normal;
	font-weight: 700;
	text-align: center;
	font-family: "Roobert PRO", Helvetica, Arial, sans-serif, sans-serif;
}
/* Styling for top-level card images */
.top-level img {
	height: 150px;
	object-fit: contain;
}
/* Styling for individual cards */
.card {
	border: 1px solid #ccc;
	padding: 20px;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.3s;
	border-radius: 15px;
	background: white;
}
/* Hover styles for individual cards */
html .card:not(.top-level):hover {
	color: rgb(255, 255, 255);
	background-color: #090909;
}

.form-field:nth-of-type(1) {
	padding-top: 20px;
}

.progress-step:hover {
	background-color: #090909;
	color: white;
}  
/* Background color for main and specific elements */
main,.miro-background {
	background-color: #FBF7EF;
}

.miro-background {
	padding: 0;
}

.py-20, main {
	padding: 40px 0;
}

.pb-10 {
	padding-bottom: 20px;
}

.pb-20 {
	padding-bottom: 40px;
}
