* {
	font-family: Inter, sans-serif;
    appearance: none;
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    box-sizing: border-box;
}

input {
	font-family: Inter, sans-serif;
}

a, a:visited, a:hover, a:focus {
	text-decoration: none;
	color: inherit;
}

ul, ol, li {
    list-style: none;
}

:root {
    --right: 6px 0 12px rgba(41,47,56,0.1), 12px 0 24px rgba(41,47,56,0.1);
    --left: -6px 0 12px rgba(41,47,56,0.1), -12px 0 24px rgba(41,47,56,0.1);
    --down: 0 6px 12px rgba(41,47,56,0.1), 0 12px 24px rgba(41,47,56,0.1);
    --default: 0 2px 4px rgba(0,0,0,0), 0 6px 12px rgba(0,0,0,0);
    --hover: 0 2px 2px rgba(41,47,56,0.1), 0 4px 4px rgba(41,47,56,0.1), 0 8px 8px rgba(41,47,56,0.1), 0 16px 16px rgba(41,47,56,0.1), 0 32px 32px rgba(41,47,56,0.1);
	--blue: #1476ff;
	--blue-shade: #eaf4ff;
	--blue-strong: #004cff;
	--red: #ff414c;
	--orange: #ffb016;
	--green: #45c74e;
    --white: #fff;
	--off-white: #f7f9fc;
	--navy: #303350;
	--navy-dark: #0b0e2c;
	--black: #000;
	--grey: #6f7182;
	--medium-grey: #f7f9fc;
	--light-grey: #e9eaf3;
	--border-1: 1px solid var(--light-grey);
	--shadow-1: 0 2px 12px 0 rgba(11, 22, 44, 0.05);
	--module-width: 300px;
	--module-gap: 24px;
}

body {
	height: 100vh;
	height: calc(var(--vh, 1vh) * 100);
	display: grid;
    grid-template-columns: var(--module-width) 1fr var(--module-width);
	grid-template-rows: 72px 1fr;
    background: var(--off-white);
}

footer {
	grid-column: span 3;
}

body > header {
    grid-column: span 3;
	display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    border-bottom: var(--border-1);
    box-shadow: var(--shadow-1);
    width: 100%;
    height: 72px;
    padding: 24px;
}

.module {
    background-color: var(--white);
    box-shadow: var(--shadow-1);
}

aside {
    width: 100%;
	height: calc(100vh - 72px);
}

#list {
	border-right: var(--border-1);
}

#details {
    border-left: var(--border-1);
}

main {
	justify-self: center;
	max-width: 680px;
    width: 100%;
	padding: 0 24px 48px 24px;
	gap: 24px;
}

main > header {
	width: 100%;
	padding: 24px 0;
}

body > header svg {
    height: 18px;
}

body > header path {
    fill: var(--black);
}

a {
	color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
	transition: all 300ms ease;
}

a label {
	cursor: pointer;
}

a > svg, .module > header svg {
	width: 20px;
	height: 20px;
	overflow: visible;
}

a > svg *, .module > header svg * {
	fill: none;
	stroke: var(--navy);
	stroke-width: 2px;
	stroke-linecap:round;
	stroke-linejoin:round;
	transition: stroke 300ms ease;
}

a:hover, a.current {
	color: var(--blue);
}
a:hover svg *, a.current svg * {
	stroke: var(--blue);
}

h1 {
    font-size: 22px;
	line-height: 24px;
    font-weight: 700;
	color: var(--navy-dark);
}

h2 {
    font-size: 18px;
    font-weight: 500;
	color: var(--navy-dark);
}

h3 {
    font-size: 16px;
    font-weight: 700;
	color: var(--navy-dark);
}

a.logout {
	color: var(--red);
}

a.logout > svg * {
	fill: none;
	stroke: var(--red);
}

.date {
	font-size: 16px;
	line-height: 24px;
    font-weight: 400;
	color: var(--grey);
}

main > .module {
	border-radius: 24px;
	overflow: hidden;
	border: var(--border-1);
}

.module header {
    flex-basis: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
	transition: all 300ms ease;
    display: flex;
	padding: 24px 0;
    margin: 0 24px;
}

#viewer {
    width: 100%;
}

.module:not(.table) header {
    border-bottom: var(--border-1);
}

.table li {
	border-bottom: var(--border-1);
}

.table li .optional {
    display: none;
}

.table li.header, .table li > a {
    display: grid;
    align-items: center;
    grid-template-columns: 18px 1fr 1fr;
    grid-auto-columns: 1fr;
    grid-column-gap: 12px;
    grid-row-gap: 12px;
    height: 72px;
    padding: 24px;
}

li.header {
	border-top: var(--border-1);
    background: var(--medium-grey);
}

.table li > a:hover, .table li.current > a{
    background: var(--blue-shade);
	color: var(--blue);
}

#tailor_system {
    max-width: calc(100vh - 64px);
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1500px) {
	body {
		grid-template-columns: 480px 1fr var(--module-width);
	}
	main {
		max-width: 720px;
	}
	.table li.header, .table li > a {
		grid-template-columns: 18px 1fr 140px 1fr 1fr;
	}
	.table li .optional {
		display: block;
	}
}

a.tracklink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

button {
	cursor: pointer;
	text-align: center;
	font-weight: 700;
}

button, input[type=text], input[type=password], input[type=submit]  {
	border: var(--border-1);
    display: flex;
    width: 100%;
    padding: 18px 22px;
	height: 52px;
    justify-content: center;
    border-radius: 26px;
    background-color: transparent;
    box-shadow: var(--shadow-1);
    transition: background-color 300ms ease, transform 300ms ease, color 300ms ease, -webkit-transform 300ms ease;
    color: var(--navy-dark);
    font-size: 14px;
	line-height: 14px;  
    text-decoration: none;
    transform-style: preserve-3d;
}

button:hover, input[type=submit]:hover {
    background-color: var(--off-white);
    transform: scale3d(1.06, 1.06, 1.01);
}

button.validate, input[type=submit] {
	cursor: pointer;
	border-color: var(--blue);
    background-color: var(--blue);
    box-shadow: var(--shadow-1);
    color: var(--white);
}

button.validate:hover, input[type=submit]:hover {
    background-color: var(--blue-strong);
}

#details .content {
    padding: 0 24px 48px 24px;
}

#list .content {
    padding: 0 0 48px 0;
}

.group {
	position: relative;
    display: flex;
    width: 100%;
	margin-bottom: 12px;
	background-color: var(--white);
	height: 52px;
	border-radius: 26px;
}

.progress {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
}

.bar {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--blue-shade);
    width: 0%;
    height: 100%;
	transition: width 100ms linear, background 300ms ease;
}

.group button {
    position: relative;
    z-index: 5;
}

.group button:not(.half):first-of-type, .group input[type=text]:first-of-type {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    flex-basis: 70%;
}

.group button:last-of-type, .group button.half {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 0;
    flex-basis: 30%;
}

.group button:hover {
    z-index: 10;
    border: var(--border-1);
}

.group.in-progress button:hover {
    background-color: transparent;
    transform: none;
}

.group.in-progress button {
    pointer-events: none;
}

.informations li {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    padding: 12px 0;
    border-bottom: var(--border-1);
}

.informations li > span:first-child {
    font-weight: 700;
    font-size: 14px;
    flex-basis: 100%;
    color: var(--navy-dark);
}

.informations li > span:last-child {
    font-size: 16px;
    color: var(--grey);
}

.address {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.address span:empty {
    display: none;
}

.address span {
    flex-basis: 100%;
}

.informations ul {
    margin-bottom: 24px;
}

.status-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status {
    height: 8px;
    width: 8px;
    border-radius: 4px;
    background: var(--red);
}

.status.production {
    background: var(--orange);
}

.status.shipped {
    background: var(--green);
}

main, .module {
	overflow: scroll;
}

/** LOGIN **/

.login body {
    background: var(--blue);
}

#loginform {
    grid-area: 2 / 1 / 4 / 4;
    align-self: center;
    justify-self: center;
    max-width: 320px;
    width: 100%;
    background: var(--white);
    padding: 24px;
    border-radius: 24px;
    border: var(--border-1);
    box-shadow: var(--shadow-1);
}

#loginform p:not(:last-of-type) {
    margin-bottom: 24px;
}

#loginform input[type=text], #loginform input[type=password] {
    margin-top: 12px;
}

input[type=checkbox] {
    appearance: auto;
}

.icon {
    width: 18px;
    height: 18px;
    margin-right: 14px;
}

.icon svg {
    fill: var(--brand);
}

.tailor_symbol_list {
    width: calc(100% - 72px);
    position: relative;
    border: 1px solid rgba(18, 18, 18, 1);
    border-radius: var(--inputs-radius);
    height: 36px;
    display: flex;
}

.tailor_error {
    background: rgba(18, 18, 18, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    align-items: center;
    justify-content: center;
}

.tailor_error > div {
    max-width: 580px;
    padding: 4rem;
    text-align: center;
}

.tailor_tabs ul {
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 1.5rem 0;
    border-bottom: 0.1rem solid rgba(18, 18, 18,.08);
}

li.tailor_tab {
    list-style: none;
    cursor: pointer;
    padding: 1rem 0.5rem;
    font-size: 1.6rem;
    letter-spacing: .1rem;
    line-height: 1;
    text-align: center;
}

li.tailor_tab.active {
    border-bottom: 3px solid rgb(18, 18, 18);
}

.tailor_panels {
    width: 100%;
    overflow: hidden;
    transition: height .5s ease;
}

.tailor_panels_slider {
    transition: left .5s ease;
    width: calc(300% + 16rem);
    position: relative;
    left: 0%;
}


.tailor_panel {
    width: calc( (100% - 16rem) /3);
    float: left;
}

.tailor_panel:not(:first-child) {
    margin-left: 8rem;
}

label.tailor_symbol {
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(18, 18, 18, 1);
    cursor: pointer;
}

.tailor_symbol svg {
    max-width: 20px;
    max-height: 20px;
}

.tailor_symbol svg path {
    fill: rgb(var(--color-foreground));
}

.product-form__input input[type=radio]:checked+label svg path {
    fill: #FFFFFF;
}

.tailor_suggest.tailor_exact {
    cursor: default;
}

.stage_navigation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.stage_navigation_group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
}

.target_button {
    padding: 2px 6px;
    cursor: pointer;
    border-radius: 0.25rem;
    border: var(--border-1);
    color: var(--navy-dark);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
	box-shadow: var(--shadow-1);
	transition: all 300ms ease;
}

.target_button svg {
    max-width: 20px;
    max-height: 20px;
}

.target_button svg path {
    fill: var(--navy-dark);
}

.target_button.active {
	border-color: var(--blue);
    background: var(--blue);
	color: var(--white);
}

.target_button.active svg path {
    fill: var(--white);
}

ul.tailor_container {
    padding: 0;
     margin: 0 0 1.2rem;
}

.tailor_animate #global_focus, .tailor_animate #local_focus, .tailor_animate #global_zoom, .tailor_animate #global_translate {
  transition: transform 1s;
}

ul.tailor_container:empty {
    margin: 0;
}

.button_row {
    display: flex;
    gap: 12px;
    margin-top: 2.5rem;
}

li.tailor_parameter {
    position: relative;
    z-index: 0;
    list-style: none;
    background: #fff;
    padding: 10px;
    margin: -10px;
    border-radius: 5px;
}
li.tailor_parameter.sortable_ghost > * {
    opacity:0.25;
}

.tailor_add_parameter.disabled {
    display: none;
}
li.tailor_parameter input[type="text"]:focus-visible {
  outline: none;
  box-shadow: none;
  border-color: rgb(var(--color-foreground));
}

li.tailor_parameter input[type="text"]:hover {
  border-color: rgb(var(--color-foreground));
}

.tailor_button {
    border: 1px solid rgba(18, 18, 18, 1);
    border-left: 0;
    width: 36px;
    height: 36px;
    cursor: pointer;
}
.tailor_button.tailor_draggable {
  cursor: move;
}
.tailor_button svg {
    fill: rgb(18, 18, 18);
    height: 20px;
    width: 20px;
    display: flex;
    margin: 7px;
}

.tailor_button svg * {
    fill: rgb(18, 18, 18);
}

.tailor_primary_button.initializing span, .tailor_primary_button:not(.initializing) .loading-overlay__spinner {
    display: none;
}

.tailor_submit.sending_documents span, .tailor_submit:not(.sending_documents) .loading-overlay__spinner {
    display: none;
}

.tailor_submit.sending_data span, .tailor_submit:not(.sending_data) .loading-overlay__spinner {
    display: none;
}

.spinner {
    margin: 0;
    padding: 0;
}

.tailor_primary_button .spinner .path, .product-form__submit .spinner .path {
    stroke: #FFF;
}

.tailor_primary_button .loading-overlay__spinner, .product-form__submit .loading-overlay__spinner {
    height: 1.8rem;
}

.tailor_input {
    display: flex;
    align-items: center;
    height: 36px;
}

.tailor_preview {
  position: relative;
  width: 100%;
  display: block;
  border: solid 1px var(--light);
}

.tailor_frame, .tailor_frame:empty {
  margin-top: 100%;
  display: block;
}

.tailor_stage {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.tailor_form input#file {
    margin-bottom: 1.2rem;
}

.tailor_primary_button svg.icon.icon-arrow {
    margin-left: 1rem;
}

.tailor_primary_button.tailor_form_navigation {
    background-color: rgb(18, 18, 18);
}

.tailor_primary_button#initialize {
    margin-top: 1.3rem;
}

.tailor_panels textarea {
    width: 100%;
    margin: 0.7rem 0.5rem 0.2rem 0;
}

.tailor_panels textarea:focus-visible {
    outline: 0;
    outline-offset: 0;
    box-shadow: none;
}

@media (max-width: 1280px) {
	body {
		grid-template-columns: 1fr 1fr 1fr;
		grid-template-rows: 72px auto 1fr 72px;
	}
	main {
		display: contents;
	}
	main > header {
		grid-area: 2 / 1 / 3 / 4;
		padding: 24px;
		background-color: var(--white);
	}
	.module {
		border-radius: 0 !important;
		border: none !important;
		box-shadow: none !important;
		display: contents;
	}
	.module header {
		grid-row-start: 4;
		grid-row-end: 5;
		background-color: var(--white);
		border-top: var(--border-1);
		cursor: pointer;
		padding: 24px;
		margin: 0;
		justify-content: center;
		transition: all 300ms ease;
	}
	.module.active header {
		background: var(--blue-shade);
		color: var(--white);
	}
	.module.active header h3 {
		color: var(--blue);
	}
	.module.active header svg * {
		stroke: var(--blue);
	}
	.module > .content {
		grid-row-start: 3;
		grid-row-end: 4;
		background-color: var(--white);
		border-top: var(--border-1);
		grid-column: span 3;
		overflow: scroll;
	}
	.module:not(.active) > .content {
		display: none;
	}
	li.header {
		border-top: none;
	}
	.table li.header, .table li > a {
		grid-template-columns: 18px 1fr 1fr 1fr 1fr;
	}
	.table li .optional {
		display: block;
	}
	a.tracklink {
		width: auto;
	}
}
@media (max-width: 480px) {
	.table li.header, .table li > a {
		grid-template-columns: 18px 1fr 1fr;
	}
	.table li .optional {
		display: none;
	}
	a.tracklink {
		width: 100%;
	}
}