html {
    height: 100%;
    -webkit-overflow-scrolling: touch;
}
body,
#app,
#root,
#root__layout {
    display: flex;
    flex: 1 1 auto;
    min-height: 100%;
    flex-direction: column;
}
img {
    max-width: 100%;
    vertical-align: middle;
}
ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
input[type="number"] {
    -moz-appearance: textfield;
    appearance: none;
}
input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}
input[type="number"]::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.g-recaptcha {
    overflow: hidden;
    width: 298px;
    height: 74px;
}
iframe {
    margin: -1px 0px 0px -2px;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f5f5;
}

.animate-spin {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#root {
    min-height: 100vh;
}

.loading-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.loading {
    right: 0;
    bottom: 0;
    z-index: 9998;
    flex-grow: 1;
    width: 100%;
    height: 100%;
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.logo-zoom-root {
    width: 120px;
    height: 120px;
    align-items: center;
    position: relative;
    display: inline-flex;
    justify-content: center;
}

.logo-zoom-logo {
    width: 64px;
    height: 64px;
    z-index: 10;
    position: relative;
    background: #1976d2;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
    animation: logoZoomPulse 3s ease-in-out infinite;
    animation-delay: 1s;
}

.logo-zoom-primary-outline {
    position: absolute;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: solid 3px rgba(25, 118, 210, 0.24);
    animation: primaryOutlineAnimation 3.2s linear infinite;
}

.logo-zoom-secondary-outline {
    width: 100%;
    height: 100%;
    position: absolute;
    border: solid 8px rgba(25, 118, 210, 0.24);
    animation: secondaryOutlineAnimation 3.2s linear infinite;
}

/* Keyframe Animations */
@keyframes logoZoomPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    25%,
    75% {
        transform: scale(0.9);
        opacity: 0.48;
    }
}

@keyframes primaryOutlineAnimation {
    0%,
    100% {
        transform: scale(1.6) rotate(270deg);
        opacity: 0.25;
        border-radius: 25%;
    }

    25%,
    75% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
        border-radius: 25%;
    }

    50% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
        border-radius: 50%;
    }
}

@keyframes secondaryOutlineAnimation {
    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
        border-radius: 25%;
    }

    25%,
    75% {
        transform: scale(1.2) rotate(270deg);
        opacity: 0.25;
        border-radius: 25%;
    }

    50% {
        transform: scale(1.2) rotate(270deg);
        opacity: 0.25;
        border-radius: 50%;
    }
}
