@import '../../vendor/filament/filament/resources/css/theme.css';
@import "driver.js/dist/driver.css";

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

.hidden {
    display: none !important;
}

#circle-cursor {
    pointer-events: none;
    cursor: crosshair;
    display: none;
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10000;
    transition: width .3s, height .3s, left .1s, top .1s;
    -webkit-box-shadow: 0px 0px 5px 0px rgb(var(--gray-950));
    -moz-box-shadow: 0px 0px 5px 0px rgb(var(--gray-950));
    box-shadow: 0px 0px 5px 0px rgb(var(--gray-950));
}

.driver-popover {
    box-sizing: border-box;
    margin: 0;
    padding: 15px;
    border-radius: 5px;
    min-width: 300px !important;
    max-width: 750px !important;
    box-shadow: 0 1px 10px #0006;
    z-index: 1000000000;
    position: fixed;
    top: 0;
    right: 0;
}

.driver-help-button {
    width: 15px;
    height: 15px;
    position: absolute;
    cursor: pointer;
}

.top-left {
    top: -14px;
    left: -16px;
}

.top-right {
    top: -14px;
    right: -16px;
}

.bottom-right {
    bottom: -14px;
    right: -16px;
}

.bottom-left {
    bottom: -14px;
    left: -16px;
}

@layer utilities {

    .dark .driver-popover-arrow {
        border: 5px solid rgb(var(--gray-900)) !important;
        border-right-color: #0000 !important;
        border-bottom-color: #0000 !important;
        border-top-color: #0000 !important;
    }

    .dark .driver-popover {
        box-sizing: border-box;
        margin: 0;
        padding: 15px;
        border-radius: 5px;
        box-shadow: 0 1px 10px #0006;
        z-index: 1000000000;
        position: fixed;
        top: 0;
        right: 0;
    }

}
