@font-face {
    font-family: "Roboto";
    src: url('../fonts/Roboto/Roboto-Regular.ttf')
}

html, body {
    font-family: 'Roboto', sans-serif;
}

.rz-body {
    padding: 0;
    background: linear-gradient(
            to bottom,
            #FFC300 30%,
            transparent 30%
    );
}

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


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

.load {
    width: 100px;
    height: 100px;
    margin: 110px auto 0;
    border:solid 10px #C92725;
    border-radius: 50%;
    border-right-color: transparent;
    border-bottom-color: transparent;
    -webkit-transition: all 0.5s ease-in;
    -webkit-animation-name:             rotate;
    -webkit-animation-duration:         1.0s;
    -webkit-animation-iteration-count:  infinite;
    -webkit-animation-timing-function: linear;

    transition: all 0.5s ease-in;
    animation-name:             rotate;
    animation-duration:         1.0s;
    animation-iteration-count:  infinite;
    animation-timing-function: linear;
}

.mud-select {
    flex-grow: 0;
}

.image-preview-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    max-height: calc(100% - 40px);
    width: 100%;
}

.preview-image {
    max-width: 53px;
    height: 53px;
    margin: 10px;
    border-radius: 14px;
    border-color: gray;
    border-style: solid;
    border-width: 1px;
}

.mud-input.mud-input-filled {
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}

@keyframes jiggle {
    0% {
        transform: rotate(-2deg);
    }
    50% {
        transform: rotate(2deg);
    }
}

@-webkit-keyframes jiggle {
    0% {
        -webkit-transform: rotate(-2deg);
    }
    50% {
        -webkit-transform: rotate(2deg);
    }
}

.shake {
    animation: jiggle 0.2s infinite;
    -webkit-animation: jiggle 0.2s infinite;
    -webkit-transform: rotate(-1deg);
}

.mud-badge.mud-badge-top.right.mud-badge-overlap {
    inset: auto auto calc(100% - 20px) calc(100% - 20px);
}




.swipe-container {
    max-height: calc(100% - 40px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.swipe-wrapper {
    position: relative;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.swipe-item {
    width: 100%;
    background-color: #EFEFEF;
    color: black;
    padding: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 24px;
    transition: transform 0.3s ease;
}

.swiped-left {
    transform: translateX(-100px);
}

.swiped-right {
    transform: translateX(+100px);
}

.delete-button {
    background-color: #C92725;
    color: white;
    width: 100px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
    box-sizing: border-box;
    opacity: 0;
    border-radius: 24px;
}

.edit-button {
    background-color: dodgerblue;
    color: white;
    width: 100px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
    box-sizing: border-box;
    opacity: 0;
    border-radius: 24px;
}

.send-button {
    background-color: rgba(0,200,83,1);
    color: white;
    width: 100px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
    box-sizing: border-box;
    opacity: 0;
    border-radius: 24px;
}

.swiped-left + .delete-button {
    opacity: 1;
}

.swiped-right + .edit-button {
    opacity: 1;
}

.swiped-left + .send-button {
    opacity: 1;
}

.custom-dialog-offset {
    top: 50px !important;
    transform: translate(-50%, 0) !important;
}