/* ============ Base64加密解密 - 容器 ============ */
#base64-container {
    margin-bottom: 15px;
}

/* ============ 左右两栏布局 ============ */
#base64-container > .section-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

#base64-container > .section-row > .settings-card,
#base64-container > .section-row > .preview-card {
    flex: 1;
    margin-top: 0;
    margin-bottom: 0;
}

/* ============ Tab 按钮增强 ============ */
#base64-container .tabs {
    margin-bottom: 20px;
}

#base64-container .tab-item {
    font-size: 14px;
    padding: 12px 20px;
}

/* ============ 结果/历史记录列表 ============ */
.id-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.id-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 15px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.id-item:hover {
    background: #f3f4f6;
    border-color: #8b5cf6;
}

.id-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    flex-shrink: 0;
    min-width: 80px;
    text-align: left;
}

.id-text {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    color: #1f2937;
    word-break: break-all;
    flex: 1;
    overflow: hidden;
}

/* ============ 历史记录 ============ */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.history-list .id-item {
    cursor: pointer;
}

/* ============ 响应式 ============ */
@media (max-width: 768px) {
    #base64-container > .section-row {
        flex-direction: column;
        gap: 12px;
    }

    .id-item {
        flex-wrap: wrap;
    }

    .id-label {
        min-width: 60px;
    }
}
