/* Overlay style */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000; /* Ensure it's above other content */
}

/* Spinner style */
#custom_spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1001; /* Ensure it's above the overlay */
}

/* Slim select. Set max height for drop-down in which you choose. */
.ss-list {
    max-height: 200px;
    overflow-y: auto;
}

.synonym-pill {
            display: inline-flex;
            align-items: center;
            padding: 0.25rem 0.75rem;
            font-size: 0.875rem;
            border-radius: 999px;
            background-color: #007bff;
            color: white;
            margin: 2px;
            cursor: default;
        }
        .remove-synonym {
            margin-left: 8px;
            cursor: pointer;
            color: #f8f9fa;
        }
        .synonym-set {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }
        .synonym-list {
            flex-grow: 1;
            display: flex;
            flex-wrap: wrap;
            margin-right: 10px;
        }
        .fixed-width-input {
            width: 200px; /* Constant width for the input */
            margin-right: 10px;
        }

.primary-term {
    background-color: #cccccc;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 5px;
    margin-right: 10px;
}

.recipe-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid #ddd; /* Add border around each item */
    border-radius: 5px; /* Optional: Rounded corners */
    margin-bottom: 10px; /* Space between items */
    transition: background-color 0.3s; /* Smooth background transition on hover */
}

.recipe-list-item:hover {
    background-color: #f9f9f9;
}

.image-container img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
}

.recipe-name {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.creator-name {
    font-size: 14px;
    color: #000;
}

.book-name {
    font-size: 14px;
    color: #000;
}

.recipe-status {
    margin-top: 5px;
}

.actions-column .btn {
    font-size: 14px;
}

/* File upload drop area */
.drop-area {
    cursor: pointer;
}
.drop-area:before {
    content: "Drag and drop or click here to upload image";
}

.drop-area.drag-over {
    background-color: #f0f0f0;
}