.education-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 24px;
    padding: 16px;
    font-family: 'Courier New', monospace;
    color: #fff;
}

/* The shelf */
.bookshelf {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 16px 16px 0 16px;
    border-bottom: 6px solid #5a3e1b;
    background: linear-gradient(to bottom, #1a1a1a, #111);
}

/* Individual books */
.book {
    width: 60px;
    height: 140px;
    border-radius: 3px 6px 6px 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 4px solid rgba(0,0,0,0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.book:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 255, 65, 0.2);
}

.book.selected {
    transform: translateY(-12px);
    box-shadow: 0 8px 24px rgba(0, 255, 65, 0.5);
    outline: 2px solid #00ff41;
}

.book-spine {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 11px;
    font-weight: bold;
    color: rgba(255,255,255,0.85);
    padding: 8px 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
    pointer-events: none;
}

/* Detail panel */
.book-detail {
    flex: 1;
    background: #111;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 20px;
    overflow-y: auto;
}

.book-detail h2 {
    color: #00ff41;
    margin: 0 0 12px 0;
    font-size: 18px;
}

.book-detail p {
    color: #ccc;
    line-height: 1.6;
    margin: 8px 0;
}

.book-detail ul {
    color: #ccc;
    line-height: 1.8;
    padding-left: 20px;
}

.book-placeholder {
    color: #555;
    font-style: italic;
    text-align: center;
    margin-top: 40px;
}