@import url("/fonts/WixMadeforDisplay/stylesheet.css");

/* Global box model reset — the React app got this from MUI's CssBaseline.
   Without it, inputs/selects with width:100% + padding overflow their containers. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --font-family: "Wix Madefor Display", sans-serif;
    --gray-border: #e8e7e3;
	--gray-background: #f6f6f3;
	--gray-light: #b7b6b3;
	--gray: #757573;
	--gray-medium: #4d4c4b;
	--gray-dark: #242423;
	--white: #fff;
	--green-main: #79ac4a;
	--green-hover: #629d21;
	--green-pressed: #4d800f;
	--green-dark: #00281e;
	--yellow-main: #e6be32;
	--yellow-hover: #d9ac27;
	--yellow-pressed: #cc9a12;
	--red-alert: #b92f1c;
}

.show-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.invalid_field input {
    border-color: var(--red-alert);
}

.invalid_field label {
    color: var(--red-alert);
}

.form_error_notify {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 133%;
    text-align: left;
    color: var(--red-alert);
    margin-top: 16px;
}

.d-none {
    /* visibility: hidden;
    opacity: 0; */
    display: none;
}

.page_title {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 24px;
    line-height: 167%;
    color: var(--green-dark);
}

.page_main {
    padding: 24px;
}

.page_body {
    margin-top: 24px;
    background: #fff;
    height: calc(100vh - 170px);
    display: flex;
    flex-direction: column;
}

.page_main_list_body {
    height: 100%;
    overflow-y: scroll;
    flex: 1;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.page_main_list_body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.page_main_list-sort {
    position: sticky;
    top: 0;
    z-index: 100;
}

.page_body.padding-20 {
    padding: 20px;
}

.show_field-label {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 13px;
    line-height: 123%;
    color: var(--gray-medium);
    padding-left: 16px;
}

.show_field-value {
    background: var(--gray-background);
    padding: 8px 16px;
    border: 1px solid var(--gray-border);
    margin-top: 4px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 171%;
    color: var(--gray-dark);
}

.show_field {
    margin-top: 16px;
}

.show_field:first-child {
    margin-top: 0;
}

/* change password */
.change_password {
    margin-top: 24px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 12px;
    line-height: 117%;
    color: var(--green-dark);
    cursor: pointer;
}

.d-flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.justify-space-between {
    justify-content: space-between;
}

.justify-flex-start {
    justify-content: flex-start;
}

.justify-flex-bottom {
    justify-content: flex-end;
}

.align-center {
    align-items: center;
}

.align-stretch {
    align-items: stretch;
}

.link_component {
    display: flex;
}

/* checkbox */
span.MuiButtonBase-root {
    padding: 5px;
}

span.MuiButtonBase-root svg {
    color: var(--gray-light);
}

span.MuiButtonBase-root.Mui-checked svg {
    color: var(--yellow-main);
}

label {
    margin: 0;padding: 0;
}

span.MuiTypography-root {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 171%;
    color: var(--gray-dark);
    margin-left: 4px;
}

/* .single-page-button {
    position: relative;
    pointer-events: none;
} */

.single-page-button.single-page-button-active {
    pointer-events: all;
}

.single-page-button.no_active {
    pointer-events: none;
}

.green_button {
    position: relative;
}

/* input styles */
input,
.search_form-field-icon svg path {
    transition: all 0.1s ease 0s;
}

input:focus,
input:hover,
input:active {
    border-color: var(--yellow-main) !important;
}

.stage_name input {
    border-color: none !important;
    text-overflow: ellipsis;
}

.search_form.active_focus .search_form-field-icon svg path {
    stroke: var(--yellow-main);
}


/* end input styles */

/* hover styles */
.filter-button,
.page_main_list_item,
.page_main_list_sort-col:target svg {
    transition: all 0.3s ease 0s;
}

.filter-button:hover {
    background: var(--green-hover);
}

.filter-button:active,
.filter-button:target {
    background: var(--green-pressed);
}

.filter-button.deactive {
    background: var(--gray-border);
    color: var(--gray-medium);
}

.filter-button.deactive svg path {
    stroke: var(--gray-medium);
}

.page_main_list_item:hover {
    background: var(--gray-background);
}

.page_main_list_item:active,
.page_main_list_item:target {
    background: var(--gray-border);
} 

.page_main_list_sort-col.active svg {
    transform: rotate(180deg);
}
/* end hover styles */

.page_body.pade_body-padding {
    padding: 20px;
}

.show_field-value {
    min-height: 42px;
}

.emptyListText {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 171%;
    color: var(--gray-medium);
    text-align: center;
    margin: 30px 0px;
}

.react-select__menu {
    z-index: 1000000;
    position: relative;
}

.stages_item_right {
    justify-content: flex-end;
}

.page_main_next,
.page_main_nav-pages,
.page_main_prev,
.per_page-field,
.page_main_list_item-col {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.link_component.create-back-icon {
    cursor: pointer;
}

.red_text {
    color: var(--red-alert);
}

/* Audit (operator) page */
.audit_server_info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 40px;
    border-bottom: 1px solid var(--gray-border);
}

.audit_server_info .show_field {
    margin: 0;
}

.page_main_header_left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.audit_filter {
    min-width: 200px;
}

.audit_status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
}

.audit_status--success {
    background: rgba(121, 172, 74, 0.15);
    color: var(--green-pressed);
}

.audit_status--failure {
    background: rgba(185, 47, 28, 0.12);
    color: var(--red-alert);
}

.audit_status--info {
    background: var(--gray-background);
    color: var(--gray-medium);
}