
body,
html {
    margin: 0;
    padding: 0;
}

html {
    height: -webkit-fill-available;
    /* We have to fix html height */
}

body {
    display: flex;
        flex-direction: column;
    background-image: var(--background-image);  /* Adjust the path to match your image's location */
    background-size: cover;
    background-repeat: no-repeat;
    min-height: -webkit-fill-available;
    min-height: 100vh;
    background-attachment: fixed;
}

.pointer-events-none{
    display: none;
}
.btn{
    min-height: 3em;
    min-width: 3em;
}

[x-cloak] {
    display: none !important;
}

@media only screen and (min-width: 768px) {

.arrow-right{
    position: relative;
    margin-right: 1.25rem;
}

.arrow-right:after {
    content: '';
    z-index: 20;
    position: absolute;
    right: -1.1rem;
    margin: 0 auto;
    top: 0rem;
    width: 0;
    height: 0;
    border-bottom: solid 1.25rem transparent;
    border-left: solid 1.25rem rgb(243 244 246 / var(--tw-bg-opacity));;
    border-top: solid 1.25rem transparent;

}

.arrow-left{
    position: relative;
    padding-left: 2rem;
    margin-left: -1rem;

}


.arrow-left::before {

    content: '';
    position: absolute;
    left: 0rem;
    margin: 0 auto;
    top: 0rem;
    width: 0;
    height: 0;
    border-bottom: solid 1.25rem transparent;
    border-left: solid 1.25rem white;
    border-top: solid 1.25rem transparent;
}
}


table .even{
    background: #eee;
}

.htmx-indicator {
    display: none;

}

 .htmx-request .htmx-indicator {
    display:unset;
    animation: spin 500ms linear infinite;
 }

 .htmx-request.htmx-indicator {
    display: unset;
        animation: spin 500ms linear infinite;
 }


@keyframes spin {

    100% {
        transform: rotate(360deg);
    }
}

select:focus {
    border: none;
    outline: none;
    box-shadow: 0 0 2px 2px var(--primary);
}

input[type="text"]:focus {
    border-color: #eee;
    box-shadow: 0 0 5px var(--primary);
}

input[type="number"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 5px var(--primary);
}

.link-container {
    display: inline-block;
    position: relative;
    padding: 4px;
}

.link-text {
    position: absolute;
    top: -90%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    opacity: 0;
    background-color: #000;
    color: #fff;
    padding: 4px;
    border-radius: 4px;
    font-size: 12px;
    transition: opacity 0.3s ease;
}

.link-container:hover .link-text {
    opacity: 1;
}
