body {
    font-family: Arial, sans-serif;
    background-color: #222;
    color: white;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #333;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

h1 {
    text-align: center;
    color: #6b90f9;
    margin-bottom: 20px;
}

.categories-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: #444;
    border-radius: 8px;
    margin-bottom: 20px;
}

.category-item {
    background: #6b90f9;
    color: #F020B0; /* MY WEBCAM STORE: Advanced-search category tag text - logo hot pink */
    padding: 8px 12px;
    border-radius: 5px;
    cursor: grab;
    user-select: none;
    font-size: 14px;
    text-align: center;
}

.category-item:hover {
    background: #6b90f9;
}

.bucket-container {
    background: #444;
    padding: 15px;
    border-radius: 8px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#bucket {
    width: 100%;
    min-height: 150px;
    background: #555;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.bucket-item {
    background: #6b90f9;
    color: #F020B0; /* MY WEBCAM STORE: Selected category tag text in search bucket - logo hot pink */
    padding: 8px 12px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.remove-btn {
    margin-left: 8px;
    color: red;
    font-weight: bold;
    cursor: pointer;
}

#search-btn {
    margin-top: 15px;
    background: #6b90f9;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#search-btn:hover {
    background: #6b90f9;
}

#video-results {
    margin-top: 20px;
    padding: 20px;
    background: #444;
    border-radius: 8px;
}

.thumbnails-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.thumb-container {
    background: #555;
    border: 3px solid #00F0F0; /* MY WEBCAM STORE: Advanced-search result thumbnail frame - logo cyan/blue */
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    color: white;
    text-decoration: none;
}

.thumb-container img {
    width: 100%;
    height: auto;
    display: block;
}

.online-indicator {
    background: green;
    padding: 5px;
    font-size: 14px;
}

.user-details-ticker {
    padding: 10px;
    font-size: 14px;
}
