.delete-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    background-color: rgba(255, 25, 0, 0.85);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 70px;
    height: auto;
    margin: 0 auto;
}

.delete-btn:hover {
    background-color: rgba(224, 21, 0, 0.9);
    color: #fff;
}

/* Center delete button in AG Grid cell */
.ag-cell[col-id="action"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.numeric-cell {
    text-align: right !important;
    font-family: monospace !important;
    padding-right: 10px !important;
}

.numeric-cell.invalid-value {
    background-color: #ffebee !important;
}

/* AG Grid specific overrides */
.ag-theme-alpine {
    --ag-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --ag-font-size: 14px;
    --ag-cell-horizontal-padding: 8px;
}

.ag-header-cell-label {
    font-weight: 600;
} 

/* Shared button styles */
.btn {
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.btn--primary {
    background-color: rgba(35, 210, 25, 0.85);
    color: #fff;
}

.btn--primary:hover {
    background-color: rgba(30, 177, 21, 0.9);
    color: #fff;
}

.btn--success {
    background-color: rgba(35, 210, 25, 0.85);
    color: #fff;
}

.btn--success:hover {
    background-color: rgba(30, 177, 21, 0.9);
    color: #fff;
}

.btn--danger {
    background-color: rgba(255, 25, 0, 0.85);
    color: #fff;
}

.btn--danger:hover {
    background-color: rgba(224, 21, 0, 0.9);
    color: #fff;
}

.btn--info {
    background-color: rgba(101, 210, 25, 0.85);
    color: #fff;
}

.btn--info:hover {
    background-color: rgba(86, 184, 21, 0.9);
    color: #fff;
}

.btn--running {
    cursor: not-allowed;
    opacity: 0.65;
    position: relative;
}

.randomized-generator-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px dashed #ced4da;
    border-radius: 8px;
    padding: 6px 10px;
    background-color: #fbfbfb;
    margin-left: 12px;
}

.randomized-generator-inline__label {
    font-weight: 600;
    font-size: 13px;
}

.randomized-generator-inline__input {
    width: 90px;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #ced4da;
    font-size: 14px;
}

/* Toolbar layout (left group + right group) */
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.toolbar__group {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Custom checkbox styling */
.custom-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #0d6efd;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    background-color: #fff;
}

.custom-checkbox input[type="checkbox"]:hover {
    background-color: #f0f8ff;
    border-color: #0a58ca;
}

.custom-checkbox input[type="checkbox"]:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.custom-checkbox input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.custom-checkbox label {
    cursor: pointer;
    user-select: none;
}