@import 'tailwindcss';

@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';

@theme {
    --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
        'Segoe UI Symbol', 'Noto Color Emoji';
}

body{
    background: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
}

/* ===================================
   Laravel Pagination
=================================== */

.pagination-wrapper {
    margin-top: 30px;
}


/* Main pagination container */
.hidden.sm\:flex-1.sm\:flex {
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


/* "Showing 11 to 20 of 50 results" */
.hidden.sm\:flex-1.sm\:flex p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}


/* Pagination buttons container */
.hidden.sm\:flex-1.sm\:flex > div:last-child > span {
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: none;
}


/* All page buttons */
.hidden.sm\:flex-1.sm\:flex a,
.hidden.sm\:flex-1.sm\:flex span[aria-current="page"] > span {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 40px;
    height: 40px;

    padding: 0 12px;

    border: 1px solid #e5e7eb;
    border-radius: 8px;

    background: #ffffff;
    color: #374151;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;

    transition: all 0.2s ease;
}


/* Hover */
.hidden.sm\:flex-1.sm\:flex a:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #111827;

    transform: translateY(-1px);
}


/* Current page */
.hidden.sm\:flex-1.sm\:flex span[aria-current="page"] > span {
    background: #111827;
    border-color: #111827;
    color: #ffffff;

    cursor: default;
}


/* Previous / next arrows */
.hidden.sm\:flex-1.sm\:flex a[rel="prev"],
.hidden.sm\:flex-1.sm\:flex a[rel="next"] {
    padding: 0;
    width: 40px;
}


/* SVG arrows */
.hidden.sm\:flex-1.sm\:flex svg {
    width: 18px;
    height: 18px;
}


/* Remove Laravel negative margin */
.hidden.sm\:flex-1.sm\:flex a,
.hidden.sm\:flex-1.sm\:flex span[aria-current="page"] > span {
    margin-left: 0 !important;
}


/* Mobile */
@media (max-width: 640px) {

    .hidden.sm\:flex-1.sm\:flex {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
    }

    .hidden.sm\:flex-1.sm\:flex > div:last-child {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .hidden.sm\:flex-1.sm\:flex > div:last-child > span {
        width: max-content;
    }

}