﻿.b-table {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

    .b-table thead {
        background-color: #f9fafb;
    }

    .b-table th {
        padding: 0.75rem 1.5rem;
        text-align: left;
        font-size: 0.75rem;
        font-weight: 600;
        color: #374151;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .b-table tbody tr {
        transition: background-color 0.15s ease-in-out;
    }

        .b-table tbody tr:nth-child(even) {
            background-color: #f9fafb;
        }

        .b-table tbody tr:hover {
            background-color: #f3f4f6;
        }

    .b-table td {
        padding: 1rem 1.5rem;
        font-size: 0.875rem;
        color: #1f2937;
        border-bottom: 1px solid #e5e7eb;
        vertical-align: middle;
    }

    .b-table tbody tr:last-child td {
        border-bottom: none;
    }

form:has(.b-table) + div {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
}

    form:has(.b-table) + div ul {
        display: flex;
        align-items: center;
        list-style: none;
        padding: 0;
        margin: 0;
        gap: 0.25rem;
    }

    form:has(.b-table) + div li {
        display: flex;
    }

        form:has(.b-table) + div li[aria-disabled="false"] a {
            display: inline-block;
            padding: 0.5rem 1rem;
            border: 1px solid #e5e7eb;
            border-radius: 0.375rem;
            background-color: #ffffff;
            color: #374151;
            text-decoration: none;
            transition: all 0.15s ease-in-out;
            cursor: pointer;
            font-weight: 500;
        }

            form:has(.b-table) + div li[aria-disabled="false"] a:hover {
                background-color: #f9fafb;
                border-color: #d1d5db;
            }

        form:has(.b-table) + div li[aria-disabled="true"] a {
            display: inline-block;
            padding: 0.5rem 1rem;
            border: 1px solid #e5e7eb;
            border-radius: 0.375rem;
            background-color: #f9fafb;
            color: #9ca3af;
            text-decoration: none;
            cursor: not-allowed;
        }

    form:has(.b-table) + div select {
        padding: 0.5rem 2.5rem 0.5rem 1rem;
        border: 1px solid #e5e7eb;
        border-radius: 0.375rem;
        background-color: #ffffff;
        font-size: 0.875rem;
        color: #374151;
        font-weight: 500;
        cursor: pointer;
        -webkit-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
        background-position: right 0.5rem center;
        background-repeat: no-repeat;
        background-size: 1.5em 1.5em;
        transition: all 0.15s ease-in-out;
    }

        form:has(.b-table) + div select:hover {
            border-color: #d1d5db;
        }

    form:has(.b-table) + div > div:last-child {
        display: flex;
        align-items: center;
        gap: 1rem;
        color: #6b7280;
        margin: 0.5rem 0;
    }

/* Styles for text inputs in the second table row */
.b-table thead tr:nth-child(2) th input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    font-size: 0.875rem;
    color: #1f2937;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

    /* Focus state for the inputs */
    .b-table thead tr:nth-child(2) th input[type="text"]:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4);
    }

/* Optional: Adjust cell padding for the row containing inputs */
.b-table thead tr:nth-child(2) th {
    padding: 0.5rem 1rem;
}
.b-dropdown-menu ul{
    display:block !important;
}