#history-panel {
    right: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

#history-panel.collapsed {
    transform: translateX(100%);
}

#history-panel h2 {
    text-align: right;
    color: #a0a0a0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#clearHistory {
    background: rgba(255, 59, 48, 0.2);
    color: #ff3b30;
    border: 1px solid rgba(255, 59, 48, 0.3);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s;
    width: 100%;
}

#clearHistory:hover {
    background: rgba(255, 59, 48, 0.3);
}

#history {
    font-size: 0.85rem;
}

#history ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#history li {
    margin-bottom: 0.5rem;
    word-break: break-all;
}

#history a {
    color: #4a9eff;
    text-decoration: none;
}

#history a:hover {
    text-decoration: underline;
}
