/* src/components/Sidebar.css */
.sidebar {
    width: 250px;
    height: 100vh;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e0e0e0;
    overflow-y: auto;
}

.sidebar-logo {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.logo-placeholder {
    font-size: 24px;
    color: #1a73e8;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.new-research-button {
    margin: 16px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.new-research-button:hover {
    background-color: #1765cc;
}

.new-research-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.history-container {
    padding: 8px 16px;
    flex: 1;
}

.history-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    padding: 0 4px;
}

.history-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.history-item {
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: background-color 0.2s ease;
}

.history-item:hover {
    background-color: #e3f2fd;
}

.history-item-query {
    font-size: 14px;
    color: #333;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-item-icon {
    color: #999;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.history-item:hover .history-item-icon {
    opacity: 1;
    color: #1a73e8;
}

.empty-history-message {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}