html, body, main {
    height: 100%;
}

.box {
    border-radius: 5px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin: 1vh 1vw;
    padding: 3vh 1vw 0vh 1vw;
    color: black;
    width: 20vw;
    height: 30vh;
    display: flex;
    flex-direction: column;
}

.box > i {
    font-size: 10vh;
}

.box > h3 {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: space-around;
}

.box::after {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	height: 100%;
    position: absolute;
    -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
	width: 100%;
}

.box:hover {
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    -webkit-transform: scale(1.05, 1.05);
    transform: scale(1.05, 1.05);
    transition: 0.3s;
}

.box-focus {
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    -webkit-transform: scale(1.05, 1.05);
    transform: scale(1.05, 1.05);
    filter: brightness(1.2);
    transition: 0.3s;
}

.container {
    max-width: 80% !important;
}

h5 {
    font-size: 1.5vmin;
    margin: 0;
}

h4 {
    font-size: 2vmin;
    margin: 0;
}

h3 {
    font-size: 2.5vmin;
    margin: 0;
}

ul {
    margin: 5vmin 0;
}

.row {
    margin: 0;
}

.wrapper {
    height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.blink-text {
    animation: 1s blinker linear infinite;
    -webkit-animation: 1s blinker linear infinite;
    -moz-animation: 1s blinker linear infinite;
    color: #808080;
}

.product-name {
    margin: 2vmin 0;
}

@-moz-keyframes blinker {
    0% {
        opacity: 1.0;
    }
    50% {
        opacity: 0.0;
    }
    100% {
        opacity: 1.0;
    }
}

@-webkit-keyframes blinker {
    0% {
        opacity: 1.0;
    }
    50% {
        opacity: 0.0;
    }
    100% {
        opacity: 1.0;
    }
}

@keyframes blinker {
    0% {
        opacity: 1.0;
    }
    50% {
        opacity: 0.0;
    }
    100% {
        opacity: 1.0;
    }
}

.more {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: inline-block;
}

.more > a {
    width: 6vmin;
    height: 6vmin;
    padding: 5px !important;
}

.more-icon {
    position: absolute !important;
    width: 4vmin;
    height: 4vmin;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.more > span {
    font-size: 2vmin;
}

.no-space {
    margin: 0 !important;
}

@keyframes drawBorder {
    0% {
        background-size: 0 var(--box-animation-size), var(--box-animation-size) 0, 0 var(--box-animation-size), var(--box-animation-size) 0;
    }
    25% {
        background-size: 100% var(--box-animation-size), var(--box-animation-size) 0, 0 var(--box-animation-size), var(--box-animation-size) 0;
    }
    50% {
        background-size: 100% var(--box-animation-size), var(--box-animation-size) 100%, 0 var(--box-animation-size), var(--box-animation-size) 0;
    }
    75% {
        background-size: 100% var(--box-animation-size), var(--box-animation-size) 100%, 100% var(--box-animation-size), var(--box-animation-size) 0;
    }
    100% {
        background-size: 100% var(--box-animation-size), var(--box-animation-size) 100%, 100% var(--box-animation-size), var(--box-animation-size) 100%;
    }
}

.box-animation {
    background-repeat: no-repeat;
    background-image:
        linear-gradient(to right, var(--box-animation-color) 100%, var(--box-animation-color) 100%),
        linear-gradient(to bottom, var(--box-animation-color) 100%, var(--box-animation-color) 100%),
        linear-gradient(to right, var(--box-animation-color) 100%, var(--box-animation-color) 100%),
        linear-gradient(to bottom, var(--box-animation-color) 100%, var(--box-animation-color) 100%);
    background-size: 100% var(--box-animation-size), var(--box-animation-size) 100%, 100% var(--box-animation-size), var(--box-animation-size) 100%;
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
    transition: none;
    animation: drawBorder var(--box-animation-length) linear 1;
}

.toast {
    transition: background-color 0.3s;
}

@keyframes toastAnimation {
    0% {
        background-size: 0 5%;
    }
    100% {
        background-size: 100% 5%;
    }
}

.notification {
    background-color: rgba(30, 30, 30, 0.55);
    border-left: solid var(--savi-blue-light) 4px;
    border-radius: 5px;
    border-top: solid var(--savi-grey-light) 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    position: absolute;
    right: 1.5vw;
    top: 1.5vw;
    transition: opacity 0.5s ease-out;
    width: 27vw;
    z-index: 5;
}

.notification-show {
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.notification-info {
    border-left: solid var(--savi-blue-light) 4px;
}

.notification-success {
    border-left: solid var(--savi-green-dark) 4px;
}

.notification-warning {
    border-left: solid var(--savi-orange-light) 4px;
}

.notification-error {
    border-left: solid var(--savi-red-light) 4px;
}

.notification-title {
    color: var(--savi-white);
    font-size: 2vh;
    font-weight: 380;
    line-height: 2vh;
    display: flex;
    align-items: center;
    margin: 2vh;
}

.notification-message {
    color: var(--savi-white);
    font-size: 1.5vh;
    line-height: 1.5vh;
    margin: 0vh 2vh 2vh 2vh;
}

.notification-spacer {
    height: 20px;
}

.notification-timer-bar::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    animation: timerBarKeyframes var(--notification-timer) linear 1;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
    border-bottom: 4px solid var(--savi-grey-light);
}

.notification-timer-bar-paused::after {
    animation-play-state: paused;
}

@keyframes timerBarKeyframes {
    0% { width: 100%; }
    100% { width: 0%; }
}

.box-v2 {
    background-color: var(--savi-grey-dark);
    border-radius: 10px;
    border-top: solid var(--savi-grey-light) 2px;
}

.button {
    background-color: var(--savi-grey-light);
    color: var(--savi-grey-dark);
    width: 100%;
}

.button:hover {
    background-color: var(--savi-grey-lighter);
}

.button:focus {
    background-color: var(--savi-grey-lighter);
}

.savi-input {
    border: unset;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    font-size: 15px;
    background-color: var(--savi-grey-light);
    color: var(--savi-grey-dark);
}

.savi-form {
    height: 100%;
    display: flex;
    gap: 25px;
    flex-direction: column;
    justify-content: space-around;
    line-height: 15px;
    font-size: 15px;
    margin: 0;

}

.savi-form p {
    margin: 0;
    margin-bottom: 5px;
}

.workflows {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 1vw;
}

.workflow {
    color: var(--savi-grey-lighter);
    padding: 5vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-around;
    padding: 2vh;
    width: 10vw;
}

.strong {
    font-weight: bold;
}

.text-large {
    font-size: 1.25rem;
}

#workflow {
    background-color: black;
    color: white;
    font-size: 1.5vw;
    z-index: 4;
    position: absolute;
    display: flex;
    align-items: center;
}

.input-wrapper {
    display: flex;
    gap: 8px;
}

.input-wrapper > input {
    flex-grow: 1;
}

.input-wrapper > button {
    flex-shrink: 1;
    width: auto;
    height: 37.25px;
}
