@tailwind base;
@tailwind components;
@tailwind utilities;

@import "toastr.css";

.custom-gradient {
    background-image: linear-gradient(100deg, #FAF9F5 0%, #FAF9F5 100%);
}

.custom-max-width {
    max-width: 1400px;
}

.logo-design {
    max-width: 78px;
}

.availability-button {
    box-shadow: rgb(0, 0, 0) 5px 5px 1px;
}

.home-bottom-path {
    transform: rotate(180deg);
    align-items: end;
    bottom: -5%;
    overflow: hidden;
    position: absolute;
    left: 0;
    width: 100%;
    height: 45%;
    line-height: 0;
    direction: ltr;
}

.menu-indicator {
    position: absolute;
    z-index: 4;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.menu-indicator .indicator-wrapper {
    transform: translate3d(0, 0, 0);
    width: 150px;
    margin: 20% auto 0;
}

.menu-indicator .indicator-wrapper .indicator-cursor {
    width: 25px;
    position: absolute;
    top: 1.75em;
    z-index: 5;
    animation: cursor-animation 1.2s cubic-bezier(0.23, 1, 0.72, 1) infinite;
}

@keyframes cursor-animation {
    0% {
        left: 100px;
        transform: rotate(30deg);
    }
    100% {
        left: 40px;
        transform: rotate(0deg);
    }
}

.menu-indicator .indicator-wrapper .box-wrapper {
    width: 150px;
    overflow: hidden;
    height: 50px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.menu-indicator .indicator-wrapper .box-wrapper:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(247, 246, 243, 0) 0%, #fff 100%);
    z-index: 2;
    border-radius: 10px;
}

.menu-indicator .indicator-wrapper .box-wrapper .box-outer {
    position: relative;
    top: calc(50% - 1em);
    animation: box-animation 1.2s cubic-bezier(0.23, 1, 0.72, 1) infinite;
}

@keyframes box-animation {
    0% {
        left: 0;
    }
    100% {
        left: -5em;
    }
}

.menu-indicator .indicator-wrapper .box-wrapper .box {
    position: absolute;
    width: 3em;
    height: 2em;
    border-radius: 3px;
    border: 1px solid #555;
}

.menu-indicator .indicator-wrapper .box-wrapper .box:nth-of-type(0) {
    left: 0;
}

.menu-indicator .indicator-wrapper .box-wrapper .box:nth-of-type(1) {
    left: 4.25em;
}

.menu-indicator .indicator-wrapper .box-wrapper .box:nth-of-type(2) {
    left: 8.5em;
}

.menu-indicator .indicator-wrapper .box-wrapper .box:nth-of-type(3) {
    left: 12.75em;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

#upload-crop-container .croppie-container .cr-resizer, #upload-crop-container .croppie-container .cr-viewport {
    box-shadow: 0 0 2000px 2000px rgba(255, 255, 255, 1) !important;
    border: 0 !important;
}

.croppie-container .cr-boundary {
    border-radius: 50% !important;
    overflow: hidden;
}

.croppie-container .cr-slider-wrap {
    margin-bottom: 0 !important;
}

.croppie-container {
    height: auto !important;
}

div[id*="datatable-"] div[class*="overflow-y-scroll"] {
    overflow-y: auto;
}

div[id*="datatable-"] tr[wire\:key] div {
    background: white;
    color: black;
}
