    .button { background:#007bff; color:white; padding:5px 10px; text-decoration:none; border-radius:3px; }
    .button-small { font-size: 0.8em; }
    .button-danger { background:#dc3545; }

.search-box {
    margin-bottom: 20px;
}
.search-box input {
    padding: 5px;
    width: 300px;
}
.search-box button {
    padding: 5px 10px;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #ddd;
    background: white;
    z-index: 99;
    max-height: 200px;
    overflow-y: auto;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
}

.autocomplete-items div:hover {
    background-color: #f1f1f1;
}
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}
.loading-overlay img {
    width: 30px;
    height: 30px;
}
.preview-cell {
    max-height: 120px;
    overflow: hidden;
}
.preview-thumb {
    object-fit: cover;
    height: auto;
    display: block;
}
.preview-audio-button {
    z-index: 2;
}
/* FILE: webroot/css/components/lexical-preview.css */

/* Default preview cell for image + sound */
.preview-td {
    min-width: 47px;
    max-width: 60px;
    padding: 0;
}

.thumbsnd {
    position: relative;
    min-width: 42px;
    max-width: 55px;
    padding: 0;
    flex-grow: 0;
}

.thumbsnd img {
    max-height: 55px;
    max-width: 65px;
    min-width: 42px;
    width: 42px;
}

.thumbsnd .btn {
    position: absolute;
    top: 9px;
    right: -13px;
    transform: translate(-50%, -50%);
    background-color: #9a9a9a;
    color: white;
    font-size: 9px;
    padding: 5px 6px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    text-align: center;
}

.thumbsnd .btn:hover {
    background-color: black;
}

/* Responsive changes for XL+ screens */
@media (min-width: 1200px) {
    .preview-td {
        min-width: 95px;
        width: 100px;
    }

    .thumbsnd {
        min-width: 85px;
        width: 85px;
        padding: 5px;
    }

    .thumbsnd img {
        max-height: 80px;
        max-width: 80px;
        min-width: 55px;
    }
}
