@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

@font-face {
  font-family: Futura;
  src: url(futura-font/Futura\ Heavy\ font.ttf);
  font-weight: 700;
}

body {
    --white: #ffffff;
    --white72: rgba(255, 255, 255, 0.72);
    --bg: rgba(228, 228, 228, 0.4);
    --success50: #008556;
    --success05: #D6F3E2;
    --gray0: #f1f1f1;
    --gray01: #f9f9f9;
    --gray05: #E4E4E4;
    --gray40: #C7C7C7;
    --gray60: #A1A1A1;
    --gray80: #50545E;
    --gray100: #1A1A1A;
    --action: #F6A153;
    --action-hover: #F66E53;
    --blue: #3988AF;
    --purple: #9B51E0; 
    --disabled:  #A1A1A1;
    --blue-light: #D9EAF2;
    --error: #ff0000;
    

    --grid-margin-size: 24px;
    --grid-box-size: 73px;

    --border-trans: 0.6s;
    
    font-family: Inter, sans-serif;
}

.material-icons-outlined {
    width: 24px;
}

.dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-bottom: 9px;
    border-radius: 9px;
    color: var(--action-hover);
}

.circle {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 45px;
    text-align: center;
    box-sizing: border-box;
    border-radius: 36px;
    background-color: var(--white);
}

/************************************/
/* TYPOGRAPHY
/************************************/

.h1 {
    font-style: normal;
    font-weight: 600;
    font-size: 36px;
}

.h2 {
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 100%;
}

.h3 {
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
}

.h4 {
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 100%;
}

.h5 {
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
}

.body-medium {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
}

.body-small {
    color: var(--gray100);
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
}

/************************************/
/* END of TYPOGRAPHY
/************************************/

/************************************/
/* GRID
/************************************/


.hbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.grid {
    box-sizing: border-box;
    display: flex;
    width: calc(var(--grid-box-size) * 12 + var(--grid-margin-size) * 13);
    flex-wrap: wrap;
}

.grid > * {
    margin-left: var(--grid-margin-size);
    margin-bottom: var(--grid-margin-size);
}

.grid > *:last-child {
    margin-right: var(--grid-margin-size);
}

.box1 {
    width: var(--grid-box-size);
}

.box2 {
    width: calc(var(--grid-box-size) * 2 + var(--grid-margin-size))
}

.box3 {
    width: calc(var(--grid-box-size) * 3 + var(--grid-margin-size) * 2)
}

.box4 {
    width: calc(var(--grid-box-size) * 4 + var(--grid-margin-size) * 3)
}

.box5 {
    width: calc(var(--grid-box-size) * 5 + var(--grid-margin-size) * 4)
}

.box6 {
    width: calc(var(--grid-box-size) * 6 + var(--grid-margin-size) * 5)
}

.box7 {
    width: calc(var(--grid-box-size) * 7 + var(--grid-margin-size) * 6)
}

.box8 {
    width: calc(var(--grid-box-size) * 8 + var(--grid-margin-size) * 7)
}

.box9 {
    width: calc(var(--grid-box-size) * 9 + var(--grid-margin-size) * 8)
}

.box10 {
    width: calc(var(--grid-box-size) * 10 + var(--grid-margin-size) * 9)
}

.box11 {
    width: calc(var(--grid-box-size) * 11 + var(--grid-margin-size) * 10)
}

.box12 {
    width: calc(var(--grid-box-size) * 12 + var(--grid-margin-size) * 11)
}

/************************************/
/* END of GRID
/************************************/


/************************************/
/* LOADER
/************************************/

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

.loader-mini,
.loader-small,
.loader-medium,
.loader-big {
    display: inline-block;
    border: solid 3px var(--gray05);
    border-right-color: var(--action);
    animation: rotation 0.8s linear infinite;
}

.loader-big {
    width: 40px;
    height: 40px;
    border-radius: 40px;
}

.loader-medium {
    width: 20px;
    height: 20px;
    border-radius: 20px;
}

.loader-small {
    width: 16px;
    height: 16px;
    border-radius: 16px;
}

.loader-mini {
    width: 12px;
    height: 12px;
    border-radius: 12px;
}

/************************************/
/* END of LOADER
/************************************/

/************************************/
/* FORM
/************************************/

.form-title {
    padding-bottom: 12px;
    margin-bottom: 24px;
    border-bottom: solid 1px var(--gray05);
    width: 236px;
}

.form-actions {
    margin-top: 32px;
    text-align: left;
}

.form-actions hr {
    margin-bottom: 24px;
    border:none;
    border-top: solid 1px var(--gray05);
    width: 236px;
    margin-left: 0;
    margin-right: 0;
}

.form-element {
    width: 100%;
    margin-bottom: 16px;
}

.form-element label {
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    margin-bottom: 2px;
}

.form-element select,
.form-element textarea,
.form-element input {
    width: 100%;
}

.form-element-in-place label {
    font-weight: 500;
    font-size: 12px;
    line-height: 15px;
    color: var(--gray80);
    margin-bottom: 4px;
}

.form-element .error {
    color: var(--error)
}

.form-element .file-input {
    display: flex;
    flex-direction: row;  
    gap: 6px;
    align-items: center;
    white-space: nowrap;
}

.form-element .file-input :disabled{
    color: var(--gray100)
}

/* .form-element .file-input .choose-button-wrapper{
    vertical-align: middle;  
} */

select,
textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"]
{
    border: 1px solid var(--gray40);
    box-sizing: border-box;
    border-radius: 8px;
    background: var(--white);

    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: var(--gray100);
    padding: 6px 8px;
}

select {
    padding: 8px 8px;
}

select:focus,
textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: var(--purple);
}

select:disabled,
textarea:disabled,
input[type="text"]:disabled,
input[type="email"]:disabled,
input[type="password"]:disabled
{
    color: var(--disabled);
}


/************************************/
/* END of FORM
/************************************/

/************************************/
/* BUTTONS
/************************************/

.square-button {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    overflow: hidden;
    border-radius: 67px;
    background-color: var(--white);
    border: 2px solid var(--white);
    color: var(--gray100);
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    user-select: none;
    transition: border-color var(--border-trans) ease;  
}

.disabled .square-button,
.square-button.disabled,
.square-button:disabled {
    color: var(--gray60);
}

.square-button .material-icons-outlined {
    display: inline-block;
    margin-left: 5px;
    margin-top: 5px;
}

.square-button.action-button {
    background-color: var(--action);
    border-color: transparent;

}

.square-button:hover, .square-button:active {
    border: 2px solid var(--action-hover);
    transition: border-color var(--border-trans) ease;  
}

.square-button.action-button:hover {
    background-color: var(--action-hover);
    transition: 0.3s background;
}

.square-button.disabled {
    border: 2px solid var(--white);
}

.circle-button {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    overflow: hidden;
    border-radius: 67px;
    background-color: var(--white);
    /* border: 0px solid var(--white); */
    color: var(--gray100);
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    user-select: none;
    transition: border-color var(--border-trans) ease;  
}

.subtitle {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    display: flex;
    align-items: center;
    text-align: center;
}

.actions button,
.button {
    text-decoration: none;
    background: #FFFFFF;
    border: 2px solid var(--action);
    box-sizing: border-box;
    border-radius: 17px;
    color: var(--gray100);
    padding: 8.5px 12px;
    font-weight: bold;
    font-size: 16px;
    line-height: 100%;
    cursor: pointer;
}

.actions button:hover,
.button:hover {
    border-color: var(--action-hover);
    transition: border-color var(--border-trans) ease;  
}

.actions button:disabled,
.button:disabled,
.button.disabled,
.disabled .button,
.button[disabled] {
    pointer-events: none;
    border-color: var(--gray60);
    color: var(--gray60);
}

.text-button,
log-table .download-button {
    font-weight: bold;
    font-size: 14px;
    line-height: 19px;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    color: var(--gray100);
    display: inline-block;
    cursor: pointer;
    transition: border-color 0.3s;
}

.text-button .material-icons-outlined,
log-table .download-button .material-icons-outlined {
    color: var(--action);
    font-size: 18px;
    position: relative;
    top: 4px;
    width: 18px;
}

.text-button .material-icons-outlined:first-child,
log-table .download-button:hover .material-icons-outlined:first-child {
    margin-right: 9.5px;
}

.text-button .material-icons-outlined:last-child,
log-table .download-button:hover .material-icons-outlined:last-child {
    margin-left: 9.5px;
}

.disabled .text-button,
.text-button:disabled,
.text-button.disabled {
    color: var(--gray60);
    white-space: nowrap;
}

.text-button:hover,
log-table .download-button:hover {
    border-bottom: 2px solid #F66E53;
    transition: border-color var(--border-trans) ease;  
}

.text-button:hover .material-icons-outlined,
log-table .download-button:hover .material-icons-outlined {
    color: var(--action-hover);
}

.button-primary {
    font-style: normal;
    background-color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    cursor: pointer;
    border: solid 2px transparent;
    transition: 0.3s border-color;
}


.button-primary .material-icons-outlined {
    margin-left: 16p;
}

.button-primary:hover {
    border-color: var(--action-hover);
}


/************************************/
/* END of BUTTONS
/************************************/

/************************************/
/* MODAL
/************************************/

.modal-backdrop {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 3000;
    background: rgba(80, 84, 94, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.modal-wrapper .modal-body {
    font-weight: 700;
    font-size: 14px;
    line-height: 150%;
}

.modal-footer-content {
    display: flex;
    justify-content: space-between;
}

.modal-footer-content .button {
    border: none;
    border-radius: 0;
    border-bottom: solid 2px transparent;
}

.modal-footer-content .button:hover {
    border-bottom: solid 2px var(--action-hover);
}

.modal-wrapper .modal-header-icon {
    display: none;
}

.modal-wrapper {
    width: 386px;
    background-color: var(--white);
    padding: 62px;
    margin-top: 10vh;
    max-height: 80vh;
    border-radius: 8px;
    padding: 36px;
    box-sizing: border-box;
    overflow: auto;
    position: fixed;
    z-index: 3010;
    left: 50%;
    right: 50%;
    margin-left: -193px;
    margin-right: -193px;
}

.modal {
    min-width: 386px;
    margin-top: 10vh;
    max-height: 80vh;
    background-color: var(--white);
    border-radius: 8px;
    padding: 36px;
    box-sizing: border-box;
    overflow: auto;
    position: fixed;
    z-index: 3010;
    left: 50%;
    right: 50%;
    margin-left: -193px;
    margin-right: -193px;
}

.modal-wrapper .modal-header .modal-header-icon {
    position: absolute;
    right: 36px;
    top: 36px;
}

.modal-wrapper .modal-header-content {
    font-weight: bold;
    font-size: 20px;
    line-height: 32px;
    margin-bottom: 42px;
}

.modal-wrapper .modal-footer-content {
    margin-top: 42px;
    text-align: right;
}

.modal-wrapper .modal-footer-content .button {
    margin-left: 8px;
}

/************************************/
/* END of MODAL
/************************************/

/* .form > label, .form > input {
    display: block;
    margin: 12px, 12px, 12px, 12px;
} */

/************************************/
/* BUTTONS
/************************************/

.action {
    color: var(--gray100);
    background-color: var(--white);
    border: 2px solid transparent;
    box-sizing: border-box;
    border-radius: 17px;
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    text-decoration: none;
    padding: 8.5px 12px 8.5px 12px;
    transition: border-color 0.6s ease;  
}

.action.primary {
    background-color: var(--white);
    border: 2px solid var(--action);
}

.action.secondary {
    background-color: var(--action);
    border: 2px solid var(--action);
}

.action.primary:hover {
    border: 2px solid var(--action-hover);
    transition: border-color var(--border-trans) ease;  
}

.action.secondary:hover {
    background-color: var(--action-hover);
    transition: border-color 0.6s ease;  
}

.action:hover, .action:active {
    border: 2px solid var(--action-hover);
    box-sizing: border-box;
    border-radius: 17px;
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    text-decoration: none;
    padding: 8.5px 12px 8.5px 12px;
    cursor: pointer;
    transition: border-color va(--border-trans) ease;  
}

.disabled {
    color: var(--disabled) !important;
}

.action.primary.disabled {
    color: var(--disabled);
    border: 2px solid var(--disabled);
}

.action.secondary.disabled {
    color: var(--disabled);
    border: 2px solid var(--disabled);
    background-color: var(--disabled);
}


/************************************/
/* END OF BUTTONS
/************************************/



/************************************/
/* SWITCH
/************************************/

.switch-small,
.switch-medium,
.switch-big {
    background-color: var(--gray80);
    padding: 2px 3px;
    position: relative;
    cursor: pointer;
    margin: 0 10px;
    border: solid 4px var(--primary05);

}

.switch-big {
    width: 40px;
    height: 20px;
    margin: 4px;
    border-radius: 20px;
}

.switch-medium {
    width: 32px;
    height: 16px;
    margin: 4px;
    border-radius: 16px;
}

.switch-small {
    width: 24px;
    height: 12px;
    margin: 3px;
    border-radius: 12px;
}

.switch-small:after,
.switch-medium:after,
.switch-big:after {
    content: ' ';
    display: block;
    background-color: var(--white);
    position: absolute;
}

.switch-big:after {
    width: 20px;
    height: 20px;
    border-radius: 20px;
}

.switch-medium:after {
    width: 16px;
    height: 16px;
    border-radius: 16px;
}

.switch-small:after {
    width: 12px;
    height: 12px;
    border-radius: 12px;
}

.switch-on {
    background-color: var(--success50);
}

.switch-on.switch-alt {
    background-color: var(--success50);
}

.switch-on:after {
    right: 3px;
}

.switch-small:hover,
.switch-medium:hover
.switch-big:hover {
    border: solid 4px var(--primary05);
}

.switch-small:hover {
    border: 3px;
}

.switch-alt.disabled,
.switch-alt:disabled,
.switch-small.disabled,
.switch-small:disabled
.switch-medium.disabled,
.switch-medium:disabled
.switch-big.disabled,
.switch-big:disabled {
    background-color: var(--gray05);
    pointer-events: none;
    cursor: default;
}

.switch-small.disabled:after,
.switch-small:disabled:after,
.switch-medium.disabled:after,
.switch-medium:disabled:after,
.switch-big.disabled:after,
.switch-big:disabled:after {
    background-color: var(--gray60);
}

.switch-on.disabled,
.switch-on:disabled {
    background-color: var(--primary10);
}

.switch-on.disabled:after,
.switch-on:disabled:after {
    background-color: var(--white);
}

.switcher {
    cursor: pointer;
}
/************************************/
/* END of SWITCH
/************************************/

.disabled {
    pointer-events: none !important;
    cursor: default !important;
}

.hidden {
    display:none !important;
}

.caption {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 15px;
}

/************************************/
/* TABLE
/************************************/

.table {
    width: 100%;
}

.table thead th {
    background-color: var(--gray05);
}

.table th,
.table td {
    padding: 10px 16px;
    text-align: left;
}

.table thead th:first-child {
    border-radius: 4px 0 0 4px;
}

.table thead th:last-child {
    border-radius: 0 4px 4px 0;
}

.table tr:nth-child(even) td {
    background-color: var(--gray01);
}


/************************************/
/* END of TABLE
/************************************/


/************************************/
/* DROPDOWN
/************************************/

.dropdown {
    background: var(--white);
    box-shadow: 0px 12px 32px rgba(26, 26, 26, 0.24);
    border-radius: 8px;
    padding: 16px;
    box-sizing: border-box;
}

.dropdown > * {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: solid 1px var(--gray05);
    width: 100%;
    display: inline-block;
}

.dropdown > *:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.dropdown-content {
    display: none;
    z-index: 200;
}

.dropdown:hover .dropdown-content {
    display: block;
}


/************************************/
/* END of DROPDOWN
/************************************/

/************************************/
/* BADGE
/************************************/

.badge {
    background-color: var(--blue-light);
    border-radius: 4px;
    padding: 4px 8px;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
}

.badge-success {
    background-color: var(--success05);
}

/************************************/
/* END of BADGE
/************************************/



/************************  LOGS ****************/

ee-global-logs .h1 {
    margin: 70px 0 0 59px;
}

log-table {
    font-size: 14px;
    font-weight: 500;
}

log-table th {
    background-color: var(--gray05);
    padding: 5px 0;
}

log-table th input,
log-table th select,
log-table th .header-number {
    background-color: var(--gray05);
    width:calc(100% - 12px);
    height:32px;
    padding: 0 6px;
    font-size: 14px;
    font-weight: 500;
}

log-table th .header-number {
    width:64px;
}

log-table td{
    min-width:50px;
    height: 42px;
    vertical-align: middle;
    white-space: nowrap;
    padding: 0 14px;
}

log-table td.date-time {
    font-size: 20;
    white-space: nowrap;
}


log-table tr:nth-child(odd) {
    background-color: var(--white);
}

log-table tr:nth-child(even) {
    background-color: var(--gray01);
}


log-table .go-left, 
log-table .go-right {
    color: var(--gray100);
    background-color: var(--white);
    border: 2px solid transparent;
    box-sizing: border-box;
    border-radius: 17px;
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    text-decoration: none;
    padding: 8.5px 12px 8.5px 12px;
    transition: border-color 0.6s ease;  
    background-color: var(--white);
    border: 2px solid var(--action);
}
    
log-table .go-left:hover, 
log-table .go-right:hover {
    border: 2px solid var(--action-hover);
    transition: border-color var(--border-trans) ease;  
    background: transparent;
    cursor: pointer;
}

log-table option {
    font-weight: 500;
    font-size: 12px;
    line-height: 15px;
    color: var(--gray80);
    margin-bottom: 4px;
}

log-table .logger-buttons {
    margin-top: 12px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    gap: 20px;
}

log-table .date-filter {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    gap: 6px;
}

log-table .date-filter label {
    font-weight: bold;
    color: var(--gray100);
}

log-table .icon-download {
    color: var(--action);
    width:20px;
    height:20px;
    content: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjAiIHdpZHRoPSIyMCI+PHBhdGggZmlsbD0icmdiKDI0NiwgMTYzLCA4NSkiIGQ9Ik01LjUgMTZxLS42MjUgMC0xLjA2Mi0uNDM4UTQgMTUuMTI1IDQgMTQuNVYxM2gxLjV2MS41aDlWMTNIMTZ2MS41cTAgLjYyNS0uNDM4IDEuMDYyUTE1LjEyNSAxNiAxNC41IDE2Wm00LjUtM0w2IDlsMS4wNjItMS4wNjIgMi4xODggMi4xODdWM2gxLjV2Ny4xMjVsMi4xODgtMi4xODdMMTQgOVoiLz48L3N2Zz4=');
    vertical-align: bottom;
    margin-right: 6px;
    margin-left: -3px;
    /* display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; */
}

/************************  END LOGS ****************/