@vite (['resources/css/app.css']);
.alpine-init-hidden {
    display: none !important;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

.wrapper {
    display: flex;
}

.sidebar {
    &.full-nav {
        min-width: 300px;
    }

    &.collapse-nav {
        min-width: 107px;
    }

    height: 100vh;
    padding: 20px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 20px;
}

.sidebar ul li {
    padding: 12px 16px;
    border-radius: 10px;

    a,
    button {
        color: var(--silver-color);
        text-decoration: none;
    }

    &.active {
        background: var(--primary-color);

        a,
        button {
            color: #fff;
        }

        li {
            img {
                filter: invert(0%) sepia(164%) saturate(0%) hue-rotate(0deg)
                    brightness(140%) contrast(100%);
            }

            &.submenu-active {
                background-color: #fff;

                a {
                    color: var(--primary-color);

                    img {
                        filter: inherit;
                    }
                }
            }
        }
    }
}

.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.header,
.footer {
    background: #f4f4f4;
    /* padding: 15px; */
    text-align: center;
}

/* dashboard */
.active-table {
    border-radius: 10px;
    overflow: hidden;

    thead {
        th {
            background: var(--secondary-color);
            color: #fff;
            padding: 15px;
        }
    }
}

.active-admin .active-table {
    thead {
        th {
            background: var(--admin-secondary-color);
        }
    }
}

.dt-input {
    min-width: 75px;
}

.dataTable {
    th,
    td {
        text-align: left !important;
    }
}

.dt-layout-row {
    .dt-layout-cell {
        .dt-paging {
            button.dt-paging-button.current {
                background: var(--secondary-color);
                color: #fff !important;
                border-radius: 8px;
            }
        }
    }
}

.active-admin .dt-layout-row {
    .dt-layout-cell {
        .dt-paging {
            button.dt-paging-button.current {
                background: var(--admin-secondary-color);
            }
            button.dt-paging-button.current:hover {
                background: #fff;
            }
        }
    }
}

#toast-container > div {
    opacity: 1 !important;
}

#imagePreview,
#videoPreview {
    height: 200px !important;
    width: 200px !important;
}

.image-circle {
    border-radius: 50%;
    height: 50px;
    width: 50px;
    object-fit: cover;
}
.swiper-pagination-bullet {
    background-color: #ae8849 !important;
}
@media screen and (max-width: 1440px) {
    .header,
    .footer {
        background: #f4f4f4;
        padding: 15px;
        text-align: center;
    }
}
@media screen and (max-width: 991px) {
    .wrapper {
        display: block;

        .sidebar {
            height: 80px;

            nav {
                position: fixed;
                z-index: 1;
                background-color: var(--secondary-color);
                left: 0;
                width: 80vw;
                height: 100vh;
                transform: translateX(-100%);
                transition: all 0.5s ease-in-out;

                &.mobile-menu-show {
                    transform: translateX(0);
                }
            }
        }
    }
    .active-admin .wrapper {
        .sidebar {
            nav {
                background-color: var(--admin-secondary-color);
            }
        }
    }
    .dt-layout-row {
        /* display: flex !important; */
        .dt-length,
        .dt-search {
            text-align: left;
        }
    }
    .responsive-table {
        width: 100%;
        overflow-x: auto;
    }
}
@media screen and (min-width: 1024px) {
    .playlist-video.bg-\[\#F6F6F6\].w-full.sm\:w-2\/5.rounded-md.h-full {
        width: 60% !important;
    }
}
