/* Worldbook App Styles */
.wb-header {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.wb-title {
    flex: 1;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.wb-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #f9f9f9;
}

.wb-book-item {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    cursor: pointer;
}

.wb-book-icon {
    width: 40px;
    height: 40px;
    background: #8e44ad;
    color: #fff;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 20px;
}

.wb-book-info {
    flex: 1;
}

.wb-book-name {
    font-weight: bold;
    font-size: 16px;
}

.wb-book-count {
    font-size: 12px;
    color: #999;
}

.wb-entry-item {
    background: #fff;
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.wb-entry-keys {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}

.wb-entry-preview {
    font-size: 12px;
    color: #7f8c8d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wb-fab {
    position: absolute;
    bottom: 30px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #8e44ad;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(142, 68, 173, 0.4);
    cursor: pointer;
    z-index: 10;
}

.wb-tabs {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.wb-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    color: #999;
    cursor: pointer;
}

.wb-tab.active {
    color: #8e44ad;
    border-bottom: 2px solid #8e44ad;
    font-weight: bold;
}

.wb-bind-item {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.wb-bind-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.wb-bind-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-size: cover;
    margin-right: 10px;
}

.wb-bind-books {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.wb-chip {
    padding: 5px 10px;
    background: #eee;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
}

.wb-chip.selected {
    background: #8e44ad;
    color: #fff;
}
