body {
    font-family: "Hanken Grotesk", serif;
}

/** Disable spinners on number inputs */
/* 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;
}

/* Card styles */
.column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 20px;
}

.fixed-width-select select {
    width: 100px;
}

/* Popup styles */
:root {
    --clr-white: #fff;
    --clr-light-gray: #333;
    --clr-green: #33d692;
}

.popup {
    width: 240px;
    background-color: var(--clr-white);
    border-radius: 8px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.05);
    text-align: center;
    padding: 0 20px 20px;
    color: var(--clr-light-gray);
    visibility: hidden;
    transition: 0.5s;
}

.popup button {
    width: 100%;
    margin-top: 30px;
    padding: 5px 0;
    background: var(--clr-green);
    color: var(--clr-white);
    border: 0;
    outline: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 5px 3px rgba(0, 0, 0, 0.2);
}

.popup button.is-danger {
    background: var(--bulma-info);
    margin-top: 8px;
}

.popup-open {
    top: 50%;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Sticky header styles */
.table-container {
    max-height: 80vh;
    overflow-y: auto;
}

.table thead th {
    position: sticky;
    top: 0;
    background: #111111; /* Or your preferred background color */
    z-index: 10;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1);
}

/* Ensure the table takes full width */
.table {
    width: 100%;
    margin-bottom: 0;
}
