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

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/

@keyframes bounce {
    0%, 100% {
        transform: translateY(-2%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

nav > ul > li > a.active {
    color: white;
}
nav > ul > li > a.active svg{
    color: #6366F1
}
a{
    transition: all .3s ease;
}
nav > ul > li > a:hover{
    transition: all .3s ease;
}
nav > ul > li > a:hover svg{
    transition: all .3s ease;
    color: #6366F1;
}

.drawer-btn:hover svg{
    transition: all .3s ease;
    color: #fff;
}
.menu{
    width: 25%;
    width: 280px;
}
.main-container{
    width: 100%;
}
.main-container > .container{
    width: 100%;
}


/* Remove the left border of the first cell in each row */

/* Remove the right border of the last cell in each row */

input[type=submit]:not(#submit-offline), input[type=checkbox]:checked {
    background-color: #6366F1;
}

input[type=text]{
    border-radius: 12px;
}
.image-input{
    height: 60px;
}
.purple-custom{
    color: #6366F1;
}
.br-purple-custom {
    border: 1px solid #6366F1;
}
.bg-cyan{
    background-color: #06AED4;
}
@media (min-width: 1280px) {
    .main-container{
        width: calc(100% - 280px);
    }
    .justify-between.justify-end-desktop{
        justify-content: flex-end;
    }
    .sticky-btn{
        left: 280px;
        width: calc(100% - 280px);
    }
}
@media (max-width: 1280px) {
    .main-container > .container{
        max-width: 100%;
    }
}
.pagy {
    @apply flex space-x-1 font-semibold text-sm text-gray-500;
    a:not(.gap) {
        @apply block rounded-lg px-3 py-1 bg-gray-200;
        &:hover {
            @apply bg-gray-300;
        }
        &:not([href]) { /* disabled links */
            @apply text-gray-300 bg-gray-100 cursor-default;
        }
        &.current {
            @apply text-white bg-gray-400;
        }
    }
    label {
        @apply inline-block whitespace-nowrap bg-gray-200 rounded-lg px-3 py-0.5;
        input {
            @apply bg-gray-100 border-none rounded-md;
        }
    }
}
.pagy {
    display: flex;
    font-family: sans-serif;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: #6b7280;
}
.pagy > :not([hidden]) ~ :not([hidden]) {
    --space-reverse: 0;
    margin-right: calc(0.25rem * var(--space-reverse));
    margin-left: calc(0.25rem * calc(1 - var(--space-reverse)));
}
.pagy a:not(.gap) {
    display: block;
    text-decoration: none;
    border-radius: 0.5rem;
    background-color: #e5e7eb;
    padding: 0.25rem 0.75rem;
    color: inherit;
}
.pagy a:not(.gap):hover {
    background-color: #d1d5db;
}
.pagy a:not(.gap):not([href]) { /* disabled links */
    cursor: default;
    background-color: #f3f4f6;
    color: #d1d5db;
}
.pagy a:not(.gap).current {
    background-color: #9ca3af;
    color: white;
}
.pagy label {
    white-space: nowrap;
    display: inline-block;
    border-radius: 0.5rem;
    background-color: #e5e7eb;
    padding: 0.125rem 0.75rem;
}
.pagy label input {
    line-height: 1.5rem;
    border-radius: 0.375rem;
    border-style: none;
    background-color: #f3f4f6;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
